Skip to content

Commit

Permalink
added --pitch back in argparse
Browse files Browse the repository at this point in the history
  • Loading branch information
scott306lr committed Aug 30, 2023
1 parent afd4ba8 commit 84a4a09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edge_tts/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ async def _run_tts(args: Any) -> None:
proxy=args.proxy,
rate=args.rate,
volume=args.volume,
pitch=args.pitch,
)
subs: SubMaker = SubMaker()
with open(
Expand Down Expand Up @@ -97,6 +98,7 @@ async def amain() -> None:
)
parser.add_argument("--rate", help="set TTS rate. Default +0%%.", default="+0%")
parser.add_argument("--volume", help="set TTS volume. Default +0%%.", default="+0%")
parser.add_argument("--pitch", help="set TTS pitch. Default +0Hz.", default="+0Hz")
parser.add_argument(
"--words-in-cue",
help="number of words in a subtitle cue. Default: 10.",
Expand Down

0 comments on commit 84a4a09

Please sign in to comment.