[mary-users] HMMVoiceDataPreparation

Nickolay V. Shmyrev nshmyrev at yandex.ru
Mon Dec 7 04:17:30 CET 2009


В Сбт, 05/12/2009 в 13:05 +0100, Thorsten Westermann пишет:
> Thank you for the improvement of the code to start the AudioConverterGUI. 
> I had some strange problems running it (e. g. I check "Conversion from Stero to Mono, and then the program tells me that only Mono files are supported, and also I think my sox is somehow misconfigured). But maybe that was related to my initial problem:
> 
> For some strange reason my audio files were so strangely headed that they were recognized as Mono by any audio program although they were in fact stereo. So thanks for the help again. It works now that I have re-recorded them.
> 
> All works fine (all steps successfully completed), except to the point in the AudioTools where it comes to HMMVoiceDataPreparation.
> 
> It exits with the following error message:
> 
> (...)
> /home/Westermann/voice6/wav/audio_0098.wav --> /home/Westermann/voice6/data/raw/audio_0098.raw
> /home/Westermann/voice6/wav/audio_0099.wav --> /home/Westermann/voice6/data/raw/audio_0099.raw
> java.lang.Exception: The component HMMVoiceDataPreparation produced the following exception: 
> 	at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:294)
> Caused by: java.lang.RuntimeException: wav2raw computation failed on file [/home/Westermann/voice6/]!
> Command line was: [/home/Westermann/voice6/data/scripts/wav2raw.sh /home/Westermann/voice6/wav /home/Westermann/voice6/data/raw].
> 	at marytts.tools.voiceimport.General.launchProc(General.java:515)
> 	at marytts.tools.voiceimport.HMMVoiceDataPreparation.compute(HMMVoiceDataPreparation.java:199)
> 	at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:291)
> 
> Do you perhaps have any more of your great ideas what might be the problem here?

Hi Thorsten

Basically there is a script which you can run by hand

/home/Westermann/voice6/data/scripts/wav2raw.sh /home/Westermann/voice6/wav /home/Westermann/voice6/data/raw

and which will do everything correctly but will not return proper exit
status $0. Try 

echo $?

after running this command to see exit status

Probably your last file audio_0099 is truncated and that's why error is
returned.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?=
 =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?=
 =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?=
 =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?=
 =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=
Url : http://www.dfki.de/pipermail/mary-users/attachments/20091207/1214cc8b/attachment.pgp 


More information about the Mary-users mailing list