FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   Sound delay
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Sound delay  (Read 1255 times)
flight404

WWW Email
Sound delay
« on: Jun 15th, 2003, 3:58am »

www.flight404.com/p5/bouncers10
 
Okay, I will be the first to admit that the sound component of this piece is not only unnecessary, but highly annoying.  However, being that I don't yet understand what the hell I am doing, I am not surprised.
 
I simply modified the [rocha] example so that the sample array is determined by the distance from the swarm object to the swarm centerpoint.  Mostly static pops.
 
My question is regarding the sound delay.  Is this par for the course?  Is there a way to compensate in a way other than holding off on the render until it would match up with the sound?
 
Secondly, what is the ETA for documentation about the sound features in P5?
 
REAS


WWW
Re: Sound delay
« Reply #1 on: Jun 20th, 2003, 1:46pm »

i hope to launch the sound documentation with release #56 next week.
 
the sound delay is a contraint from having high control over the sound and the java 1.1 technology. carlos implemented simple sound code (only for sample playback) that has much less delay. when we decide to remove some older browsers, require java plugin, and/or remove operating systems from our list of supported platforms, we can write new sound code to remove the delay.  
 
i've heard that there is no delay with safari on OS X.
 
skloopy

WWW
Re: Sound delay
« Reply #2 on: Jun 27th, 2003, 8:28pm »

I's using the latest Safari and there's still a delay :^(
 
Maybe if the code was written so that if a later version of java (java2?) was available then it would use the no-delay code. Would that be really hard to maintain?
 
REAS


WWW
Re: Sound delay
« Reply #3 on: Jul 1st, 2003, 7:07pm »

The sound code is all Java 1.1 for compatibility with OS 9 and browser virtual machines. This is what causes the delay.
 
flight404

WWW Email
Re: Sound delay
« Reply #4 on: Jul 5th, 2003, 1:37am »

Doh.  Made a piece using Rochas sound object and pieces from the zoom (image) example.  
 
www.flight404.com/p5/video/videoMod4.mov
 
This is a quicktime without the sound, but the sound input adjusts the depth of the image in conjunction with the brightness of that pixel.  Looking forward to sound documentation to see about using the webcam mic as the sound source.
 
kmcdonald

suparcomputar WWW
Re: Sound delay
« Reply #5 on: Oct 14th, 2003, 7:44pm »

on Jul 1st, 2003, 7:07pm, REAS wrote:
The sound code is all Java 1.1 for compatibility with OS 9 and browser virtual machines. This is what causes the delay.

 
It would be *really cool* if there was a way to export using a different code base for applications that *needed* to not have delay. Whether the removal of the delay is acheived this way or by some other means... I will be looking forward to it ^_^
 
Pages: 1 

« Previous topic | Next topic »