rxseger / rx_tools

rx_fm, rx_power, and rx_sdr tools for receiving data from SDRs, based on rtl_fm, rtl_power, and rtl_sdr from librtlsdr, but using the SoapySDR vendor-neutral SDR support library instead, intended to support a wider range of devices than RTL-SDR
GNU General Public License v2.0
356 stars 68 forks source link

Review feature requests & commits from kmkeen's RTL-SDR IndieGoGo sprint #6

Open rxseger opened 8 years ago

rxseger commented 8 years ago

Via http://kmkeen.com/igg-report/ - list of feature requests from kmkeen's "RTL-SDR IndieGoGo sprint": http://igg.kmkeen.com - lots of interesting ideas there, some since implemented, many relevant to rtl_fm, rtl_power, or rtl_sdr tools.

Also check commits: some are in experimental branch https://github.com/keenerd/rtl-sdr only ("This branch is 129 commits ahead of https://github.com/keenerd/rtl-sdr"): https://github.com/keenerd/rtl-sdr/commits/master


rtl_sdr

Last common commit https://github.com/rxseger/rx_tools/commit/89f73b183f2dac9c0dd75beca4cf2f77f20c4a36 lib: change default number of transfers to 15 Feb 10, 2014 keenerd's commits https://github.com/keenerd/rtl-sdr/commits/master/src/rtl_sdr.c

Last common commit is also (same as rtl_sdr) https://github.com/rxseger/rx_tools/commit/89f73b183f2dac9c0dd75beca4cf2f77f20c4a36 lib: change default number of transfers to 15 Feb 10, 2014 keenerd's commits https://github.com/keenerd/rtl-sdr/commits/master/src/rtl_sdr.c

rxseger commented 8 years ago

Comparing https://github.com/keenerd/rtl-sdr/tree/master to https://github.com/rxseger/rx_tools/tree/librtlsdr-only which I branched from https://github.com/rxseger/librtlsdr/tree/rpc_ir (mostly irrelevant rtl_ir/rtl_rpcd) from https://github.com/librtlsdr/librtlsdr/tree/development 45 files changed, 12949 insertions(+), 732 deletions(-) - of those, relevant to rx_tools:

 b/src/rtl_fm.c                    | 1136 +++++++++++++--------
 b/src/rtl_power.c                 |  704 +++++++++----
 b/src/rtl_sdr.c                   |   29 

(List moved to top of issue)

rxseger commented 8 years ago

Quite a few nice enhancements here, merged the -E wav option, now instead of:

./rx_fm -M fm -s 12k -l 25 -f  … | play -r 12k -t raw -e s -b 16 -c 1 -V1 -

can pass -t wav, and sox/play gets all of the audio format parameters from the .wav/RIFF header:

./rx_fm -E wav -M fm -s 12k -l 25 -f | play -t wav -

Merged in a few other small straightforward fixes, others will require more work.