Commit graph

20 commits

Author SHA1 Message Date
dj2ls
8159e9b1ab moved codec2 to tnc folder
preparation for migration to codec2 module for the entire TNC
2021-12-19 15:14:52 +01:00
drowe67
2bf5c44cbb adding resampler to MM tests. still occasional fails on virtual card Pyaudio tests 2021-12-16 21:40:30 +10:30
drowe67
8fcf882767 Shouldn't pass np.int16 to pyaudio stream.write(), must convert to Python bytes. Working OK now 2021-12-16 17:42:29 +10:30
drowe67
64b7582913 resampler working with pipe tests, but not virtual sound card 2021-12-16 13:54:59 +10:30
drowe67
b95562740a automated test for FreeDV resampler 2021-12-16 07:50:24 +10:30
drowe67
ae80958b65 longer timeout on test_virtual2 2021-12-15 12:19:06 +10:30
drowe67
b619b341d1 wait until output buffer empties before finishing 2021-12-15 11:33:07 +10:30
drowe67
8c9f1c5761 fine grained tests at 48000 Hz, currently won't work as resampler commented out of test_tx.py and test_rx.py 2021-12-15 11:12:31 +10:30
drowe67
8a93ec4896 display tx auto sound device selection 2021-12-15 09:26:55 +10:30
dj2ls
b27563fe77 redesign of buffer management 2021-12-14 23:07:01 +01:00
drowe67
e7fbca9405 enable use of default sound card devnum 0 2021-12-14 13:42:47 +10:30
drowe67
52841da285 added cmd line arument to list audiodev by number, test_tx.py and test_rx.py working OK with virtual audio card, updated README.md with latest examples 2021-12-14 12:35:19 +10:30
dj2ls
9565005f71 meaningful mode names
easier mode selection by string name like datac0 instead of 14
2021-12-13 19:00:38 +01:00
drowe67
1a5d9e632b added constants to codec2.py, interpreting modes as meaningful strings 2021-12-13 08:09:03 +10:30
dj2ls
d5d6a80b34 outsourced ctypes header 2021-12-12 21:52:03 +01:00
dj2ls
f70be11d95 added more tests 2021-12-12 13:54:23 +01:00
dj2ls
305bb3b160 changed cli output and usage of ctypes 2021-12-12 12:09:13 +01:00
drowe67
fde0c1432c testing multiple frames per burst 2021-12-12 09:45:23 +10:30
drowe67
d132357d9c 001 test_tx.py working, tested against freedv_data_raw_rx 2021-12-12 09:20:53 +10:30
drowe67
06d88a5ca1 skeleton cmake test framework, not doing any significant etsting yet 2021-12-12 08:09:31 +10:30