Update README

Updated README to add help for streaming IceCast links, let's hope that newcomers (like myself) won't have to scroll through the interwebs anymore for the code to play an IceCast mp3 link!
This commit is contained in:
Ryan G 2022-02-03 11:52:30 +00:00 committed by GitHub
parent b0f253232b
commit 5f49fb458d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -86,12 +86,16 @@ If you use the argument `-audio -`, Pi-FM-RDS reads audio data on standard input
sox -t mp3 http://www.linuxvoice.com/episodes/lv_s02e01.mp3 -t wav - | sudo ./pi_fm_rds -audio - sox -t mp3 http://www.linuxvoice.com/episodes/lv_s02e01.mp3 -t wav - | sudo ./pi_fm_rds -audio -
``` ```
Or to pipe the AUX input of a sound card into Pi-FM-RDS: Pipe the AUX input of a sound card into Pi-FM-RDS:
``` ```
sudo arecord -fS16_LE -r 44100 -Dplughw:1,0 -c 2 - | sudo ./pi_fm_rds -audio - sudo arecord -fS16_LE -r 44100 -Dplughw:1,0 -c 2 - | sudo ./pi_fm_rds -audio -
``` ```
Pipe live MP3 file into Pi-FM-RDS (IceCast or SHOUTCast supported):
```
sox -t mp3 http://link-to-icecast-instance.tld/radio.mp3 -t wav - | sudo ./pi_fm_rds -ps ICECAST -rt Icecast test -audio -
```
### Changing PS, RT and TA at run-time ### Changing PS, RT and TA at run-time