People may be interested in this: https://mfamily.org/allstar-arn
I get “File not found.”
the web link gives a file not found
The code is here: asl-utils/allstar-play-arn at main · jxmx/asl-utils · GitHub linked from https://packetwarriors.com/.
My site at packetwarriors.com was running a flat-file CMS that was abandoned by is author and I just didn’t feel like recreating the site right now (well, going on 6+ months now).
I created a script file that grabs AR Newsline (and about 4 others), does resample and compression tricks to the audio file so it sounds less like garbage, and puts it in a directory, ready for airplay.
It’s called by a cron job every Sunday at 5am, so I never have to worry about it.
It’s not a script you can simply drop in and watch it run, but if you want to look at it and adapt it to your particular needs, I can make it available.
Carl/K6CRS
Please do thx. I’m sure others may use or learn from it.
For sure I am interested too.
Thank you
Okay. Here is a link to a shared file folder on Dropbox that has a couple of the script files in it. These are the simpler ones; the scripts I have for RSGB, WIA & TWIAR get a lot more complicated because I have to pull from a podcast aggregator. These I don’t.
Understand a few things about these scripts:
-
You will need Sox, ffmpeg, and ffmpeg-normalize installed, with ULAW, OPUS and PCM (WAV) codecs enabled.
-
They work for me, on my hardware, in my situation. They are not a “drop and go” solution for you. The intent is for you to look at them and take the pieces you need to achieve your goal. My goal was to take the hot garbage these news services distribute weekly and tone it down sufficiently so it would sound good going through a radio (or a VoIP phone), no matter how they wanted to distort the final product. And do it in an automated fashion so I didn’t have to think about it.
If you listen to the news broadcasts on Hamshack Hotline (x7008) or HoIP (x100098), the broadcasts you hear are generated from exactly these scripts.
- If you need Linux help, Google and ChatGPT are your friends. I used a lot of both in creating the final product.
The scripts are fairly well commented, but if you have questions about the script functionality itself, I’ll try to help.
Carl/K6CRS