Got it working using a php file and a temporary .mp3.
Got rid of the temp mp3 and added mp3 files to the gitignore.