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

Make calls non-blocking #26

Closed MattWiethoff closed 2 years ago

MattWiethoff commented 2 years ago

Makes initialization, starting, stopping calls return immediately so that we don't block the client's main process. Only blocks if you toggle back and forth within 100ms.