Commit graph

1070 commits

Author SHA1 Message Date
dj2ls
4b73f9c19f start of modem rewriting 2021-12-25 17:05:38 +01:00
DJ2LS
1f8296fa5f
Merge pull request #92 from DJ2LS/dr-resampler
PyAudio rx callback and Python<->C Resampler
2021-12-23 10:17:51 +01:00
DJ2LS
de979506f4
Merge branch 'main' into dr-resampler 2021-12-23 10:16:49 +01:00
DJ2LS
b564ab7291
Merge pull request #93 from DJ2LS/ls-gui-optimization 2021-12-22 14:44:47 +01:00
dj2ls
f99daf6800 updated tnc modem code for testing TX and RX in same callback 2021-12-22 12:48:49 +01:00
dj2ls
a0486a6b00 multimode callback TX 2021-12-22 11:19:43 +01:00
dj2ls
705600a3b1 code cleanup 2021-12-22 11:19:27 +01:00
dj2ls
24f46204ea transmitting in callback mode
used a FIFO queue to store modulation...crazy somehow. But its working
2021-12-22 10:31:21 +01:00
dj2ls
05e65018d8 added stream.is_active excepotion
not sure if we really need this
2021-12-21 10:39:07 +01:00
dj2ls
3c01ff1301 logging in own thread
and also a small cleanup
2021-12-21 09:25:06 +01:00
drowe67
8a0caf7f43 added thread locking to audio buffer to fix corner case 2021-12-21 08:27:13 +10:30
drowe67
342dd29747 audio buffer thread sfaety test 2021-12-21 08:20:02 +10:30
drowe67
2cc319c857 renamed tests 2021-12-21 07:22:14 +10:30
drowe67
40727a4c6d Merge branch 'main' into dr-resampler 2021-12-21 06:50:10 +10:30
dj2ls
0ecaeaa2bb removed audioop support
we want to test only the new buffer. Not sure if this is currently working
2021-12-20 18:59:29 +01:00
dj2ls
3a6ddad8d4 bug fix 2021-12-20 18:35:59 +01:00
dj2ls
f3c89d30bc code cleanup 2021-12-20 18:07:16 +01:00
dj2ls
6bd1f418e5 system status
closes #88 #90 #83
2021-12-20 18:05:00 +01:00
dj2ls
a1a86568d4 error handling if daemon binary not found
closes
#88
2021-12-20 17:12:34 +01:00
dj2ls
cbf32e34b5 deleted old ansi-regex 2021-12-20 17:01:45 +01:00
DJ2LS
e86d327a88
Merge pull request #89 from DJ2LS/dr-test
Test framework
2021-12-20 16:54:50 +01:00
dj2ls
b54463965a code cleanup
this isn't the right place for doing tnc changes, but before I forget to change it...
2021-12-20 16:21:09 +01:00
dj2ls
82619ef098 reduced bytes_out buffer size factor *2
buffer was too large. this didnt affect the tests, but not that nice...
2021-12-20 15:57:32 +01:00
dj2ls
e8283b5db0 integrated multimode callback test & FIFO queue to tnc
this is a first test to see how it performs
2021-12-20 15:38:43 +01:00
dj2ls
8b8dfd5233 added option for sending testframes
this testframes are used to interact with the TNC
2021-12-20 15:37:46 +01:00
dj2ls
3f33bc9ee3 updated codec2 lib path 2021-12-20 12:43:32 +01:00
dj2ls
5d62952e8a small cleanup
removed unused function
2021-12-20 12:16:03 +01:00
dj2ls
2bca7b26cd multimode callback tests
first working version
2021-12-20 12:15:35 +01:00
dj2ls
eaa26d3672 updated to new folder structure
Ooops, I forgot this file...where's my brain...
2021-12-20 11:15:32 +01:00
dj2ls
83b420be9a changed folder structure
removed subdirectories for each test group
2021-12-20 11:10:41 +01:00
dj2ls
75e7ef64a1 removed old code 2021-12-20 10:35:52 +01:00
dj2ls
9608e3412d additional test with decoding outside callback
added this to see any differences
2021-12-20 10:33:35 +01:00
dj2ls
1c4bb7bfbc moved code to class
less globals and we also need this later
2021-12-20 10:22:55 +01:00
drowe67
84bf1970dd first pass callback model rx working 2021-12-20 09:36:39 +10:30
dj2ls
b0dfa666bf updated tnc modem with latest test results
lets see how the results perform within the TNC environment
2021-12-19 20:31:53 +01:00
dj2ls
72b653b188 preparation for ARQ test
added a directory 003_highsnr_stdio_arq for working on ARQ tests
2021-12-19 19:45:08 +01:00
dj2ls
8b8678853d new codec2.py location
forgot this file....
2021-12-19 16:10:39 +01:00
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
dj2ls
a6d60dea1c initial callback test
crashes at the moment within resambler
2021-12-19 15:04:35 +01:00
drowe67
a0e7c210fb fixed exception checking logic, still getting occasional fails on virtual sound card tests 2021-12-17 06:16:40 +10:30
drowe67
2bf5c44cbb adding resampler to MM tests. still occasional fails on virtual card Pyaudio tests 2021-12-16 21:40:30 +10:30
drowe67
03dccc4348 test program to get experience with Pyaudio 2021-12-16 18:33:07 +10:30
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