rtl-sdr-scanner-cpp icon indicating copy to clipboard operation
rtl-sdr-scanner-cpp copied to clipboard

Audio Sample rate problems?

Open SubBass100 opened this issue 11 months ago • 1 comments

Just want to point out that I don't think this has anything to do with tuner sample rate. I think there is something up with the audio sample rate. In chrome / firefox all recordings sound like they are in slow motion. Here is a sample https://drive.google.com/file/d/1coEMSLz6ShI9UXEj4vz01T3B25RHMmuL/view?usp=sharing I looked through the settings but nothing stood out. This is a fresh install of Devel on Ubuntu using docker install as recommended. using an Airspy SDR. Any help would be greatly appreciated, thanks!

SubBass100 avatar Jan 19 '25 03:01 SubBass100

Ironic clip you have shared :-) It sounds off, but not by that much. Can you take a look at what the sdr_transmission record looks like in the sqlite3 DB? Here is a collection of the functions used to convert the bin to mp3 in the web app: https://gist.github.com/smokedsalmonbagel/271c52fa5edca07e8976fa73d37853ab Here is an example of a typical transmission on have received:

|id |begin_frequency|end_frequency|begin_date                |end_date                  |sample_size|data_file                                                   |device_id|data_type|modulation_id|
|---|---------------|-------------|--------------------------|--------------------------|-----------|------------------------------------------------------------|---------|---------|-------------|
|565|47332000       |47348000     |2025-03-03 18:48:09.504000|2025-03-03 18:48:18.466000|2048       |device_2/transmission/2025-03-03/13_48_09_47340000_uint8.bin|2        |uint8    |1            |

You can get the sqlite file by mounting a volume to the DB:

volumes:
      - ./monitor_db:/usr/src/sdr-panel/db

Open it with dbeaver or similar.

smokedsalmonbagel avatar Mar 06 '25 18:03 smokedsalmonbagel

Check out the new release https://github.com/shajen/sdr-hub it's much simpler!

shajen avatar Oct 29 '25 20:10 shajen