|
|
@@ -1,21 +1,19 @@
|
|
|
Voice Control
|
|
|
|
|
|
-Python requirements:
|
|
|
- oauth2client==3.0.0
|
|
|
- google-api-python-client
|
|
|
- pygame
|
|
|
- pyaudio
|
|
|
- gTTS
|
|
|
- requests
|
|
|
- arrow
|
|
|
- slackclient
|
|
|
- xmltodict
|
|
|
-
|
|
|
Linux:
|
|
|
- alsa-base alsa-utils alsa-tools libasound-dev easy_install python-dev libportaudio2 flac libatlas-base-dev
|
|
|
+ aptitude install alsa-base alsa-utils alsa-tools libasound-dev python-virtualenv python-pip python-dev libportaudio2 flac libatlas-base-dev libsdl1.2-dev
|
|
|
+
|
|
|
+ enable apt src url(s)
|
|
|
+
|
|
|
+ aptitude build-dep python-pygame
|
|
|
|
|
|
- add user to audio group: sudo usermod -a -G audio martin
|
|
|
|
|
|
PortAudio:
|
|
|
linux: http://portaudio.com/download.html, download, configure, make, make install
|
|
|
osx: brew install portaudio
|
|
|
+
|
|
|
+add user to audio group: sudo usermod -a -G audio martin
|
|
|
+
|
|
|
+set up a virtualenv and install python requirements
|
|
|
+
|
|
|
+ensure that the root of this folder and the parent of speech_recognition are available in PYTHONPATH
|