How to get waveform from an audio stream JS?

Please help me when using one of the methods VK API you need to pass an object to a Voice message, but I don't understand what should be in the pitch waveform, as something to obtain, and how to turn into an array. I get all MediaDevices.getUserMedia()
March 23rd 20 at 19:28
1 answer
March 23rd 20 at 19:30
Solution
Here it is possible to do what you need https://github.com/bbc/waveform-data.js

If using the library is not desirable, you can understand the audio buffer independently https://developer.mozilla.org/ru/docs/Web/API/Web_...

Find more questions by tags JavaScript