Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Nick Freear/SimpleSpeak filter.

User:Nick Freear/SimpleSpeak filter: Difference between revisions

From MoodleDocs
(Initial SimpleSpeak page - TTS services)
 
(→‎TTS service: , Adding 'WebAnywhere')
Line 28: Line 28:
Note, currently (May 2011) we need a service that returns an MP3 file:
Note, currently (May 2011) we need a service that returns an MP3 file:


* [http://www.jtalkplugin.com/ jTalkPlugin]. Uses LAM and Festival. They've recently exposed their API, eg.
* [http://www.jtalkplugin.com/ jTalkPlugin]. Uses LAME and Festival. They've recently exposed their API, eg.
   http://speech.jtalkplugin.com/api/?usecache=true&speech=Hello+world
   http://speech.jtalkplugin.com/api/?usecache=true&speech=Hello+world
* [http://vozme.com/ VozMe]. Just discovered via the excellent [https://addons.mozilla.org/en-us/firefox/addon/text-to-voice/ Text to voice addon] for Firefox. Exposes a popup Flash player - not directly useable yet, eg.
* [http://vozme.com/ VozMe]. Just discovered via the excellent [https://addons.mozilla.org/en-us/firefox/addon/text-to-voice/ Text to voice addon] for Firefox. Exposes a popup Flash player - not directly useable yet, eg.
   http://vozme.com/text2voice.php?lang=en&gn=ml&text=Hello+world
   http://vozme.com/text2voice.php?lang=en&gn=ml&text=Hello+world
* [http://translate.google.com/ Google Translate].
* [http://translate.google.com/ Google Translate].
   http://translate.google.com/translate_tts?q=Hello+world
   http://translate.google.com/translate_tts?lang=en&q=Hello+world
* [http://wa.cs.washington.edu/ WebAnywhere non-visual web interface]. [http://code.google.com/p/webanywhere/ Source code on Google Code].
 


To use, log in to Moodle as admin, go to Site Admin | Plugins | Filters | SimpleSpeak, and enter the service URL in the settings form. Eg.
To use, log in to Moodle as admin, go to Site Admin | Plugins | Filters | SimpleSpeak, and enter the service URL in the settings form. Eg.

Revision as of 09:04, 7 May 2011

SimpleSpeak TTS filter

A Moodle filter to provide speech synthesis (text-to-speech/ TTS) services for arbitrary text. Text such as `[Speak] Hello world! [/Speak]` is replaced with a button with the text as a label. Press the button, and the text is spoken!

This is beneficial, for example, when teaching younger children, teaching languages, and for accessibility to those with disabilities.

Requirements: tested with Moodle 1.9.7 and 2.0.2 (all Moodle 1.9.x and 2.0.x should work). Requires Javascript. Requires a TTS service (see below).

Uses: jQuery (v1.3.2).



TTS service

You can install local software, eg. use eSpeak/LAME, see WebAnywhere for ideas. Or it could be a third-party service. There are a number of TTS services emerging on the Web. I've been wary of saying to much, because in many cases I'm unclear on their terms of use. Please check with the service before proceeding. (And I accept no responsibility for your use of the services.)

Note, currently (May 2011) we need a service that returns an MP3 file:

  • jTalkPlugin. Uses LAME and Festival. They've recently exposed their API, eg.
 http://speech.jtalkplugin.com/api/?usecache=true&speech=Hello+world
  • VozMe. Just discovered via the excellent Text to voice addon for Firefox. Exposes a popup Flash player - not directly useable yet, eg.
 http://vozme.com/text2voice.php?lang=en&gn=ml&text=Hello+world
 http://translate.google.com/translate_tts?lang=en&q=Hello+world


To use, log in to Moodle as admin, go to Site Admin | Plugins | Filters | SimpleSpeak, and enter the service URL in the settings form. Eg.

 http://speech.jtalkplugin.com/api/?usecache=true&speech=!TEXT

More to follow!