How to convert the float32Array format of native html5 recorded audio to proper bytes for Google Speech-to-Text service?
问题 If you follow this tutorial: https://medium.com/ideas-at-igenius/delivering-a-smooth-cross-browser-speech-to-text-experience-b1e1f1f194a2 you will manage to create a script processor to which you add a listener scriptProcessor = inputPoint.context.createScriptProcessor(bufferSize, in_channels, out_channels) //... scriptProcessor.addEventListener('audioprocess', streamAudioData) Inside the callback by calling this line: callback_param.inputBuffer.getChannelData(0) one receives a javascript