From a06aa56facf931da8cc97160e560140873eda19f Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Tue, 14 Jan 2025 17:44:19 -0500 Subject: [PATCH] feat: add two step synthesis to the regression suite --- everyvoice/tests/regression-test.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/everyvoice/tests/regression-test.sh b/everyvoice/tests/regression-test.sh index 354e33ff..0af09728 100644 --- a/everyvoice/tests/regression-test.sh +++ b/everyvoice/tests/regression-test.sh @@ -77,6 +77,18 @@ r "coverage run -p -m everyvoice synthesize from-text \ '$FS2'" # TODO: check the synthesized files, somehow +# Exercise two-step synthesis +r "coverage run -p -m everyvoice synthesize from-text --output-type spec --text 'Test via spec.' '$FS2'" +r "coverage run -p -m everyvoice synthesize from-spec \ + --input synthesis_output/synthesized_spec/Test-via-spec---speaker_0--eng--spec-pred-22050-mel-librosa.pt \ + --vocoder-path '$VOCODER'" + +# Exercise DeepForceAligner +# Meh, this appears to be broken... +#r "coverage run -p -m dfaligner train config/everyvoice-aligner.yaml --config-args training.max_epochs=$EPOCHS" +#r "coverage run -p -m dfaligner extract-alignments" + + # 7: spin up the demo # everyvoice demo $FS2 $VOCODER &