RTLSDR-Airband Bad Audio

W2SOX

Member
Premium Subscriber
Joined
Dec 12, 2020
Messages
44
Hello Everyone,

I recently started streaming using a raspberry pi and RTL-SDR.

I am not pleased with the quality of the audio that is being broadcasted, its very raspy and noisy but totally understandable. I am not convinced it is the unit because only when the device senses a strong signal the noise appears, otherwise its quite.


Is there a setting I can change, or something I am missing?
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,013
Location
NE Wisconsin
I am not pleased with the quality of the audio that is being broadcasted, its very raspy and noisy but totally understandable. I am not convinced it is the unit because only when the device senses a strong signal the noise appears, otherwise its quite.

It's possible that your RTL is off frequency and requires attention to the correction factor.

Questions
Are you using the charlie-foxtrot /RTL_Airband? If so, what version?
Are you using a dedicated outdoor airband antenna?
Are you using the Icecast Server option or are you using Pulseaudio to feed the audio to another streaming program?
Can you post your rtl_airband.conf file wit the BCFY mountpoint and password redacted?
 

W2SOX

Member
Premium Subscriber
Joined
Dec 12, 2020
Messages
44
It's possible that your RTL is off frequency and requires attention to the correction factor.

Questions
Are you using the charlie-foxtrot /RTL_Airband? If so, what version?
Are you using a dedicated outdoor airband antenna?
Are you using the Icecast Server option or are you using Pulseaudio to feed the audio to another streaming program?
Can you post your rtl_airband.conf file wit the BCFY mountpoint and password redacted?

I am not sure what version of RTL_Airband I am using, I just followed the guide for Broacastify.



I am using an outdoor 2m antenna, that I used previously without an issue, and I am using Icecast to stream. Below is a copy of my config.





# This is a minimalistic configuration file for RTLSDR-Airband.
# More complex configurations are possible.
# Refer to Home
# for description of keywords and config syntax.
# Just a single RTL dongle with one FM channel
# sent to a single Broadcastify stream.
# Note that the center freq is 100 KHz offset from the receive freq
# Also, you must enter your server number, stream name, mountpoint and
# password from your Broadcastify stream "Technicals"
devices:
({
type = "rtlsdr";
index = 0;
gain = 25; # This may need adjustment depending on your hardware
centerfreq = 151.025;
correction = 0; # this can be determined using "cumulative" output from running 'r$
channels:
(
{
freq = 151.025;
modulation = "nfm";
highpass = 320;
outputs:
(
{
type = "icecast";
server = "audio9.broadcastify.com";
port = 80;
mountpoint = "########"; # Note: Do not include a leading slash "/"
name = "#######"; # Change the name to your monitoring $
genre = "Public Safety"; #Change the name of genre, might be Public Safety
username = "source"; #Keep this as source for Broadcastify
password = "######"; #use password on technicals page
}
);
}
);
});
 

vagrant

ker-muhj-uhn
Premium Subscriber
Joined
Nov 19, 2005
Messages
3,356
Location
California
The “nfm” modulation looks correct for the frequency. My guess is the gain at “25” could be lowered to 10. All that gain is probably raising your noise floor and thus the raspy sound with the audio.

Thinking further, there are paging systems that may use a freq nearby. They can be quite powerful and cause problems as well, but they are intermittent.
 
Last edited:

W2SOX

Member
Premium Subscriber
Joined
Dec 12, 2020
Messages
44
The “nfm” modulation looks correct for the frequency. My guess is the gain at “25” could be lowered to 10. All that gain is probably raising your noise floor and thus the raspy sound with the audio.

Thank you for the suggestion, I just changed and it will see if it makes a difference!
 

W2SOX

Member
Premium Subscriber
Joined
Dec 12, 2020
Messages
44
So I wanted to update everyone, incase some in the future is having the same issue.

I followed two separate tutorials, I ran this first and it seems to have fixed the horrible audio.


sudo apt-get update -y
sudo apt-get upgrade -y

sudo cat <<EOF >/etc/modprobe.d/no-rtl.conf
blacklist dvb_usb_rtl28xxu
blacklist rtl8192cu
blacklist rtl2832
blacklist rtl2830
blacklist e4000
EOF

sudo apt-get install git-core -y
sudo apt-get install git -y
sudo apt-get install cmake -y
sudo apt-get install libusb-1.0-0-dev -y
sudo apt-get install build-essential -y

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
autoreconf -i
./configure
make
sudo make install
sudo make install-udev-rules
sudo ldconfig

sudo reboot



I also switched to a Raspberry Pi 3B+ and used all the same hardware, I turned off the Wi-Fi and Bluetooth for the device. I also kept the same config as above in a pervious reply. The gain is set to 15!
 

Ubbe

Member
Joined
Sep 8, 2006
Messages
9,555
Location
Stockholm, Sweden
Have you tried using the RTL-SDR on your PC and SDR# and see what gain you can use without any issues? I can use 35 as RF gain for vers 2 and 3 of the RTL-SDR dongle. If 15 are used it will be 20dB lower, 100 times less sensitivity.

/Ubbe
 
Top