You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the encoder with the web audio api to encode 16384 sample long buffers, then I convert them to ArrayBuffers and send to another computer via nodeJS. However when I decode these ArrayBuffers using audioContext.decodeAudioData() the resulting audioBuffer I get varies in sample size, for silent audio it becomes 16960 samples long. This problem causes glitchy audio at the other end.
Any idea what might be causing this? or is my encode/decode strategy wrong?
The text was updated successfully, but these errors were encountered:
I'm using the encoder with the web audio api to encode 16384 sample long buffers, then I convert them to ArrayBuffers and send to another computer via nodeJS. However when I decode these ArrayBuffers using
audioContext.decodeAudioData()
the resulting audioBuffer I get varies in sample size, for silent audio it becomes 16960 samples long. This problem causes glitchy audio at the other end.Any idea what might be causing this? or is my encode/decode strategy wrong?
The text was updated successfully, but these errors were encountered: