ActiveNick / HoloBot

HoloBot is a reusable 3D interface that allows HoloLens & VR users to interact with any bot using Mixed Reality & Speech.
MIT License
124 stars 52 forks source link

HoloBot with other languages #17

Closed D33TW0 closed 4 years ago

D33TW0 commented 4 years ago

I was wondering if it is possible to change the input language of the bot.

I want to change the voice to german

Hope you can help me :-)

ActiveNick commented 4 years ago

Yes. Note that I'm still working on finalizing the new version for Unity 2018.4+ and MRTK v2.x, so the latest code you should use is in the Dev-2018.4-MRTKv2 branch. You can change the input language for the cloud-based Speech Recognizer here: https://github.com/ActiveNick/HoloBot/blob/2ef7bd125ac4e969aef6afb5eb999eae548361e1/Assets/Scripts/SpeechRecognition.cs#L51 For example, for German, you'd use "de-DE".