var contextClass = (window.AudioContext ||
window.webkitAudioContext ||
window.mozAudioContext ||
window.oAudioContext ||
window.msAudioContext);
context = new contextClass();
context.sampleRate;
I have the sampleRate of my PC....
But... How can I know the bitdeep? If it's 24 or 16?
I'm try with:
gainNode = context.createGain();
gainNode.gain.minValue
return: -3.4028234663852886e+38
Return a float32!
Does that mean I have a 32 bit dynamic in my audio?!!????
Something may not be right. My sound card is 16 bit. Why does the audio API work with a 32bit float? It means that chrome internally has 32 bit audio and then it reduces it according to the performance of the sound card?
Thanks for the explanations