The following doesn't play white noise followed by a sine wave
followed by white noise:

from pyglet import media
from pyglet.media import procedural


player = media.Player()
player.queue(procedural.WhiteNoise(2))
player.queue(procedural.Sine(1, 500))
player.queue(procedural.WhiteNoise(5))
player.eos_action = player.EOS_NEXT
player.play()
while player.source:
    player.dispatch_events()



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to