Skip to content

Speech to type text. Basic python script that continuously listens to your voice and transforms it to keyboard typing events.

Notifications You must be signed in to change notification settings

vistaran/speech-to-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Speech to type

Speech To Type

Basic python script that continuously listens to your voice and transforms it to keyboard typing events. It types on an active window basically.

Required Packages

sudo apt-get install python-pyaudio python3-pyaudio

sudo pip3 install SpeechRecognition

sudo pip3 install pynput

Configuring Microphones

Make sure to change your mic name, sample rate and chunk size to appropriate plugged in device. In my case device name is following.

mic_name = "Plantronics .Audio 628 USB: Audio (hw:2,0)"

You can get list of available mics from sr.Microphone.list_microphone_names() function.

Run

python3 speech.py

About

Speech to type text. Basic python script that continuously listens to your voice and transforms it to keyboard typing events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages