mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +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,
|
proxy=args.proxy,
|
||||||
rate=args.rate,
|
rate=args.rate,
|
||||||
volume=args.volume,
|
volume=args.volume,
|
||||||
|
pitch=args.pitch,
|
||||||
)
|
)
|
||||||
subs: SubMaker = SubMaker()
|
subs: SubMaker = SubMaker()
|
||||||
with open(
|
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("--rate", help="set TTS rate. Default +0%%.", default="+0%")
|
||||||
parser.add_argument("--volume", help="set TTS volume. 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(
|
parser.add_argument(
|
||||||
"--words-in-cue",
|
"--words-in-cue",
|
||||||
help="number of words in a subtitle cue. Default: 10.",
|
help="number of words in a subtitle cue. Default: 10.",
|
||||||
|
Loading…
Reference in New Issue
Block a user