Restore previous speaking rate in SSML

This commit is contained in:
Michael Hansen 2022-05-10 13:33:27 -04:00
commit 41b240e192
2 changed files with 2 additions and 1 deletions

View file

@ -224,7 +224,7 @@
</div> </div>
<div class="row mt-3 justify-content-center"> <div class="row mt-3 justify-content-center">
<p id="privacy"> <p id="privacy">
<strong>Privacy:</strong> this website does not cache the text you send or the audio that is synthesized. <strong>Privacy:</strong> this website does not store the text you send or the audio that is synthesized.
</p> </p>
</div> </div>
</div> </div>

View file

@ -489,6 +489,7 @@ class SSMLSpeaker:
LOG.debug("prosody: %s", self._prosody) LOG.debug("prosody: %s", self._prosody)
self.tts.volume = self._prosody.volume self.tts.volume = self._prosody.volume
self.tts.rate = self._prosody.rate
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------