Javadoc link
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):
#########################################
# 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)

steveh110

7 years 8 months ago

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?

GroG

7 years 8 months ago

In reply to by steveh110

Hello Steve,
Thank you for creating this service!  What type of tutorial did you have in mind?
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.
 
Bonjour Steve,
Merci d'avoir créé ce service! Quel type de tutoriel avez-vous à l'esprit?
J'ai juste ajouté un VoiceRss.py qui devient l'un des exemples de mrl. Mais, je ne sais pas ce que vous aimeriez voir.

Hi GroG,
I was thinking about a tutorial on how to create a new service.
1.- Or put the different files of the service ".jar .java"
2.- How to push the new service on github.
3.- which file to edit for compilation
Thank you in advance
 
Salut GroG,
Je pensais plutôt à un tuto sur la façon de créer un nouveau service.
1.- Ou placer les différents fichier du service  « .jar .java » 
2.- Comment pousser le nouveaux service sur github.
3.- quel fichier modifier pour la compilation
Merci d’avance
 
 
Example configuration (from branch develop):
!!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