Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs fix: mic example not working #1203 #1303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BrunoHenrique00
Copy link

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

@nshmyrev
Copy link
Collaborator

Thanks, I'd really prefer a module without sox binary dependency which is not straightforward for the users. Node-portaudio or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

demo/nodejs/test_microphone doesn't work on Windows due to an issue in mic package
2 participants