Hello.

Im try add new voice and language (ru) in marytts. but.

in bin folder (original distributiv marytts  5.1.2) sample work fine

-

 

 

i copy voice-voxforge-ru-nsh-5.1.jar and folder voice with mry files to  folder MRL 1.0.1723

and add python script

 

from java.lang import String
 
mouth = Runtime.createAndStart("mouth1", "MarySpeech")
#mouth.setLanguage("ru")
mouth.setVoice("voxforge-ru-nsh")
#mouth.setVoice("cmu-slt-hsmm")
#mouth.speak("1")
what="Робот"
#what = unicode(what,'utf-8')
mouth.speak("ОДИН")
#mouth.speakBlocking(what)
 
 
but silent ( no errors. 

 

 

my inmoov can not speak) help

 

 

Mats

7 years 2 months ago

When I tested Swedish in MRL using AcapelaSpeech I had to convert the characters to UTF like this:

speech.speakBlocking(u"Jag pratar svenska och kommer från Göteborg")

I think you can assign unicode characters like this:

toSpeech = u'Привет мир'

mouth.speak(toSpeech)

 

dolphin_max

7 years 2 months ago

In reply to by Mats

Mats ) thanks.  

im try what = unicode(what,'utf-8') but not worked. 

u method worked !