Add "checkmate" sound to robot voice #16220
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello.
Previously the Robot voice was only able to say 'check', which was a little jarring.
Due to no signs of how the previous robot sound was generated, I used coqui-ai/TTS
tacotron2
.The mp3 and ogg were generated from
ffmpeg
, not sure if they need some special compression.To accommodate the new checkmate sound, I made symlinks in the sounds from "Check.mp3/ogg" → "Checkmate.mp3/ogg.
This follows the idea "Missing sounds are replaced with a symlink to another sound" which was suggested in #594.
I didn't regenerate the "Check" sound for robot, because although
tacotron2
sounds great onCheckmate
, itsCheck
had a click I didn't like. The other models I tried sound better onCheck
, but worse onCheckmate
. I can find a new model if its important to have the same voice.Its likely I made some errors in the code, but the new sound does work in my dev environment.
Resolves issue #12004