Difference between revisions of "Activity Team/gst-plugins-espeak"

From Sugar Labs
Jump to navigation Jump to search
(New page: === gst-plugins-espeak === Uses eSpeak library as a sound source for GStreamer. === Usage === Plugin uses given text to produce WAV output. It adds new URI scheme gst-launch espeak://Hi...)
 
(rename lang(s) properties to voice(s))
Line 12: Line 12:
 
* '''pitch''' pitch adjustment, 0 to 99, default is 50
 
* '''pitch''' pitch adjustment, 0 to 99, default is 50
 
* '''rate''' speed in words per minute, 80 to 390, default is 170
 
* '''rate''' speed in words per minute, 80 to 390, default is 170
* '''lang''' use voice file of this name from espeak-data/voices
+
* '''voice''' use voice file of this name from espeak-data/voices
* '''langs''' read-only list of supported languages
+
* '''voices''' read-only list of supported voices/languages
  
 
Full example:
 
Full example:
  gst-launch espeak text="Hello world" pitch=99 rate=300 lang=default ! wavparse ! alsasink
+
  gst-launch espeak text="Hello world" pitch=99 rate=300 voice=default ! wavparse ! alsasink
  
 
=== Resources ===
 
=== Resources ===
 
* [http://git.sugarlabs.org/projects/gst-plugins-espeak Sources]
 
* [http://git.sugarlabs.org/projects/gst-plugins-espeak Sources]

Revision as of 16:47, 5 February 2009

gst-plugins-espeak

Uses eSpeak library as a sound source for GStreamer.

Usage

Plugin uses given text to produce WAV output.

It adds new URI scheme

gst-launch espeak://Hi ! wavparse ! alsasink

Supported properties:

  • text text to pronounce
  • pitch pitch adjustment, 0 to 99, default is 50
  • rate speed in words per minute, 80 to 390, default is 170
  • voice use voice file of this name from espeak-data/voices
  • voices read-only list of supported voices/languages

Full example:

gst-launch espeak text="Hello world" pitch=99 rate=300 voice=default ! wavparse ! alsasink

Resources