Give some personality to your dreame vacuum by creating your own funny TikTok lady voice pack.
The script reads the text from the csv file in the funny TikTok ladys' voice and packages it for upload to your vacuum. It's been tested with a gen1 running Valetudo but should also work with other generations and with other ways of installing the voice pack.
You're doing a great job of disappointing me. Go on, go to the releases page and download a pre-created pack.
- curl to call the the funny TikTok lady voice generator API.
- ffmpeg and ffmpeg-normalize (
pip install ffmpeg-normalize
) to normalize the volume of the voice files. - ccrypt to package the wav files.
- jq to parse the json response from the funny TikTok lady voice generator API.
- base64 to decode the response data.
git clone
this repo- Change the lines in the csv file from the dreame default to something you want the funny TikTok lady to say.
- Run
./01-speak.sh
to generate the speech. - Run
./02-process.sh
to normalize the volume. - Run
./03-package.sh
to package the wav files. - Visit Valetudo in your browser (the IP of your vacuum) and go to Settings -> Sound and voice. Upload the generated .pkg file from the output/result directory and press 'Upload Voice Pack'.
- Done!
If you created a custom csv file, please be so kind to share it back so others can benefit from it.