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
Here it is possible to do what you need

If using the library is not desirable, you can understand the audio buffer independently

Find more questions by tags JavaScript