I am using the google cloud speech API to convert speech to text using a microphone. I get an arraybuffer audio, now I need to convert it to base64 base16 string in Javascript. Please suggest if possible.
The audio buffer data is in the Float32 (PCM 32-bit data) bit format, which must be converted to int16 (Linear16). directly from the buffer
Then you can convert the data to base64.
Source: https://habr.com/ru/post/1653317/More articles:Unexpected Token Import - Responsive - javascriptProperty import types are incompatible when using routing - angularjsHow to prevent loading parent component of preen in angular 2 during routing? - javascriptHow can I start and stop the service remotely - c #Order of evaluation of function arguments in PHP - order-of-evaluationRegex to search for single 0s and add commas - c #Dir () function - directoryУдаление всех неглавных символов с помощью регулярных выражений (регулярные выражения в шаблоне регулярных выражений С#) - c#Regex remove third number and add commas - c #How to determine the size of my imshow? - pythonAll Articles