scripts to convert audio for the RadioMusic module
from https://www.thonk.co.uk/shop/radio-music-full-diy-kit/
sox and perls rename are used
cd into a folder with 16 bit 44.1 stereo wav files and sh $whereverthiswassavedto/convert-to-radio-music.sh
this will convert all wav files into radio music format ready to go into a folder on a micro SD.
after the program is run, the folders "mono normalized raw" will still be there.
the folder "raw" then contains the file(s) for the RadioMusic sd card.
the script play-radiomusic plays the encoded files
NO WARRANTY. if this program does something unexpected or worse,
the author is not to be held responsible for any damages incurred.