List Info

Thread: sounds through pygtk?




sounds through pygtk?
user name
2006-07-25 16:58:23
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?
sounds through pygtk?
user name
2006-07-25 17:59:52
On 7/25/06, Thanos Panousis <pthanosgmail.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/exampl
es/player-maemo.py

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

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbierigmail.com
   MSN: barbierigmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692sip.stanaphone.com
   GPG: 0xB640E1A2  wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
sounds through pygtk?
user name
2006-07-26 13:28:44
Thanos,

do you have an access to hildon_play_system_sound()?

That's what I use to play a quick sound bite.

-Vlad

On Tue, 2006-07-25 at 18:58 +0200, Thanos Panousis 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? 
> _______________________________________________
> maemo-developers mailing list
> maemo-developersmaemo.org
> h
ttps://maemo.org/mailman/listinfo/maemo-developers
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )