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

Convert transmission data to .mp3

Open StiXerrr opened this issue 9 months ago • 3 comments

Hi, can you tell me how do you convert transmission data to mp3 format?

Image

StiXerrr avatar Mar 05 '25 13:03 StiXerrr

I am not the author but I have taken a look at how the app works. The source code has not been shared yet but is viewable in the docker container. The app only stores the bin files. When you go to the endpoint {base_url}/admin/sdr/transmission/{tid} the app will take the .bin file and convert it to mp3. One way to get the mp3 is to scrape it from this location with python. You can also get the spectrograms in a similar way.

The other approach is to go through the source code in the web app and find the functions that do this internally. I put the ones you need together here: https://gist.github.com/smokedsalmonbagel/271c52fa5edca07e8976fa73d37853ab

smokedsalmonbagel avatar Mar 06 '25 18:03 smokedsalmonbagel

Absolutely amazing! It works perfectly! Until now I used a simple decoder in Java, but it was not ideal for lower quality signals. Thanks a lot for sharing your solution!

StiXerrr avatar Mar 06 '25 20:03 StiXerrr

All subprojects and new version was published. Details here https://github.com/shajen/sdr-hub

shajen avatar Oct 29 '25 20:10 shajen