General

Looping fader ?

Started by hakr on .

Sign in or create an account to join the conversation.

7 posts

Topic starter
Hi everybody,

Try to make something like that :
I have a fader with mass-spring physics, when it reach it's highest value (1), it logically came back in the other way, ect...
I would like that when my fader reach it's extrem value, it came directly to it's opposite one... (When it comes to 1 : directly back to 0 ) and follow its action (due to its mass-spring comportment)
In fact, I'd like to have a sort of endless looping fader...

Hope I'm clear enough... (sorry for my rough english...)

Thanks for ur help !
Hey Phil !

Thanks for your answer, but its prove that my question wasn't clear enough...
No problem with the physics here...
In fact, when the fader reach an extrem value (0 or 1) i don't want it to change is way... I try to make it "follow" the same direction
Exemple : Fader (with mass spring physics and no friction) state = 0; I Push it ; When it reach 1 I want its to drop to 0 (without decrementing...)

Likes this (where ">" or "<" is the motion direction of the fader and "-" a drop) :

0 > 1 - 0 > 1 - 0 > 1 - 0 > 1 - 0 > 1 - 0 > 1 - ....
thank you hakr, now I understand what you meant. Some kind of sawtooth function for a fader. Too bad I don't exactly know how to express such things. It must be something like

if x=1 then x-1

without losing the momentum (speed, acceleration).
Hey,

+1 for a tutorial about how to implement a sawtooth wave

...funny, I just mentioned this somewhere else for using SignalScope. So yes, there is a way to implement that movement on a fader.
But I am not sure if that is what hakr wants, because it does not behave like physics. I will overwrite your manual handling of the fader :/
Or am I wrong?

I once wrote a short tutorial for programmed movement on the lemur, if that helps...
http://www.tonvibration.de/extra/Lemurtutorial_laggingfader.html

cheers
mat