Speak to your Cozmo! (Again, on Raspbian Jessie…)

As before, generally, you can follow these instructions – https://forums.anki.com/t/controlling-cozmo-via-voice-commands/1183

But, again, I have deltas.  Namely –

1) sudo pip3 install SpeechRecognition
2) sudo apt-get install libjack-jackd2-dev portaudio19-dev
(Well, actually, I tried all these, in this order, and the last thing was #2, above) – (all with ‘sudo’) –

  pip3 install PyAudio  (NOPE!)
  apt-get install libportaudio libportaudio-dev portaudio19-dev python-pyaudio python3-pyaudio (BLARG!)
  apt-get install libportaudio-dev portaudio19-dev python-pyaudio python3-pyaudio (BLARG! BLARG!)
  apt-get install libportaudio-dev portaudio18-dev python-pyaudio python3-pyaudio (TRIPPLE-BLARG!)
  apt-get install libportaudio-dev portaudio-dev python-pyaudio python3-pyaudio   (NOT-ALL-BLARG)
  apt-get install libportaudio-dev python-pyaudio python3-pyaudio  (BLARGY-ISH!)
  pip3 install PyAudio  (NOPE #2!)
  apt-get install libportaudio2
  pip3 install PyAudio  (NOPE #3!)
  apt-get install libjack-jackd2-dev portaudio19-dev   (FINALLY, A TOTALLY-NOT-BLARG!)
  pip3 install PyAudio  (YEP!!)  =)

3) Install this fine code – https://gist.github.com/raproenca/ed1ab47c47da246512ef4d2f19cf2611

Might want to check this other code, which is supposed to be a similar effort – https://github.com/rizal72/Cozmo-Voice-Commands

Happy Talking (not-blarg)!

– Squirrel01