TringaliLuca

mycroft-italian.sh

Sep 29th, 2019
125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. wget http://steinerdatenbank.de/software/mbrola3.0.1h_armhf.deb
  3. sudo dpkg -i mbrola3.0.1h_armhf.deb
  4. rm mbrola3.0.1h_armhf.deb
  5. sudo apt-get install mbrola-it3 mbrola-it4
  6. sudo apt-get install espeak
  7.  
  8. cat << EOF | tee ~/.mycroft/mycroft.conf
  9. {
  10.   "max_allowed_core_version": 19.2,
  11.   "lang": "it-it",
  12.   "stt": {
  13.     "module": "mycroft",
  14.     "mycroft": {
  15.       "lang": "it-it"
  16.     }
  17.   },
  18.   "tts": {
  19.     "module": "espeak",
  20.     "espeak": {
  21.       "lang": "it-it",
  22.       "voice": "m3"
  23.     }
  24.   }
  25. }
  26. EOF
  27.  
  28. #Hey mycroft, come stai?
  29. #Hey mycroft, canta!
  30. #Hey mycroft, ricordami di comprare il pane tra 5 minuti
RAW Paste Data