serenadeai / speech-recorder

speech-recorder is a node.js module for streaming audio from a device's microphone and filtering for speech.
MIT License
86 stars 19 forks source link

catch potential silero errors #12

Closed tmacwill closed 3 years ago

tmacwill commented 3 years ago

onnx isn't compatible with some versions of windows, so catch errors in the loading process and disable it. also make the disableSecondPass option not load the module at all, rather than loading it but then not using it.