Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/gst-plugins-espeak
(view source)
Revision as of 15:00, 9 March 2009
1 byte added
,
15:00, 9 March 2009
→Simple Python example
Line 45:
Line 45:
if message.type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR):
if message.type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR):
pipe.set_state(gst.STATE_NULL)<br>
pipe.set_state(gst.STATE_NULL)<br>
−
pipeline = 'espeak text="Hello
world
!" ! autoaudiosink'
+
pipeline = 'espeak text="Hello
, World
!" ! autoaudiosink'
pipe = gst.parse_launch(pipeline)<br>
pipe = gst.parse_launch(pipeline)<br>
bus = pipe.get_bus()
bus = pipe.get_bus()
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits