Open AB9IL opened 1 year ago
The connection to 20kHz KiwiSDR was not implemented in the code A quick fix is to use the resample feature of kiwirecorder.py
line 296 clienttype.replace(' ', ''), '-q', '-a', 296 clienttype.replace(' ', ''), '-q', '-a', '-r', '12000',
...but it will also resample the 12kHz KiwiSDR ones and may introduce some audio lag
We can put a condition when "20 kHz" is present in the KiwiSDR "sdr_hw" field then use that "-r 12000" else do not resample
I'm not completely sure how to fix it, but directKiwi continues to run at 12000 samples / sec when connecting to servers running at 20250 samples / sec. It probably needs to pull status data from the server and use the reported sample rate.
For example, connect to the KiwiSDR at k3fef.com. Audio sounds like a "slow record" because of the rate mismatch.