[sugar] chimes

Chris Ball cjb
Sat Oct 6 18:20:34 EDT 2007


Hi Erik,

   > Where is good sample code for playing a chime or short sound in a
   > sugar activity?  I suppose that c-sound might be the right tool?
   > Gstreamer seems like too much overhead.

Here's a csound way, as used by Pippy:

import sys
sys.path.append('/usr/share/activities/Pippy.activity/sound')
from sound import *
playWave(sound='triangle')
audioOut()


- Chris.
-- 
Chris Ball   <cjb at laptop.org>



More information about the Sugar-devel mailing list