A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac, Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.
MIT License
103
stars
61
forks
source link
Only console.log from IsSilence if debug is true #2
Pass the debug option given to
mic({debug: true})
into IsSilence so thatconsole.log
is only called from within IsSilence when debug is true.