Hello @Snirpo,
Thanks for the awesome work on the VAD project, I am trying to access the VOICE event in the createStream.
The following code works, but I want to send the buffer to the transcriber only when there is a speech not on Silence.
vadStreamPipe.on("data", (buffer) => {
transcriber.sendAudio(buffer.audioData);
});
I want to send audio only when VOICE is there.
vadStreamPipe.on('VOICE',(buffer)=>{
transcriber.sendAudio(buffer.audioData);
});
Something like the above should work. I have tried it but not working.
Hello @Snirpo,
Thanks for the awesome work on the VAD project, I am trying to access the VOICE event in the createStream.
The following code works, but I want to send the buffer to the transcriber only when there is a speech not on Silence.
I want to send audio only when VOICE is there.
Something like the above should work. I have tried it but not working.