I had audio that was recorded through unity, converted to binary and then to base64 for uploading to Google's Cloud processing. I now need to take that same base64 encoded binary audio and play it back in a php page.
I've tried to use various online base64 decoders and the output is a .bin file which I can't work out how to play. I've tried to copy what was done on this site: https://jsfiddle.net/Sl1v3r/af9av0o4/ but nothing seems to play. I'm not quite sure what should be in the data field in the javascript file.
I copied the content from the above site onto my server and it plays fine, but when I replace it with the base64 string for my audio as below it doesn't work
window.beeb = new Audio('data:audio/wav;base64,[my code]');
I've posted the full audio file in base64 format to pastebin: https://pastebin.com/sSp0SWp8
I would like to be able to decode the base64 audio and play it on a php site using javascript (or any other ways I can get the audio to play through a php page)