Fork me on GitHub
Two or more anchor identifiers match each others. One of them will be modified. This error happens when some anchor identifiers are generated automatically and others are predefined. Or both are predefined and the operator made a mistake (maybe a copy & paste?)

MaryTTS Text To Speech

Submitted by Mauro Cicolella on 2015, January 8 - 20:58
Your rating: None Average: 5 (1 vote)
MaryTTS Text To Speech
Driver
Development Status: 
Beta Version
Developer: 
Mauro Cicolella
Tested on: 
Linux
Windows
Download Link: 
Short Description: 

Text To Speech plugin based on MaryTTS library

What it does

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).

How to install

You can install as usual from menu Plugins -> Install from Marketplace. For more info take a look at the users tutorial.

Automations examples

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 termometer
  • say electric device status
  • say door/window status
  • say readed motion level

these commands 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

How to create new custom commands

Right click on an object and switch to Automations tab. In command box write "say current time" or any other command starting with "say", so you can use it as a template for yours. Click the edit button. In the next window change the say property according to your needs (remembed you can use token substitution to insert variables like @event.object.name). Save as new command. Now your command will be available to be used in automations.

How to install better, natural sounding voices

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.

LANGUAGEVOICEDOWNLOAD LINKCONFIG PARAMETERS
EnglishFemaleAlready installed

<property name="voice-jar-file" value="voice-cmu-slt-hsmm-5.1.1.jar"/>

<property name="voice" value="cmu-slt-hsmm"/>

GermanMalehttp://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"/>

ItalianFemalehttp://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"/>

Source code

Hosted here.

Open Source Internet of Things Framework Drupal theme by Kiwi Themes.