mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-12-02 18:08:08 +09:00
Updated README
This commit is contained in:
1 parent
357fdf2315
commit
9b964cd0de
2 files changed
+22
-5
No files matched your search
@@ -50,8 +50,10 @@ _Not all options working now!_
|
||||
--vosk Needs model
|
||||
|
||||
[extra]
|
||||
(-k Keep audio chunks) # In Progress
|
||||
--hyphenation (default) True|False
|
||||
(-k Keep audio chunks) # In Progress
|
||||
--hyphenation (default) True|False
|
||||
--disable_separation True|False
|
||||
--disable_karaoke True|False
|
||||
|
||||
[pitcher]
|
||||
--crepe (default) tiny|small|medium|large|full
|
||||
@@ -127,3 +129,12 @@ If you want solid accurate, then use the `full` model.
|
||||
```commandline
|
||||
-i XYZ --crepe full
|
||||
```
|
||||
|
||||
### Separation
|
||||
|
||||
The vocals are separated from the audio before they are passed to the models. If problems occur with this,
|
||||
you have the option to disable this function and the original audio file is used instead.
|
||||
|
||||
```commandline
|
||||
-i XYZ --disable_separation True
|
||||
```
|
||||
+9
-3
@@ -203,8 +203,10 @@ def print_help():
|
||||
--vosk Needs model
|
||||
|
||||
[extra]
|
||||
(-k Keep audio chunks) # In Progress
|
||||
--hyphenation (default) True|False
|
||||
(-k Keep audio chunks) # In Progress
|
||||
--hyphenation (default) True|False
|
||||
--disable_separation True|False
|
||||
--disable_karaoke True|False
|
||||
|
||||
[pitcher]
|
||||
--crepe (default) tiny|small|medium|large|full
|
||||
@@ -394,7 +396,7 @@ def do_audio_stuff():
|
||||
|
||||
def main(argv):
|
||||
short = "hi:o:amv:"
|
||||
long = ["ifile=", "ofile=", "crepe_model=", "vosk=", "whisper=", "hyphenation="]
|
||||
long = ["ifile=", "ofile=", "crepe_model=", "vosk=", "whisper=", "hyphenation=", "disable_separation="]
|
||||
|
||||
opts, args = getopt.getopt(argv, short, long)
|
||||
|
||||
@@ -420,6 +422,10 @@ def main(argv):
|
||||
settings.crepe_model_capacity = arg
|
||||
elif opt in ("--hyphenation"):
|
||||
settings.hyphenation = arg
|
||||
elif opt in ("--disable_separation"):
|
||||
settings.use_separated_vocal = not arg
|
||||
elif opt in ("--disable_karaoke"):
|
||||
settings.create_karaoke = not arg
|
||||
|
||||
if settings.output_file_path == '':
|
||||
if settings.input_file_path.startswith('https:'):
|
||||
|
||||
Reference in new issue
Block a user