smooth acceleration of a ramp
time question: I would like to do something similar than [line] does with one difference:
When [line] ramps from A to B and the time in ms gets changed it jumps back to A and starts over from there.
I would like to have an behavior where i can accelerate/slow down this value smoothly while the ramp keeps going without resetting.
Ideally i would also like to control the output interval/grain as well Independent from the "acceleration"
Don't send a message box like "A, B $1" (by your description, I assume that's you're doing).
Send instead a message with just the target "B $1".
There are some options, but perhaps you would be better served with the slide object...
Interesting use of the slide object! Thx! Its not exactly what i was trying to ask. Basically i need a Floating value between A and B where I can dynamically and seamlessly vary the time it need for that transition.
Its basically what [~phasor] is doing i found now. Whats the best way of translating a signal into a float?
there is only [shapshot~] to do this and it has the additional feature of variable rate you are looking for.
imho i don't know what needs to be smoothed, in audio vs command time, and integer vs float
here a mode to substract elapsed time, needs some patching work to deal
maybe curve~ ?
Basically i need a Floating value between A and B where I can dynamically and seamlessly vary the time it need for that transition. Its basically what [~phasor] is doing i found now. Whats the best way of translating a signal into a float?
You want to change the speed while its running?
try this:
If you want the speed as value, instead of the time until the target is reached, you need to calculate the new time out of the current position and the target...
thx you guys interesting suggestion but I think my question was a little misleading.
what i want to have is basically something that works exactly like [phasor~] but with a float as output / where you dont need to turn audio on in order to make it function.
phasor~ works at samplerate: 44'100/s. 48'000 etc. Mindest timegrain of line is 1 ms.: 1000/s.
you can use [gen] to create an event-domain oscillator