Spencer Slovenian Speech support
1. Pregenerated sentences
Most of the things Spencer say, are pre-generated files stored on Spencer storage. See sentences.txt and sentences.sh.
You need to upload this mp3s to Spencer storage using SerialUploader.
2. Speech to intent
For Spencer to understand other languages you need own speech to intent service. Default speech to intent service is for English. This repository contains proof of concept speech to intent service consumed by Spencer. Service URL can be configured in Spencer Firmware. See SpeechToIntent class for details.
3. Text to speech
Spencer comes with built-in text to speech synthesis service.
Speech service support
For Slovenian I used Azure speech services since Google speech services (Spencer's default) does not support Slovenian language. For languages supported by Google speech, you just need to change the language code and pregenerate sentences (step 1).
Result
License
MIT