Skip to content

Commit

Permalink
Update azure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mercuryyy authored Sep 25, 2024
1 parent 539210f commit cfa4128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipecat/services/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def run_tts(self, text: str) -> AsyncGenerator[Frame, None]:
f"<voice name='{self._voice}'>"
"<mstts:silence type='Sentenceboundary' value='20ms' />"
"<mstts:express-as style='lyrical' styledegree='2' role='SeniorFemale'>"
"<prosody rate='1.05'>"
f"<prosody rate='{self._speed}'>"
f"{text}"
"</prosody></mstts:express-as></voice></speak> "
)
Expand Down

0 comments on commit cfa4128

Please sign in to comment.