Patch Time value changes

jersmi's picture

Hello Kineme,

Does anyone have a method for not having timebase patches (Interpolation, LFO, etc.) change output value when a parameter gets changed?

Also, I cannot figure out a clean method for generating pulses at random time intervals. Any tips would be greatly appreciated. See attached, i think i need a fresh approach, and it's probably simpler than i am making it.

PreviewAttachmentSize
randomPulse.qtz86.35 KB

franz's picture
Re: Patch Time value changes

receipe for random pulse: (among others): random patch that generates values between -0.5 and +0.5 -> conditional: is greater than 0 -> pulse patch on raising edge

usefuldesign.au's picture
Re: Patch Time value changes

Quote:
Does anyone have a method for not having timebase patches (Interpolation, LFO, etc.) change output value when a parameter gets changed?

You have to set up your calculation so that you have an accumulated value that represents the value one frame ago and then adjust that according to the parameters you've now got. I've done it but I can't think where and how exactly. I can't seem to open any of my Leopard comps in Lion as yet... :-/

As an analogy think of how you use v=d/t and a=v/t to plot the position of an object over time. Changing the acceleration at some point shouldn't shift it for the whole duration as far as the calculations are concerned — just from there on. So your new position will not jump as if that new acceleration was always the acceleration of that object.

jersmi's picture
Re: Patch Time value changes

Ok, thanks to both. Come to think of it, my problem comes with combining both problems, combining interpolation and ramping in gradual random fluctuations, then back out to smooth interp. I'll think about it, might be over thinking....

jersmi's picture
Re: Patch Time value changes

Ok, I was confused by too much futile trial and error. Here is a method for changing timebase to slow down / speed up / change direction without jumping to a new output value. It appears the answer lies in the Integrator patch. (Seems to make sense because of the meaning of "integration").

PreviewAttachmentSize
StopWatch_Random.qtz81.77 KB