Activity Team/gst-plugins-espeak: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 45: | Line 45: | ||
==== Python examples ==== | ==== Python examples ==== | ||
To use gst-plugins-espeak in Python: | To use gst-plugins-espeak in Python: | ||
* setup regular gstreamer | * setup regular gstreamer environment | ||
* plugin's name is ''espeak'' | * plugin's name is ''espeak'' | ||
* all writable properties(including '''text''') make sense only at start playing; to apply new values you need to stop ''pipe.set_state(gst.STATE_NULL)'' pipe and start it again with new properties ''pipe.set_state(gst.STATE_PLAYING)''. | * all writable properties(including '''text''') make sense only at start playing; to apply new values you need to stop ''pipe.set_state(gst.STATE_NULL)'' pipe and start it again with new properties ''pipe.set_state(gst.STATE_PLAYING)''. | ||
Note: the examples below are for GTK+ 2 and GStreamer 0.10, and are yet to be ported to GTK+ 3 and GStreamer 1.0, there are more recent examples in the GTK+ 3 toolkit for Sugar, and in activities. | |||
===== Simple example ===== | ===== Simple example ===== | ||
| Line 224: | Line 226: | ||
== Known issues == | == Known issues == | ||
* espeak-ng requires v0.5.0, or on Debian and Ubuntu use package version 0.4.0-3 or later, which has Debian Bug #877750 fix. | |||
* '''espeak-word''' with espeak < 1.40.09 doesn't track words with numbers(at least full-numered words) in proper way | * '''espeak-word''' with espeak < 1.40.09 doesn't track words with numbers(at least full-numered words) in proper way | ||
* if you are tracking '''espeak-word''' with espeak < 1.40.10 you should use gst-plugins-espeak-0.3x(or 0.3 branch in git repository) | * if you are tracking '''espeak-word''' with espeak < 1.40.10 you should use gst-plugins-espeak-0.3x(or 0.3 branch in git repository) | ||
| Line 238: | Line 241: | ||
== Contacts == | == Contacts == | ||
* [[User:Alsroot|Aleksey Lim]] | * [[User:Alsroot|Aleksey Lim]] | ||
* [[User:Quozl|James Cameron]] | |||
* be involved and add yourself here | * be involved and add yourself here | ||
=== Resources === | === Resources === | ||
* [http://git.sugarlabs.org/projects/gst-plugins-espeak Sources] | * [https://github.com/sugarlabs/gst-plugins-espeak Sources] | ||
* [http://git.sugarlabs.org/projects/gst-plugins-espeak Previous Sources] | |||
* [http://download.sugarlabs.org/sources/honey/gst-plugins-espeak/ Tarballs] | * [http://download.sugarlabs.org/sources/honey/gst-plugins-espeak/ Tarballs] | ||
[[Category:Activity Team]] | [[Category:Activity Team]] | ||