Setup
example
You will need an api key from http://www.voicerss.org. Quality is good. Its has slow responses, but the files will be cached.
Free key offer 100kB limit per textual data.
Voices list ( edit 7/12/2018 ) :
VoiceName | Gender | Language |
Lei |
female |
ca-es |
Hui |
female |
zh-cn |
Jiao |
female |
zh-hk |
Ju |
female |
zh-tw |
Ella |
female |
da-dk |
Eva |
female |
nl-nl |
Agnes |
female |
en-au |
Chloe |
female |
en-ca |
Mary |
female |
en-gb |
Aditi |
female |
en-in |
Sally |
female |
en-us |
Ansa |
female |
fi-fi |
Adelle |
female |
fr-ca |
Adyelya |
female |
fr-fr |
Anna |
female |
de-de |
Alessandra |
female |
it-it |
Akari |
female |
ja-jp |
Su |
female |
ko-kr |
Anette |
female |
nb-no |
Agata |
female |
pl-pl |
Analia |
female |
pt-br |
Balei |
female |
pt-pt |
Anastasia |
female |
ru-ru |
Isabella |
female |
es-mx |
Camila |
female |
es-es |
Elsa |
female |
sv-se |
Example code (from branch develop):
#file : VoiceRss.py (github)
######################################### # VoiceRss.py # categories: speech # more info @: http://myrobotlab.org/service/VoiceRss ######################################### mouth = runtime.start("mouth", "VoiceRss") #possible voices ( selected voice is stored inside config until you change it ) print ("these are the voices I can have", mouth.getVoices()) print ("this is the voice I am using", mouth.getVoice()) # You sould't not expose keys here, inside gui is a good place # But you can do it here ( only once is enough ) # An AES safe is used to store keys # mouth.setKey("voicerss.api.key","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") mouth.setVoice("Sally") mouth.speakBlocking("it works, yes I believe it does") mouth.setVolume(0.7) mouth.speakBlocking("Silent please") mouth.setVolume(1)
Example configuration (from branch develop):
#file : VoiceRss.py (github)
!!org.myrobotlab.service.config.VoiceRssConfig blocking: false key: null listeners: null mute: false peers: audioFile: autoStart: true name: voicerss.audioFile type: AudioFile speechRecognizers: null substitutions: null type: VoiceRss voice: null
thank GroG
Thank you GroG for the addition of my service on mrl.
Will you have a tutorial for the creation and publication on github of new service?
merci GroG pour l'ajout de mon service sur mrl.
Aurai tu un tuto pour la création et la publication sur github de nouveau service?
Hello Steve, Thank you for
I just added a VoiceRss.py which becomes one of mrl's examples. But, I am not sure what else you would like to see.
Topic
about length I saw 100kB
about length I saw 100kB limit per textual data