mirror of
https://github.com/rany2/edge-tts
synced 2024-11-21 17:29:07 +00:00
added --pitch back in argparse
This commit is contained in:
parent
afd4ba8fee
commit
84a4a091cc
@ -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(
|
||||
@ -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.",
|
||||
|
Loading…
Reference in New Issue
Block a user