Commit graph

4978 commits

Author SHA1 Message Date
drowe67
37c57b83f6 test_virtual2.sh pasing most of the time 2021-12-16 17:53:11 +10:30
drowe67
fa4e22c64b catching exceptions on stream.read() to help us spot buffer size issues, also saving a file of samples received to help debugging 2021-12-16 17:52:42 +10:30
drowe67
27a43f1cb0 fine grained virtual audio tests working PyAudio at 48 kHz 2021-12-16 17:44:07 +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
a04cfa62f3 refactored resampler to handle arb length arrays 2021-12-16 12:31:35 +10:30
drowe67
5b9ca6d463 resampler on test_rx.py is doing something sensible 2021-12-16 12:10:03 +10:30
drowe67
84f5cd315e resampler class 2021-12-16 11:56:39 +10:30
drowe67
b95562740a automated test for FreeDV resampler 2021-12-16 07:50:24 +10:30
drowe67
653713918d C array offset working, upsampled sine wave sounds OK :-) 2021-12-16 07:22:02 +10:30
drowe67
dfcc136583 Work in progress t48_8_short.py 2021-12-16 07:07:30 +10:30
drowe67
1495661362 Merge branch 'dr-test' of github.com:DJ2LS/FreeDATA into dr-test 2021-12-16 06:17:23 +10:30
drowe67
3f2bedfd4f building up resampler support and audio_buffer comments 2021-12-16 06:15:33 +10:30
David Rowe
09ae2b78fe extend timeout for slightly slower machine 2021-12-15 17:24:10 +10:30
drowe67
cbd89324f3 multimode virtual test working better 2021-12-15 16:43:47 +10:30
drowe67
53a88bfaae tell us when we Tx a frame 2021-12-15 16:43:30 +10:30
drowe67
e418f0be7a larger buffers, and an different approach to logging 2021-12-15 16:42:38 +10:30
drowe67
2e66a67884 test_multimode_rx.py using audio_buffer calls and working well :) 2021-12-15 15:05:30 +10:30
drowe67
da478d3b83 create audiobuffer class 2021-12-15 14:38:29 +10:30
drowe67
3e1dc4ee1c buffering system based on design in codec2/demo/freedv_datac0c1_rx.c 2021-12-15 14:08:53 +10:30
drowe67
c7159fdce2 tweak comments 2021-12-15 14:07:26 +10:30
drowe67
f1992d16f6 test_multimode_tx.py sounds good through sound card, and test_rx.py can receiver each mode OK 2021-12-15 12:19:43 +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
2642ae414b added finer grained tests - cirtual sound card using aplay/arecord which works well 2021-12-15 07:21:54 +10:30
drowe67
55ae1c31ef counting errors based on rx_status 2021-12-15 07:00:20 +10:30
drowe67
e93dc4d197 rx_status table to return flags in text format 2021-12-15 06:48:18 +10:30
drowe67
eeb221a31b simpler script 2021-12-15 06:47:36 +10:30
drowe67
dee3f87ceb sound card input coded but not working in test_multimode_rx.py 2021-12-14 14:24:45 +10:30
drowe67
290d2dd8b7 test_multimode_tx.py sounds OK through a sound card 2021-12-14 13:46:20 +10:30
drowe67
e7fbca9405 enable use of default sound card devnum 0 2021-12-14 13:42:47 +10:30
drowe67
b8a9f4126b first attempt at test using virtual sound cards 2021-12-14 13:18:12 +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
af99e53ec7 more debugging info
added buffer length to multimode test to see why it takes so much time
2021-12-13 22:03:56 +01:00
dj2ls
cd8f522f85 added time measurement
writing to stdout seems to be really slow after the first run...
2021-12-13 21:47:30 +01:00
dj2ls
e79aa0b457 multimode testrun
added multimode test and added a SM and MM for single mode and multimode
2021-12-13 21:11:09 +01:00
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
2f4a04a233 removed test 000 2021-12-13 08:51:27 +10:30
drowe67
c290660d51
Update ctest.yml 2021-12-13 08:33:18 +10:30
drowe67
6be962b6fc
Update ctest.yml 2021-12-13 08:27:29 +10:30
drowe67
9c294f3b6d
Update ctest.yml 2021-12-13 08:14:12 +10:30
drowe67
1a5d9e632b added constants to codec2.py, interpreting modes as meaningful strings 2021-12-13 08:09:03 +10:30
drowe67
4b0e326b2e
Update ctest.yml 2021-12-13 07:39:54 +10:30
drowe67
c52c094322
Update ctest.yml
debugging ...
2021-12-13 07:35:18 +10:30
dj2ls
525c6613e5 Merge branch 'dr-test' of github.com:DJ2LS/FreeDATA into dr-test 2021-12-12 22:01:21 +01:00
dj2ls
34788be3ba updated codec2 header file 2021-12-12 22:00:50 +01:00
drowe67
d850d4073b
Update ctest.yml
debugging ...
2021-12-13 07:28:30 +10:30