[sugar] resetting the sound in Pippy: csound initialize? or reset?
O Flores
omar.flores.i.t at gmail.com
Wed Sep 10 15:21:25 EDT 2008
Hi,
I am running the following code in Pippy:
p=[]
for sound in getSoundList(): #the list of sounds in the default example
Sound: getSoundList
p.append(sound)
for i in range(1,len(p)):
print("Now playing a: " + p[i])
playWave(sound=p[i], loop=True, duration=2)
audioOut()
It works but the sounds are not cleared before sounding the next sound.
Does anyone know how to reset the playWave()? Or do I need to reset the
audioOut()?
Thanks in advance
Omar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20080910/3591c36c/attachment.htm
More information about the Sugar
mailing list