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

add public load method #16

Closed tmacwill closed 2 years ago

tmacwill commented 2 years ago

rather than implicitly loading the VAD model when the mic starts, provide a public method that allows the caller to load the model whenever it wants.