
88

Valetudo Dreame Z10 Pro Voice Packs Guide
source link: https://gist.github.com/xmesaj2/33af535ee9eb37c947135042c4ebb4c0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Valetudo Dreame Z10 Pro Voice Packs Guide · GitHub
Instantly share code, notes, and snippets.
Valetudo Dreame Z10 Pro Voice Packs Guide
- Install Valetudo
- Backup files with SCP and to make a list of all of them
scp -i key.id_rsa [email protected]:/audio/EN/* backup/
- Download/create your .wav files, save as
0.wav
1.wav
etc. https://github.com/Findus23/voice_pack_dreame/blob/main/sound_list.csv use this for reference which file is which sound to avoid listening to original files to find out - Normalize WAV and convert to OGG.
I used WSL Ubuntu 20.04 on Win11 (install
vorbis-tools
,ffmpeg
)
mkdir ogg
cp backup/* ogg/
filenames=("7" "8" "10" "11" "12" "13" "18" "30" "41" "45" "110" "149" "151")
for filename in ${filenames[@]}; do ffmpeg -i "${filename}.wav" -filter:a loudnorm=I=-14:LRA=1:dual_mono=true:tp=-1 "${filename}_n.wav" && oggenc "${filename}_n.wav" --output "${filename}.ogg" --bitrate 100 --resample 16000; done
mv *.ogg ogg/
cd ogg
tar czf ../voicepapa.tar.gz *.ogg
md5sum ../voicepapa.tar.gz
- Serve files. I use (PowerShell/CMD, not WSL!!) https://dashboard.ngrok.com/get-started/setup) and python 3
python -m http.server 8000 --bind 0.0.0.0
ngrok http 8000
- Open ngrok url in web browser, right click
voicepapa.tar.gz
"copy link" - Go to Valetudo eg. http://192.168.1.101/#/robot/settings/misc language VA, hash from md5sum command
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK