diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/README b/README index a4a47d7..b88048d 100644 --- a/README +++ b/README @@ -1,9 +1,9 @@ #Blather -Blather is a speech recognizer that will run commands when a user speaks preset sentences. +Blather is a speech recognizer that will run commands when a user speaks preset sentences. ##Requirements -1. pocketsphinx -2. gstreamer (and what ever plugin has pocket sphinx support) +1. pocketsphinx +2. gstreamer (and what ever plugin has pocket sphinx support) 3. pyside (only required for the Qt based UI) 4. pygtk (only required for the Gtk based UI) @@ -17,13 +17,22 @@ Blather is a speech recognizer that will run commands when a user speaks preset 6. run Blather.py * for Qt GUI, run Blather.py -i q * for Gtk GUI, run Blather.py -i g - * to start a UI in 'continuous' listen mode, use the -c flag - + * to start a UI in 'continuous' listen mode, use the -c flag + * to use a microphone other than the system default, use the -d flag 7. start talking ####Bonus once the sentences.corpus file has been created, run the language_updater.sh script to automate the process of creating and downloading language files. -**Example** -To run blather with the GTK UI and start in continuous listen mode: -./Blather.py -i g -c \ No newline at end of file +####Examples +To run blather with the GTK UI and start in continuous listen mode: +./Blather.py -i g -c + +To run blather with no UI and using a USB microphone recognized and device 2: +./Blather.py -d 2 + +####Finding the Device Number of a USB microphone +There are a few ways to find the device number of a USB microphone. + +* `cat /proc/asound/cards` +* `arecord -l` \ No newline at end of file |