[mary-users] Problem converting an arctic voice
René Berber
rberber at cactus-soft.dyndns.org
Fri Nov 10 22:08:53 CET 2006
Anna Hunecke wrote:
> Hi,
>
> actually, I think that there is an error in the instructions. The big
> text-file should be in the FreeTTS directory under
> com/sun/speech/freetts/en/us/cmu_us_clb_arctic/
Yes, it is.
Now the build finishes (with 2 minor complaints) and produces the
cmu_us_clb_arctic.bin file; and everything works fine using the voice with the
Mary client.
Except prosody and other ssml tags, but that is the same problem with the other
arctic voice.
> At the moment we are working on making the procedure of importing voices
> into MARY more easy. In the new release, everything will be better ;).
Good work.
Thanks for your reply Anna.
--
René Berber
>
> Best,
> Anna Hunecke
>
> René Berber wrote:
>> Hi,
>>
>> I followed the instructions on
>> http://mary.opendfki.de/wiki/ClunitImportTutorial
>> and after using FreeTTS to convert an arctic voice (which I tested with
>> FreeTTS's player and sounds very good) I ran into a problem at step 2.
>>
>> In that step it says that I'll find a text file with the voice name,
>> there are
>> several text files, some very big, but none has the voice name.
>> Here's what I have:
>>
>> rberber at black /c/Program Files/MARY TTS/lib/voices/cmu_us_clb_arctic
>> $ ll FreeTTS/
>> total 360M
>> drwxr-xr-x+ 2 rberber None 0 Oct 23 22:59 ./
>> drwxr-xr-x+ 30 rberber None 0 Oct 24 03:28 ../
>> -rwxr-xr-x 1 rberber None 56M Oct 23 23:04 mcep.txt*
>> -rw-r--r-- 1 rberber None 59 Oct 23 22:55 misc.txt
>> -rwxr-xr-x 1 rberber None 302M Oct 23 23:04 sts.txt*
>> -rw-r--r-- 1 rberber None 458K Oct 23 23:04 trees.txt
>> -rwxr-xr-x 1 rberber None 2.1K Oct 23 22:59 unit_catalog.txt*
>> -rwxr-xr-x 1 rberber None 1.5M Oct 23 23:04 unit_index.txt*
>> -rw-r--r-- 1 rberber None 88 Oct 23 23:04 weights.txt
>>
>> I tried using the largest file, made a copy as cmu_us_clb_arctic.txt
>> but the
>> actual compilation failed:
>>
>> rberber at black /c/Program Files/MARY TTS
>> $ ant clunit_voice_bin -Dclunit_voice=cmu_us_clb_arctic
>> Buildfile: build.xml
>>
>> clunit_voice_bin:
>> [java] Loading cmu_us_clb_arctic.txt
>> [java] Dumping cmu_us_clb_arctic.bin
>> [java] java.lang.NullPointerException
>> [java] at
>> de.dfki.lt.mary.unitselection.clunits.ClusterUnitDatabase.dumpBinary(ClusterUnitDatabase.java:586)
>>
>> [java] at
>> de.dfki.lt.mary.unitselection.clunits.ClusterUnitDatabase.main(ClusterUnitDatabase.java:688)
>>
>> [java] java.lang.NullPointerException
>>
>> BUILD SUCCESSFUL
>> Total time: 44 seconds
>>
>> Never mind what ant says, a zero size file was the result:
>>
>> $ ll lib/voices/cmu_us_clb_arctic/cmu_us_clb_arctic.bin
>> -rwxr-xr-x 1 rberber None 0 Nov 6 02:26
>> lib/voices/cmu_us_clb_arctic/cmu_us_clb_arctic.bin*
>>
>> And looking at the source, where the null pointer exception is thrown
>> (line 586:
>> os.writeInt(joinWeights.length);) it looks like the data on my .txt
>> file was not
>> what the compilation expected.
>>
>> Any one knows which text file is the correct one?
More information about the Mary-users
mailing list