-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi! I apologize for this dumb question, but I am wondering if it is possible to process an audio buffer of a fixed length with a fixed alpha value without using a script processor?
I am trying to stretch an audio buffer by a constant factor and return the result, but I am unsure how to do this.
This is my current attempt:
const vocoder = new PhaseVocoder(4096, 44100);
vocoder.init();
vocoder.set_alpha(2);
const result = vocoder.process(audioData);
console.log(result);
This results in a blank array of length 2048, probably because I am not advancing the position. I am hoping to retrieve a buffer the length of audioData, but I do not know how.
I apologize as I can see this is a complex library and I have only started to experiment with it. I am hoping to avoid using a script processor as I do not change any variables during playback, and I am hoping to play multiple buffers at the same time.
Metadata
Metadata
Assignees
Labels
No labels