Is pyglet's audio player thread safe? If so, you could launch 2 threads, and then have them both queue up the parts, then wait 'til they're both ready, and start playing, then check every second or whatever with the audio player to see what their current time is and if they're off sync by too much then pause one for some milliseconds or slow down the play rate?
On Sat, Oct 24, 2009 at 11:27 PM, ClayRab <[email protected]> wrote: > > Hi everyone, > I'm writing a little game and it would be VERY nice to have > synchronized audio. I.E. two parts(instruments) from the same song > playing simultaneously. Can anyone advise me how to go about getting > this behavior? > Thanks in advance! > Clayton Rabenda > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
