shajen / rtl-sdr-scanner-cpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Devel) RSP1a (SDRPlay) Errrrrr sound for all recordings

SubBass100 opened this issue · comments

Hey there! First time user here (coming from trunk-recorder). Before I start just wanted to say thank you and I really like where your project is heading! It is very easy to get up and running and I've installed it on a pc / pi4 / and a Jetson Xavior for testing. I am having a problem with the recordings though. They trip just fine and record when they should, however, they all sound similar (not the same) I've attached a sample
transmission267_20231117_035530.zip

For the installation I used the devel branch, then ran the sdrplay~.run closed source driver and set it to start with the daemon.

I run the docker instance and the webui / everything else seems to run just fine. The configuration is set with these settings, however, I've started with defaults and pretty much brute forced tons of combinations of settings keeping in mind to keep the sample rate a multiple of 1024000. Every once and a while I could get some distorted speech but that err sound is always present. (I've also tried isolating from AC and run on battery laptop thinking it was an AC hum, not the case)

Screenshot 2023-11-16 230436

The RSP1a can do ~10mhz I believe. Here are some specs (14 bit 2-6.048 MSPS 12 bit 6.048-8.064 MSPS 10 bit 8.064-9.216 MSPS 8 bit >9.216 MSPS)

I've searched extensively through your issue pool and wiki but I've not seen this exact problem, I've installed on multiple systems with the same results. Perhaps something stands out to you?

Thanks again! I am anxiously awaiting the merge/release into the main! Hope to see that soon!

Wow no longer than it took me to create this post, I found a way to make it clear but I'm not sure if it's the front end way the page plays the sound or the codec of the file SDR Scanner generates? https://www.youtube.com/watch?v=agUXPf1lsFE

Like I've said in the post above I've installed and ran the server on 3 different systems of different architectures. Mostly I check the results from my main desktop, and my phone periodically.... Chrome and Edge are based off Chromium so not sure if it's a browser type issue? or possibly the way your software is generating the file / codec / etc. For the record the MP3 I zipped on the post above does make that errr sound on my desktop. I will continue to experiment over here. This is strange for sure.

image
This is the codec from the MP3 file...

Is there any logs or configs I could collect to assist? I've tried different browsers but it seems that the file is created that way. Is there a way that I can change the recording bit rate etc? Thanks

For completeness... I was able to fix this problem. Though a very useful response on reddit that pointed out the clicks were happening at very close to 32hz I saw that my Scanning time was at 64ms which is a multiple of 32... and just by luck I upped it to 128ms and the problem went away.... There is probably just some latency when using SOAPY or interfacing SDRPlay but either way no more clicks for sure now!

https://www.reddit.com/r/RTLSDR/comments/18m5z4v/comment/keov3hl/