[maemo-developers] [maemo-developers] sounds through pygtk?

From: Gustavo Sverzut Barbieri barbieri at gmail.com
Date: Tue Jul 25 20:59:52 EEST 2006
On 7/25/06, Thanos Panousis <pthanos at gmail.com> wrote:
> Hello list,
>
> I am searching for a way to produce sounds in a pygtk application running on
> maemo. Like, a callback to a function that produces a dialog box, with a
> bell sound.
>
> Found no way to do it in python though. Any suggestions?

I'm not aware of any GTK way to do it, but you can use GStreamer and
play anything with it.

Basically you use parse_launch() and give it a pipeline as a string...
you can test it using gst-launch (installable using apt-get from
terminal). For an python example for 770, see:
http://code.gustavobarbieri.com.br/eagle/examples/player-maemo.py

GStreamer bindings are provided with python2.4 runtime for Maemo2.0 (ITOS2006).

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net

More information about the maemo-developers mailing list