|
|
5 yıl önce | |
|---|---|---|
| .vscode | 10 yıl önce | |
| hass | 5 yıl önce | |
| lib | 9 yıl önce | |
| resources | 10 yıl önce | |
| voice_control | 7 yıl önce | |
| .gitignore | 7 yıl önce | |
| README.md | 7 yıl önce | |
| hass-snips-readme.txt | 6 yıl önce | |
| requirements.txt | 7 yıl önce |
Voice Control
Linux:
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
PortAudio:
[PortAudio is very old -- should probably not use this]
linux: http://portaudio.com/download.html, download, configure, make, make install
osx: brew install portaudio
jackd1, portaudio
add user to audio group: sudo usermod -a -G audio martin
aptitude install pulseaudio
https://unix.stackexchange.com/questions/114602/pulseaudio-sink-always-suspended http://jackaudio.org/faq/pulseaudio_and_jack.html
upgrade to buster, see if updated pulseaudio works better
set up a virtualenv, install python requirements, and link to a speech_recognition and snowboy dist folder from inside the venv python lib folder
environment variables: