Restore previous speaking rate in SSML
This commit is contained in:
parent
918c692d53
commit
41b240e192
2 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue