Python Forum
Recording audio to file until no dialogue.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recording audio to file until no dialogue.
#1
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.
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  chua osillator to audio file sddfds 0 431 Jul-13-2023, 11:07 PM
Last Post: sddfds
  Video recording with Raspberry Pi - What´s wrong with my python code? Montezuma1502 3 1,247 Feb-24-2023, 06:14 PM
Last Post: deanhystad
Smile How we can prevent screen recording murad_ali 3 1,807 Jul-29-2022, 10:29 AM
Last Post: DeaD_EyE
  How to decrease latency while recording streaming video. unicorn2019 0 1,252 Nov-15-2021, 02:12 PM
Last Post: unicorn2019
  Help with storing temp data for each day then recording min/max in app. trthskr4 3 2,402 Sep-10-2021, 10:51 PM
Last Post: trthskr4
  Split recording with Picamera EvanS1 0 1,916 Jun-19-2021, 12:26 PM
Last Post: EvanS1
  Find frequencies of an audio file at a specific time via librosa jberesford123__ 0 2,326 Oct-21-2020, 01:18 PM
Last Post: jberesford123__
  Using pyaudio to stop recording under certain sound threshold Twanski94 2 6,429 Jun-13-2020, 11:35 AM
Last Post: Twanski94
  Splitting the audio file into smaller packets before transfer using UDP protocol in p MuhammadAli152 0 3,718 May-15-2020, 03:01 PM
Last Post: MuhammadAli152
  recording a translation table into a file arbiel 0 1,443 Mar-31-2020, 02:33 PM
Last Post: arbiel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020