Skip to content

Commit

Permalink
updated quality and sample rate of playHT
Browse files Browse the repository at this point in the history
  • Loading branch information
m5a0r7 committed Nov 17, 2023
1 parent f9e28d3 commit 7d519bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vocode/streaming/synthesizer/updated_play_ht_synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ async def create_speech(
)

options = self.pyht.TTSOptions(voice=self.synthesizer_config.voice_id)
options.sample_rate = 16000
options.quality = 'normal'
print(message.text)
# for chunk in self.client.tts(message.text, options):
# print(chunk)
Expand Down

0 comments on commit 7d519bd

Please sign in to comment.