charlie-foxtrot / RTLSDR-Airband

Multichannel AM/NFM demodulator
GNU General Public License v3.0
759 stars 135 forks source link

Unable to get clean audio #136

Closed ZL1LAC closed 5 years ago

ZL1LAC commented 5 years ago

I have been trying so hard to be able to record and stream a clean audio signal with no luck what so ever and it's driving me COMPLETELY NUTS!

No matter what I do I either get buzzing or some humming sound and distorted audio.

Where is my config. `tau = 100; devices: ({ type = "rtlsdr"; index = 0; gain = 16;

mode = "scan";

sample_rate = 2.4; centerfreq = 141.400; channels: ( { freq = (141.400); labels = ("EAS"); modulation = "nfm"; outputs: ( { type = "icecast"; server = "icecast.server.example.org"; port = 8080; mountpoint = "stream.mp3"; name = "EAS"; genre = "EAS"; description = "EAS"; username = "source"; password = "mypassword"; send_scan_freq_tags = false; }, { type = "file"; directory = "/home/pi/radio"; filename_template = "EAS"; } ); } ); } );`

What the heck am I doing wrong?

szpajder commented 5 years ago

First of all:

ZL1LAC commented 5 years ago

Freq value changed, centerfreq changed.

No correction from what I have been testing in SDR sharp. gain = 16 yep correct, the repeater is only a few miles away from me.

spotter-ssol commented 5 years ago

Can you post an audio sample?

ZL1LAC commented 5 years ago

Only a small one but you can hear the hum. EAS_20190917_17.zip

szpajder commented 5 years ago

Nothing wrong here, I guess it's https://en.wikipedia.org/wiki/CTCSS ?

ZL1LAC commented 5 years ago

You cant hear that hum?

szpajder commented 5 years ago

I can hear it, and I have given you a link where you can read what it is.

ZL1LAC commented 5 years ago

Yeah, it does use CTCSS and the value of it is 186.2. Would be cool to remove that noise.

ZL1LAC commented 5 years ago

Resolved after looking into CTCSS here. By adding the following to my config. lowpass = 2500; highpass = 150; squelch = 50;