Page 1 of 1
Looping fader ?
Posted: 26 Jan 2012 21:42
by hakr
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 !
Re: Looping fader ?
Posted: 27 Jan 2012 03:56
by Phil999
hakr wrote:
In fact, I'd like to have a sort of endless looping fader...
that's easy with Lemur. Set the friction parameter to 0, or better create a fader to control this value.
Does this make sense?
Re: Looping fader ?
Posted: 27 Jan 2012 09:13
by hakr
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 - ....
Re: Looping fader ?
Posted: 27 Jan 2012 17:59
by Phil999
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).
Re: Looping fader ?
Posted: 27 Jan 2012 18:22
by hakr
Thanks phil,
Already tried this work around...
it seems to be something like that, but can't find the right formula (very bad coding skill...)
Work in progress...
Re: Looping fader ?
Posted: 26 Feb 2012 17:30
by hakr
Hi liinerz,
Is someone have a solution ?
Many test but didn't find the right way to script this...even if it looks simple...
Thanks !!
Re: Looping fader ?
Posted: 26 Feb 2012 18:29
by mat
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/Lemurt ... fader.html
cheers
mat