audio-buffer-utils icon indicating copy to clipboard operation
audio-buffer-utils copied to clipboard

Ability to mix two buffers with offset and make length the union?

Open Jokab opened this issue 8 years ago • 1 comments

It seems that right now, if you mix two buffers together and the second one ends before the first one, the buffer will not extend to accomodate this. A great feature would be to have a mixLongest function or something, where the total length of the resulting buffer would then be where bufferB ends, provided it ends after bufferA with the offset taken into account.

Is this something you could look into adding? Thanks!

Jokab avatar May 04 '17 17:05 Jokab

Ok suredo stay tuned at @audiojs/audio-buffer

dy avatar May 04 '17 17:05 dy