Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

๐Ÿ”ˆ Use python to achieve voice activity detection, this little program may be helpful for voice application

License

Notifications You must be signed in to change notification settings

Dynamicwang/python-vad

Open more actions menu
ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

python vad

Python code to voice activity detection.This python program can read stream data from your microphone (like USB microphone)

Requirements

  • a buildin microphone or usb microphone on your device, you can use arecord -L to show your audio input devices.
  • webrtcvad - pip install webrtcvad
  • pyaudio - pip install pyaudio

How to Run

Make sure your default audio input device is avaliable, and run
python vad.py

Some details

This program reads stream audio data from your default audio input device, and decide if a chunk of audio is blank space. It can estimate when you start your sentence and the time you finished.Once you end your conversation, the program write the voice into *.wavfile.

About

๐Ÿ”ˆ Use python to achieve voice activity detection, this little program may be helpful for voice application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.