Old modules and plugins

Note: This database has been replaced by the Moodle Plugins Directory.

Page: ()  1 ...  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55 ...784   ()

Filter: SimpleSpeak text-to-speech

Alphabet Quiz - "A" apple
Type: Filter
Requires: Moodle 1.9 or later
Status: Contributed
Maintainer(s): Nick Freear

A 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. 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 Readme.

Uses:  jQuery (v1.3.2).

Installation

  1. Download and unzip the code files. Copy to the directory on the server, eg.
      /var/www/moodle/filter/simplespeak/
  2. Log in to Moodle as admin, visit `Site Administration | Modules | Filters | Manage Filters`. Scroll down and click on the icon for Simplespeak to enable it.
  3. Choose SimpleSpeak under Filters, and add a TTS service. Or set in config.php, eg.
    $CFG->simplespeak_service_url =
      'http://example.org/cgi-bin/espeak/getsound.pl?lang=!LANG&text=!TEXT';
    The string can contain two placeholders, !TEXT and optionally !LANG (language). This service can be local, or third-party - see Readme.
  4. Ensure that the directory $CFG->dataroot is writeable by the Apache user, or create a writeable cache directory,
      $CFG->dataroot/simplespeak/cache/

Usage

Simple example. Enable the filter (admin). Then, type the following in a Moodle resource:

  [Speak] Hello world! [/Speak]

Links



Record added by Nick Freear - Wednesday, May 4, 2011, 4:22 AM
Last modified - Sunday, May 8, 2011, 8:04 PM
Page: ()  1 ...  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55 ...784   ()