Skip to content

Instantly share code, notes, and snippets.

@edy555
Created December 15, 2012 23:46
Show Gist options
  • Select an option

  • Save edy555/4301026 to your computer and use it in GitHub Desktop.

Select an option

Save edy555/4301026 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Content-Type: audio/wav"
echo
freq=$QUERY_STRING
/usr/local/bin/rtl_fm -s 16000 -f $freq -M -p 90 - | /usr/bin/sox -r 16000 -c 1 -t s16 - -t wav -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment