Python
Python SpeechRecognition
root@edison:~# pip install SpeechRecognition
Downloading/unpacking SpeechRecognitionroot@edison:~# pip install wit
Collecting wit
Downloading wit-4.1.0.tar.gz
Collecting simplejson (from wit)
Downloading simplejson-3.10.0.tar.gz (77kB)
Successfully installed simplejson-3.10.0 wit-4.1.0root@edison:~# python
>>> import speech_recognition as sr
>>> list = sr.Microphone.list_microphone_names()
>>> for element in list:
... print element
...
Loopback: Loopback PCM (hw:0,0)
Loopback: Loopback PCM (hw:0,1)
dummy-audio: (hw:1,0)
USB PnP Sound Device: USB Audio (hw:3,0)
sysdefault
front
surround21
surround40
surround41
surround50
surround51
surround71
dmix
default
>>>Wave
Google
WIT
Last updated