Description: Text To Speech plugin based on MaryTTS library
Type: - Categories: Speech Recognition & TTS
Development status: Beta version
Tested on: All platforms
Developer: Mauro Cicolella
This plugin can be used to speak any text when an event occurs. It is completely programmable using the automations system (IF this THEN say THAT).
It’s based on MaryTTS project (http://mary.dfki.de/project-summary.html).
Text to speech plugin comes with these predefined commands which can be attached to a trigger to create an automation (if you don’t know how to do read this chapter of the tutorial):
say current time
say current temperature of the thermometer
say electric device status
say door/window status
say readed motion level
which can be attached to any trigger to create automations like:
if an object is clicked -> say electric device status
a door becomes open -> say door/window status
...and so on
say current time
or any other command starting with “say” so you can use it as a template for yours@event.object.name
)Now your command will be available to be used in automations.
By default the plugin uses an English female voice. You can customize it by downloading a new voice, copying the jar file into FREEDOMOTIC_ROOT/plugins/devices/marytts/lib folder and modifying the marytts-manifest.xml file as reported in the following table.
Language | Voice | Link | Config parameters |
---|---|---|---|
English | Female | Already installed | <property name=’voice-jar-file’ value=’voice-cmu-slt-hsmm-5.1.1.jar’/> <property name=’voice’ value=’cmu-slt-hsmm’/> |
German | Male | http://mary.dfki.de/download/5.1/voice-bits3-hsmm-5.1.zip | <property name=’voice-jar-file’ value=’voice-bits3-hsmm-5.1.jar’/> <property name=’voice’ value=’bits3-hsmm’/> |
Italian | Female | http://mary.dfki.de/download/5.1/voice-istc-lucia-hsmm-5.1.zip | <property name=’voice-jar-file’ value=’voice-istc-lucia-hsmm-5.1.jar’/> <property name=’voice’ value=’istc-lucia-hsmm’/> |