Custom voice prompt packages for Xiaomi\Roborock vacuums
This repo was the culmination of my personal efforts to get our new Roborock S5 gen2 vacuum (whom we affectionately started referring to as Philip, and then later Phil, but who came to us out of the box with a distinctly feminine voice package) to sound a little more British-butler-esque.
All credits to others for the research, time and free tools that allow us to both generate custom encrypted voice packages and conveniently upload them to our vacuums. Phil generated using UK English "Brian" from AWS Cloud's Polly service.
Along the way I had to refresh the prompt dictionary used by dustcloud's audio_generator script, as firmware v3.5.7_002008 shipped with a significant refresh of both existing prompts as well as 16 additional prompts. As far as I know, this voice package should be fully compatible with this present version as well as versions prior. If new prompts show up in future firmwares this will need to be updated.
If you simply want to use this voice package as built, then refer to the python-miio project linked above to get that properly setup. Once you've got a working python-miio package installed, this voice package can be easily uploaded by executing something along the lines of: mirobo --ip x.x.x.x --token your_token_here install-sound en_phil.pkg
While presently this repo only contains a voice package for Phil, if I am inspired at some point I may create more and post them here as well. If you are inspired and want to contribute here, let me know. If you have a great idea for a custom voice package but need help making it happen, perhaps a feature request is in order.