gillesdemey / node-record-lpcm16

:microphone: Records a 16-bit signed-integer linear pulse modulation code encoded audio file.
ISC License
212 stars 60 forks source link

Event on finished #10

Closed beckmx closed 8 years ago

beckmx commented 8 years ago

Hello, is there anyway I can recognize when the recording finished?, I see the verbose but I would like to fire an event

gillesdemey commented 8 years ago

You might be able to use something like https://github.com/mafintosh/end-of-stream to execute code after the stream ends.

The library will automatically try to detect silence and end the stream.

beckmx commented 8 years ago

nice, that fits perfectly with this module, thanx