Matthew D. Scholefield
a37958f3f2
Add fixes identified by test cases
2019-11-01 01:16:21 -05:00
Matthew D. Scholefield
acec0d2370
Increment runner version to 0.3.1
2019-05-15 02:33:26 -05:00
Matthew D. Scholefield
7ca5673ddc
Add len method to ReadWriteStream
2019-05-15 02:32:53 -05:00
Matthew D. Scholefield
507d50e4c5
Fix bug with read write stream
2019-05-15 02:32:27 -05:00
Matthew D. Scholefield
02e4e97b13
Increment precise-runner to 0.3.0
2019-05-13 11:49:01 -05:00
Matthew D. Scholefield
e006fdc1c3
Add chop ability to ReadWriteStream
...
Also adds tests for read write stream
2019-05-13 11:47:38 -05:00
Matthew D. Scholefield
d2d9c34931
Make thread in precise runner a daemon
...
Shouldn't be responsible for hanging when the program exits
2019-05-01 01:04:54 -05:00
Matthew D. Scholefield
e17cebdd17
Update README for the new binary location
2019-04-16 11:57:26 -05:00
Matthew D. Scholefield
d3920f36dd
Add threshold parameters and precise-calc-threshold script
...
This is used to produce a more linear output
2019-04-08 15:08:16 -05:00
Matthew D. Scholefield
61d52929e5
Make precise-eval use new stats object
...
Fixes import error
2019-03-21 17:45:09 -05:00
Matthew D. Scholefield
00ca1fc683
Add threshold command line option to scripts
...
Also makes the term threshold consistent in code
2019-03-20 23:36:08 -05:00
Matthew D. Scholefield
4cd1927efe
Update copyright header to 2019
2019-03-20 10:53:24 -05:00
Matthew Scholefield
904bd7168e
Add exception_on_overflow=False to pyaudio.Stream.read
...
This resolves some issues with reading streams on certain platforms (#59 )
This also removes the read_divisor in favor of a wrapper for pyaudio which slightly simplifies the code
2019-01-26 16:54:20 -06:00
Matthew Scholefield
8696ef80ba
Extract TriggerDetector class to simplify PreciseRunner
...
This also makes it easier to perform similar functionality in an upcoming simulationn script
2018-07-12 13:38:39 -05:00
Wu Zhangjin
3add0c320e
activate: add a running directory independent noitfier
...
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
2018-06-20 16:49:50 -05:00
Matthew Scholefield
d0e3207639
Increment runner version to 0.2.1
2018-06-18 16:17:00 -05:00
Wu Zhangjin
b14c4b34b8
activate: use a right audio player for mac osx
...
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
2018-06-13 14:33:58 -05:00
Matthew D. Scholefield
b74e80568b
Fix bug with reading from non-pyaudio stream
...
pyaudio's stream.read is in samples whereas most other streams read in bytes
2018-04-19 13:50:50 -05:00
Matthew D. Scholefield
09c728fb33
Fix locking on PreciseRunner.stop()
...
This fix only applies to when stream is a ReadWriteStream
2018-04-18 22:24:54 -05:00
Matthew D. Scholefield
c1ae0a7bd2
Fix long cooldown threshold
...
Now, it is much shorter by default, gets reset every subsequent activation, and varies correctly with chunk size
2018-04-18 00:03:13 -05:00
Matthew D. Scholefield
607db0437f
Remove extra files
...
These files were accidentally committed
2018-04-16 16:27:06 -05:00
Matthew D. Scholefield
c94a0a17d5
Increment runner version to 0.2.0
2018-04-13 01:09:22 -05:00
Matthew D. Scholefield
159e9866b4
Add pause and play to runner class
...
This allows keeping the process alive without feeding it new audio data
2018-04-13 01:04:20 -05:00
Matthew D. Scholefield
69e8af5bb5
Add __version__ to runner
2018-03-29 10:25:07 -05:00
Matthew D. Scholefield
fbdba9bfdd
Update runner README and improve Python 2 support
2018-03-29 10:25:07 -05:00
Matthew D. Scholefield
1449aae3a8
Fix line length
2018-03-29 10:25:07 -05:00
Matthew D. Scholefield
0b80a25ea7
Fix ordering of stop statements to prevent exception
2018-03-29 10:25:07 -05:00
Matthew D. Scholefield
dcad96fc4e
Fix invalid chunk size in PreciseRunner and fix importing from db
2018-03-21 16:34:53 -05:00
Matthew D. Scholefield
32a001511e
Refactor test statistics, change buffer_size to mean bytes, and
...
add pocketsphinx calculation to precise-eval
2018-03-07 13:37:03 -06:00
Matthew D. Scholefield
09c3ad927b
Change license to Apache 2.0
2018-02-28 20:49:34 -06:00
Matthew D. Scholefield
b254fe1358
Rename precise-stream to precise-engine
...
It makes way more sense
2018-02-26 21:19:30 -06:00
Matthew D. Scholefield
cc32959e29
Remove system path modifications
...
To run a script during development, instead ./setup.sh followed by precise-<script_name> should be used
This ensures all the proper paths are already setup (such as for PreciseRunner)
2018-02-22 01:10:41 -06:00
Matthew D. Scholefield
484a90f9bc
Refacetor and source code standardization
2018-02-21 13:15:51 -06:00
Matthew D. Scholefield
d2a5469bf3
Improvements
2018-02-15 03:03:52 -06:00
Matthew D. Scholefield
5a1fe8c078
Add runner wrapper for simple use in Python programs
2017-11-27 20:28:58 -06:00