[raspberry-vi] scripts

  • From: "Glenn K0LNY" <glennervin@xxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Fri, 15 Jan 2021 12:34:09 -0600

Hi All,
I thought I'd try making scripts, if I am calling them rightly, for playing 
various radio frequencies.
I thought if I put the below line into a text file, and naming it something 
like weather, or CB channel 19, or whatever, and adjust the line below to 
reflect the proper frequency and band, and put them into a folder on the 
desktop of my raspberry PI image, and if I could just then enter on them to get 
them to play, it would be like folders of wanted channels for listening.
I've done batch files in DOS and Windows, but nothing like that in Linux, and I 
plan on writing them in windows, and putting them on a thumb drive, and copying 
them into the rPI.
Thanks, and the below command is what I'll be modifying for different 
frequencies.
rtl_fm -M fm -f 162.550M -s 22k | play -t raw -r 22k -es -b 16 -c 1 -V1 -

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: