Skip to content

Instantly share code, notes, and snippets.

@tana3n
Last active February 25, 2020 14:51
Show Gist options
  • Save tana3n/b8320cbc7754addbd9ec8e372ee4f2e6 to your computer and use it in GitHub Desktop.
Save tana3n/b8320cbc7754addbd9ec8e372ee4f2e6 to your computer and use it in GitHub Desktop.
xmlをD&DしてNEUTRINOの出力やるやつ
@echo off
setlocal enabledelayedexpansion
: NEUTRINO Path
cd /d E:\Desktop\NEUTRINO
: Project settings
set NumThreads=0
: OutputFileName
set OutTmpFile=%~dpn1
set OutFile=%~dpn1
: NEUTRINO
set ModelDir=model\KIRITAN
: WORLD
set PitchShift=1.0
set FormantShift=1.0
echo %date% %time% : start MusicXMLtoLabel
bin\musicXMLtoLabel.exe %~dpnx1 %OutTmpFile%_full.lab %OutTmpFile%_mono.lab
echo %date% %time% : start NEUTRINO
bin\NEUTRINO.exe %OutTmpFile%_full.lab %OutTmpFile%_timing.lab %OutFile%.f0 %OutFile%.mgc %OutFile%.bap %ModelDir%\ -n %NumThreads% -t
echo %date% %time% : start WORLD
bin\WORLD.exe %OutFile%.f0 %OutFile%.mgc %OutFile%.bap -f %PitchShift% -m %FormantShift% -o %OutFile%_syn.wav -n %NumThreads% -t
echo %date% %time% : end
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment