We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Delaying sounds playback Ess.AudioStream
Page Index Toggle Pages: 1
Delaying sounds playback Ess.AudioStream (Read 533 times)
Delaying sounds playback Ess.AudioStream
Feb 23rd, 2007, 9:55pm
 
Hello!

I'm working on a sound-based game, which involves processing the sound and generating the game play based on a few factors. Anyways...

I'm using the AudioStream object from the Ess library to read and playback an MP3, and that's working fine, but I'd like to be able to process the sound, but delay the playback by, say 4 seconds. Any thoughts on how to do this? There has to be a more efficient way than simply running two streams, using one to process and the other to play back.

Thanks!
Page Index Toggle Pages: 1