Open BrunoHenrique00 opened 1 year ago
Fixed the mic example not working on the nodejs/demo folder.
nodejs/demo
This was happening due to Sox pipe mode inside the mic lib, giving audio in 32-bit format and not in 16-bit as Vosk expects!
mic
Closes #1203
Thanks, I'd really prefer a module without sox binary dependency which is not straightforward for the users. Node-portaudio or something like that.
Fixed the mic example not working on the
nodejs/demo
folder.This was happening due to Sox pipe mode inside the
mic
lib, giving audio in 32-bit format and not in 16-bit as Vosk expects!Closes #1203