2021-05-31 09:49:52 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
:start
|
|
|
|
set choice=
|
|
|
|
set /p choice=Are you processing instrumental outputs? [Y/N]:
|
|
|
|
if not '%choice%'=='' set choice=%choice:~0,1%
|
|
|
|
if '%choice%'=='Y' goto inst
|
|
|
|
if '%choice%'=='y' goto inst
|
|
|
|
if '%choice%'=='N' goto vocals
|
|
|
|
if '%choice%'=='n' goto vocals
|
|
|
|
if '%choice%'=='' goto inst
|
|
|
|
|
|
|
|
:inst
|
|
|
|
ECHO Ensembling Instruments...
|
|
|
|
set modelparam=1band_sr44100_hl512
|
|
|
|
cd /d %~dp0
|
|
|
|
|
2021-07-05 07:50:45 +02:00
|
|
|
python lib/spec_utils.py -a min_mag -m modelparams\%modelparam%.json %* -o "%~n1_Ensembled_Instruments"
|
2021-05-31 09:49:52 +02:00
|
|
|
ECHO Complete!
|
|
|
|
goto end
|
|
|
|
:end
|
|
|
|
pause
|
|
|
|
exit
|
|
|
|
:vocals
|
|
|
|
ECHO Ensembling Vocals...
|
|
|
|
set modelparam=1band_sr44100_hl512
|
|
|
|
cd /d %~dp0
|
|
|
|
|
2021-07-05 07:50:45 +02:00
|
|
|
python lib/spec_utils.py -a max_mag -m modelparams\%modelparam%.json %* -o "%~n1_Ensembled_Vocals"
|
2021-05-31 09:49:52 +02:00
|
|
|
ECHO Complete!
|
|
|
|
goto end
|
|
|
|
:end
|
|
|
|
pause
|
2021-07-05 07:50:45 +02:00
|
|
|
exit
|