Fix rate and pitch for system tts

Closes #2545
This commit is contained in:
Cohee
2025-02-28 22:18:53 +02:00
parent 40720971c5
commit e91387c60b

View File

@ -51,6 +51,8 @@ var speechUtteranceChunker = function (utt, settings, callback) {
}
newUtt.lang = utt.lang;
newUtt.voice = utt.voice;
newUtt.rate = utt.rate;
newUtt.pitch = utt.pitch;
newUtt.addEventListener('end', function () {
if (speechUtteranceChunker.cancel) {
speechUtteranceChunker.cancel = false;