-
Notifications
You must be signed in to change notification settings - Fork 1
Installation and Usage
Ziping Liu edited this page Jul 18, 2018
·
15 revisions
-
Build Sphinxbase and Pocketsphinx. Follow their readme's. Run the following to set paths.
export LD_LIBRARY_PATH=/usr/local/lib export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
-
Install pulseaudio. Install pavucontrol. Install alsa-oss. Install libsound2-dev. Install alsa-lib.
-
Place 99-gpio.rules into /etc/udev/rules.d/ directory.
-
Run
sudo udevadm control --reload-rules
-
In the spicerack directory, run
make
-
Run
sudo alsactl init
-
Run
chmod 777 spicerack
-
Run
./spicerack -inmic yes
-
For keyword spotting, run
./spicerack -inmic yes -hmm pocketsphinx/model/en-us/en-us -dict assets/7701.dic -kws assets/spicecommands.txt -kws_threshold 0.01 -kws_plp 1e-1