Activity Team/gst-plugins-espeak: Difference between revisions
m moved Walter is a wanker 10/gst-plugins-espeak to Activity Team/gst-plugins-espeak over redirect: revert |
No edit summary |
||
| Line 16: | Line 16: | ||
* '''voice''' use voice file of this name from espeak-data/voices | * '''voice''' use voice file of this name from espeak-data/voices | ||
* '''gap''' Word gap. Pause between words, units of 10mS at the default speed, default is 0 | * '''gap''' Word gap. Pause between words, units of 10mS at the default speed, default is 0 | ||
* ''' | * '''track''' track events | ||
** '''0''' do not track any events (default) | ** '''0''' do not track any events (default) | ||
** '''1''' track word events (see [[#Track words example]]) | ** '''1''' track word events (see [[#Track words example]]) | ||
| Line 24: | Line 24: | ||
==== Events ==== | ==== Events ==== | ||
Gstreamer uses separate threads and user should use gst.Bus messages(are processed in main gtk thread) instead of native GObject events. To use messages you need to setup ''' | Gstreamer uses separate threads and user should use gst.Bus messages(are processed in main gtk thread) instead of native GObject events. To use messages you need to setup '''track''' property. These are supported gst.Bus messages (see): | ||
* '''espeak-word''' before speeching a word, message properties: | * '''espeak-word''' before speeching a word, message properties: | ||