Answer the question
In order to leave comments, you need to log in
How to get audio as chunks?
Good afternoon.
The problem is the following.
I am receiving audio from API as an arrayBuffer.
const response = await fetch(someUrl)
return response.arrayBuffer()
AudioBuffer {length: 5209312, duration: 118.12498866213151, sampleRate: 44100, numberOfChannels: 2}
) is given to the class that builds the wave (just like in the wavesurfer.js library, only simpler). Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question