Fix rate and pitch for system tts Closes #2545

e91387c60bbf39bdef7afe1f71690c054cf2851f

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -0Ignore whitespace
public/scripts/extensions/tts/system.js+2 -0
@@ -51,6 +51,8 @@ var speechUtteranceChunker = function (utt, settings, callback) {
5151 }
5252 newUtt.lang = utt.lang;
5353 newUtt.voice = utt.voice;
54+ newUtt.rate = utt.rate;
55+ newUtt.pitch = utt.pitch;
5456 newUtt.addEventListener('end', function () {
5557 if (speechUtteranceChunker.cancel) {
5658 speechUtteranceChunker.cancel = false;