Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active June 26, 2024 01:11
Show Gist options
  • Save tstellanova/897bc88a66f0a99adab1099a3a763747 to your computer and use it in GitHub Desktop.
Save tstellanova/897bc88a66f0a99adab1099a3a763747 to your computer and use it in GitHub Desktop.
Using rtl_fm with aplay to listen to broadcast FM stereo

I use this to listen to stereo from KALX using an RTL-SDR.

  • On debian (raspberry pi with ALSA):

rtl_fm -M wbfm -f 90.7M -r 64k - |aplay -r 32000 -f S16_LE -t raw -c 2

  • On macos (using Sox via homebrew):

rtl_fm -M wbfm -f 90.7M -r 64k - | play -t raw -r 32k -es -b 16 -c 2 -V1 -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment