ashishbajaj99 / mic

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

AUDIO INPUT NOT PAUSING ON PAUSECOMPLETE #16

Closed MalikMahnoor closed 7 years ago

MalikMahnoor commented 7 years ago

on pauseComplete signal,I dont see find speech block statement but afterwards when i play the audio it includes the voice input given when the mic was actually paused.What can be the reason behind this?

ashishbajaj99 commented 7 years ago

Since the application works at a higher layer, sometimes it could be slowed down by available system resources and is not guaranteed to be running in a real time manner. This is more a limitation of the fact that the Mac/Linux/Raspbian/Windows are not real time systems. So in such cases there will be some residual data that gets buffered...

Other than that no other reason that I can think of.