Javadoc link

 

हैलो!

This is another speech synthesis service. But this one will give possibility to your bot to speak Hindi language.

(Maybe your local operating system can speak Hindi too, so SAPI can do the job)

This is a cloud service, you need an API key to access the service. There is free/demo API : http://indiantts.com/

Requests will be locally cached, maybe you can use it for free everyday...

When I tested this, I had some difficulties to get my API key. This is a trick to get your API key :

1/ Open source code off the page, after you logged on this one:

2/ Search for this ( variableConfig.API_host )

Example code (from branch develop):
#########################################
# IndianTts.py
# description: used as a general template
# more info @: http://myrobotlab.org/service/IndianTts
#########################################
 
tts=runtime.start("tts", "IndianTts")
 
# 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
# tts.setKeys("USER_ID","API")
 
tts.speak(u"नमस्ते भारत मित्र")

sunilskar

6 years 6 months ago

HI Moz4r sir,

 

This is perfectly working. Thanks a lot for update.

great work done sir.

 

Hi sunilskar !
If you can speak to inmoov, and if inmoov can respond to you in hindi that is great.
So we can do the step 2 ? ( translate more things )

Hi , 

yes we are doing the same. 

and try to replace command in  _inmoovGestures.aiml.

the inmoov respond the command.

pls. let us know how to change the voice ( like male voice or low pitch voice).

thanks and regards.

Dear Sir,

Need one more help from your end .

how we could we play any mp3. file for a perticular command. also need mic should be in sleep mode till the mp3 play.

the command like a "Hello" or any such command .

Hi sunilskar , here is 2 samples used to launch an audiofile based on voice command :

simple command : https://github.com/MyRobotLab/inmoov/blob/develop/InMoov/chatbot/bots/e…

fonction launch : https://github.com/MyRobotLab/inmoov/blob/develop/InMoov/chatbot/bots/e…

The last build is fixed about microphone and audiofile, it will no listen anymore : http://34.201.4.170/deploy/develop/myrobotlab.jar

You can publish your traduction work here for others ( you can zip files if you want ) : https://github.com/MyRobotLab/inmoov/issues/101

the audio command working perfectly.

But there will be no movement of JAW along with that mp3 audio.

can it be possible .

thanks 

Example configuration (from branch develop):
!!org.myrobotlab.service.config.IndianTtsConfig
blocking: false
listeners: null
mute: false
peers:
  audioFile:
    autoStart: true
    name: indiantts.audioFile
    type: AudioFile
  http:
    autoStart: true
    name: indiantts.http
    type: HttpClient
speechRecognizers: null
substitutions: null
type: IndianTts
voice: null