Last active
December 13, 2023 13:32
-
-
Save matiaspl/d5b004eb3056cd0024153d896887047b to your computer and use it in GitHub Desktop.
Internet radio to regular radio with 50us (European) preemphasis and RDS using pifmrds - runs fine on RPi1 (sox firfit used as the audio processor)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 0.000 | |
50 0.001 | |
100 0.004 | |
400 0.068 | |
1000 0.409 | |
2000 1.445 | |
3000 2.761 | |
4000 4.115 | |
5000 5.400 | |
6000 6.583 | |
7000 7.661 | |
8000 8.643 | |
9000 9.540 | |
10000 10.362 | |
11000 11.120 | |
12000 11.882 | |
13000 12.475 | |
14000 13.084 | |
15000 13.656 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sox -t mp3 http://SHOUTCAST_URL -t au - vol -3dB firfit preemphasis.ff | pv -C -B 180k -T -r | pifmrds -freq 95.3 -audio - -ps "PirateFM" -rt "☠️☠️☠️" -ctl /tmp/rds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment