Skip to content

Instantly share code, notes, and snippets.

@sytone
Last active March 3, 2016 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sytone/1c20ed2b3b855f14be95 to your computer and use it in GitHub Desktop.
Save sytone/1c20ed2b3b855f14be95 to your computer and use it in GitHub Desktop.
Get Jasper running on PI
#Set sound card to my USB one by default.
sudo nano /etc/modprobe.d/alsa-base.conf
:: ADD to FILE
options snd-usb-audio index=0
options snd_bcm2835 index=1
# Audio record test.
arecord --vumeter=stereo test2.wav --device=sysdefault:CARD=HD5000
pocketsphinx_continuous -adcdev sysdefault:CARD=HD5000 -nfft 2048 -samprate 48000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment