NaturalReaderSpeech

javadoc

( no guarantee for qos )

Updated voice list : print speech.getVoices() or use GUI

Examples:


#file : service/NaturalReaderSpeech.py edit raw
#########################################
# NaturalReaderSpeech.py
# description: Natural Reader based speech service.
# categories: speech
# more info @: http://myrobotlab.org/service/NaturalReaderSpeech
#########################################


# start the service
speech = Runtime.start("Speech", "NaturalReaderSpeech")
speech.setVoice(u"Korean_Seoyeon")
speech.speakBlocking(u"내 로봇 연구소는 너무 강력하다")
#setRate is -x/0/+x
speech.setRate(-50)
speech.setVoice(u"US-English_Ronald")
speech.speakBlocking(u"Hey, Watson was here!")
#unicode test
speech.setVoice(u"French_Chloé")
speech.speakBlocking(u"coucou les francophones")

hairygael's picture

Gee Grog!!Since today

Gee Grog!!

Since today 06/11/2017 NaturalReaderSpeech doesn't work anymore.

Last night it was still working fine.

Did something happen while I was sleeping?

Ahaha!

I get this:

22:31:49.481 [python.interpreter.2] INFO  c.myrobotlab.audio.AudioProcessor - playing file : audioFile\NaturalReaderSpeech\Ryan\5f19b1b551d53aecf279dbd9317987f4.mp3  mode : blocking trackId : 1510003909481004
22:31:49.560 [default:track] INFO  c.myrobotlab.service.AudioFile - Audio File publishAudioEnd
22:31:49.560 [default:track] INFO  c.myrobotlab.audio.AudioProcessor - notifying others
22:31:49.562 [python.input] INFO  c.myrobotlab.framework.Service - Start listening event seen.
22:31:49.693 [New I/O worker #16] WARN  c.myrobotlab.codec.ApiFactory - msg . --> runtime.getEnvironments() - 1510003909693

 

GroG's picture

Same thing as Google,

Same thing as Google, Acapela, and many others ..  they changed the interface, require a token, and requie payment for access.

This will continue, until we get funds and infrastructure to purchase a communal license, or we focus on improving MaryTTS.