› Forums › Speech Synthesis › Merlin › Alisa for alignment
- This topic has 1 reply, 2 voices, and was last updated 8 years, 6 months ago by Simon.
-
AuthorPosts
-
-
June 11, 2016 at 14:59 #3255
Hello, I am using Alisa to do segmentation and alignment.
I have labelled with silence the first wav, which is aprox 13 minutes, and converted the labels to the required format using the script convertWavesurferLabels.py
I have created my own copy of the template config file, and when I run it I get this error: “Not enough input filenames specified”.
I have emulated what was done with the example wav and text files in the Alisa toolkit. I have 1 wav file labelled with silence. The text file is of the full book. The rest of the wav files (one for each book chapter) are in the rawWavs folder.
Error QUOTE:
———————————————
READING THE CONFIGURATION FILE
———————————————
OUTPUT FOLDER: /Users/s1566512/Desktop/ALISA1.5/testData/MattiaPascal_output/
INPUT FOLDER FOR RAW SPEECH: /Users/s1566512/Desktop/ALISA1.5/testData/MattiaPascal_rawWavs/
SILENCE MARKED SPEECH FILE: /Users/s1566512/Desktop/ALISA1.5/testData/mattiapascal_01.wav
LABEL FOR ABOVE SPEECH FILE: /Users/s1566512/Desktop/ALISA1.5/testData/mattiapascal_01.lab
SPTK FOLDER: /Users/s1566512/Desktop/ossian_msc_2016_test/Ossian/tools/dnn_tts/tools/SPTK-3.7/bin/
METHOD FOR SEGMENTATION: 1
CONCATENATE FILES SHORTER THAN: 5 sec
———————————————
CONFIG READ OK!
———————————————
—————————————-
VAD with GMM Start
Initial Wav File – mattiapascal_01.wav
—————————————-
Now calculating the initial GMMs. .
Traceback (most recent call last):
File “scripts/vad/VAD.py”, line 1404, in <module>
main(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7])
File “scripts/vad/VAD.py”, line 1332, in main
val = gmm_vad(wDir, initWav, cFile, lFile, worDir, sptkDir)
File “scripts/vad/VAD.py”, line 328, in gmm_vad
initSampRate = float(p.stdout.readline().strip())
ValueError: could not convert string to float: sox FAIL sox: Not enough input filenames specifiedUNQUOTE
Thanks
-
June 11, 2016 at 17:44 #3257
Remember that you can modify (and improve!) the code. Here, it looks like you should add some debugging around the place where the error occurs. For example, print out the sox command just before executing it.
-
-
AuthorPosts
- You must be logged in to reply to this topic.