Demo of Mycroft voice command bot like Alexa or Siri with a simple docker-compose file
Go to file
HugoPoi d879e45021 Add some other notes 2020-10-11 15:29:58 +02:00
.mycroft Initial working setup 2020-10-11 15:15:08 +02:00
deepspeech Initial working setup 2020-10-11 15:15:08 +02:00
README.md Add some other notes 2020-10-11 15:29:58 +02:00
docker-compose.yml Initial working setup 2020-10-11 15:15:08 +02:00
setup.sh Initial working setup 2020-10-11 15:15:08 +02:00

README.md

Demo setup for Mycroft powered by Deepspeech

  1. run ./setup.sh for downloading models and scorer for deepspeech engine
  2. then docker-compose up is all you need
  3. After Mycroft will ask you to register it on https://home.mycroft.ai/devices

Notes

  • For setup audio correctly this was really helpfull
  • Trying audio with audiotest is VERY helpfull docker-compose run --entrypoint /bin/bash mycroft then ./start-mycroft.sh audiotest -l
  • I have pulseaudio on my setup so device index 12 was pulse for me, then I had to select the correct default device for pulse with pactl list sources short and pactl set-default-source 2. And device_index is the alsa index NOT the pulseaudio index.
  • I launch the pactl commands inside the docker bash of mycroft but I think it doesn't matter because it communicate with you host pulseaudio server
  • If you remove stt section in .mycroft/mycroft.conf Mycroft will default to Google Speech to Text remote engine ( yes useless for privacy )
  • Deepspeech engine, is not very good, but I think some config tweak and maybe a better stereo mic can help.
  • So Mycroft only require a account on home.mycroft.ai for skills I think, because it requires some APIs tokens for the basic skills like weather, news, and jokes. (need to investigate on that part)