Skip to content

Commit

Permalink
Fix incorrect default pitch argument
Browse files Browse the repository at this point in the history
Signed-off-by: rany <[email protected]>
  • Loading branch information
rany2 committed Nov 4, 2023
1 parent 054d305 commit 0fde5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/edge_tts/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ async def async_get_tts_audio(self, message, language, options=None):
tts = EdgeCommunicate(
message,
voice=voice,
pitch=opt.get('pitch', '+0%'),
pitch=opt.get('pitch', '+0Hz'),
rate=opt.get('rate', '+0%'),
volume=opt.get('volume', '+0%'),
)
Expand Down

0 comments on commit 0fde5d9

Please sign in to comment.