Posts: 4
Joined: Sat Aug 09, 2014 2:06 pm

Re: FM Radio receiver....

Sat Feb 07, 2015 5:05 pm

I found this post:


This person gives instructions on using parec to record the radio to a .wav file. It executed without error but there is no signal in the .wav file. It is being created but no audio levels (no static from the radio).

The instructions he provides says to execute this:

Code: Select all

pactl list | grep -A2 '^Source #' | grep 'Name: .*\.monitor$' | awk '{print $NF}' | tail -1
If I just do the pactl list I get this in the output:

Code: Select all

Card #1
        Name: alsa_card.usb-ADS_TECH_ADS_InstantFM_Music-00-Music
        Driver: module-alsa-card.c
        Owner Module: 5
                alsa.card = "1"
                alsa.card_name = "ADS InstantFM Music"
                alsa.long_card_name = "ADS TECH ADS InstantFM Music at usb-bcm2708_usb-1.4.4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "platform-bcm2708_usb-usb-0:1.4.4:1.0"
                sysfs.path = "/devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.0/sound/card1"
                udev.id = "usb-ADS_TECH_ADS_InstantFM_Music-00-Music"
                device.bus = "usb"
                device.vendor.id = "06e1"
                device.vendor.name = "ADS Technologies, Inc."
                device.product.id = "a155"
                device.product.name = "FM Radio Receiver/Instant FM Music (RDX-155-EF)"
                device.serial = "ADS_TECH_ADS_InstantFM_Music"
                device.string = "1"
                device.description = "FM Radio Receiver/Instant FM Music (RDX-155-EF)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60)
                input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority. 55)
                off: Off (sinks: 0, sources: 0, priority. 0)
        Active Profile: input:analog-stereo
                iec958-stereo-input: iec958-stereo-input (priority: 0)
                        Part of profile(s): input:iec958-stereo
I try
parec -d alsa_output.2.analog-stereo.monitor | sox -t raw -r 43000 -e signed -L -b 16 -c 2 - fmradio.wav

but there is no audio in the wav file.

Any suggestions?

Posts: 1
Joined: Fri Apr 24, 2015 4:00 pm

Re: FM Radio....

Fri Apr 24, 2015 4:03 pm

I bought an instantFM radio dongle, and I am planning to use justJ's method. I was wondering, how do you tune the radio sing arecord?

Posts: 1
Joined: Fri Feb 17, 2017 6:28 am

Re: FM Radio....

Fri Feb 17, 2017 6:32 am

bboyandru wrote:I have installed radio and also fmtools and radio is working fine...

I have tried to play the sound without recording, using arecord -q -c 2 -D hw:1,0 -r 96000 -f s16_LE | aplay but the sound is rubbish and after a couple of seconds the radio stops working and a lot of underrun messages are shown....
I am able to play and I'm not seeing the problems of it cutting off and the sound quality is fairly good. The problem is that it locks up the interface. Where is the sound going without this arecord redirect?

Posts: 4
Joined: Wed Mar 01, 2017 1:21 am

Re: FM Radio....

Sun Jun 17, 2018 6:12 am

Fast forward to June 2018

Just installed VLC on Ubuntu

sudo apt-get update -y
sudo apt-get install vlc -y

and noticed in the preferences that it can access


(That is how I found this thread just now)

...these days the only plug-in radios would be like the Nooelec SDR receivers, I would imagine.

Posts: 4
Joined: Wed Mar 01, 2017 1:21 am

Re: FM Radio....

Sun Jun 17, 2018 6:19 am

Turns out InstantFM is still in operation.

Tunes and records. There are other models that also demodulate RDS.

Return to “Graphics, sound and multimedia”