Python Forum

Full Version: Recording audio to file until no dialogue.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way in Python that I can call a function to start recording audio to a file, which will then only stop when it can't make out any other words. Not when it is silent because I want it to work in a room with minimal ambient noise and therefore only want it to stop when no more dialogue is detected. Another point is that I would like to avoid using the python speech recognition module https://pypi.org/project/SpeechRecognition/ because the way it records is not suitable for my requirements. Any suggestions? Thank you.
What you're describing sounds like VOX (voice-operated exchange) which is a voice operated switching used by amateur radio.
You might want to read up on that, and/or search for 'software VOX' or 'software voice-operated exchange'.

have a look at: https://towardsdatascience.com/building-...247543b626