I wrote a very simple JavaScript file to play BASE64 Wav files.
I did not paste the encoded wav files becuase it's a HUGE string and it won't let me post it anyways but just for you to get the idea :
let whiteNoise=new Audio("data:audio/wav;base64, {{Here goes the BASE64 Wav encoded file of the white noise}} ");
let pinkNoise=new Audio("data:audio/wav;base64, {{Here goes the BASE64 Wav encoded file of the pink noise}} ");
whiteNoise.play();
whiteNoise.onended=function()
{
pinkNoise.play();
};
pinkNoise.onended=function()
{
whiteNoise.play();
};
It's working (almost) perfectly the only issue I got is that there is a tiny delay between then
[White Noise][***UNWANTER DELAY***][Pink Noise][***UNWANTER DELAY***] (etc...)
I Want to get
[White Noise][Pink Noise][White Noise][Pink Noise] (etc..)
So it would sound like 1 single endless file :)