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.
Would it be possible to detect sounds and emit a 'sound' event accordingly?
My use case is that, after receiving 'slience', I need to know the time that elapsed before a new sound occured. I don't see how to do that with the current API.
Would it be possible to detect sounds and emit a 'sound' event accordingly?
My use case is that, after receiving 'slience', I need to know the time that elapsed before a new sound occured. I don't see how to do that with the current API.
This is great work otherwise!