Hey guys
I've been using ramp to create 'timeline' animations similar to the effect in Resolume Arena. Unfortunately, I can't figure out how to modify it other than the speed. I'm hoping you can help me out with a few questions:
1. What modifiers should I use on a parameter (using no source as the input) so that it cycles between an exactly specified min/max range. For example, what if I want to ramp between 0.015 - 0.310 instead of 0.000 - 1.000 over and over?
2. Similarly, how do you do the same thing with an input parameter that has a range greater than 1.0?
Say the input value ranges from 0 to 100, but I want to only cycle between 20 - 65. How do I
A) set those min and max values, and
B) step through it 1 whole number at a time (ie - 20-21-22 etc and not 20.00 - 20.01 - 20.02)?
3. Is there a way to set up ramp so it counts up and then down between the values without changing speed? I messed around with the oscillators thinking that would work, but I couldn't figure out how to maintain a uniform speed as it cycled.
Thanks!
-djole
How to cycle specific input values?
Re: How to cycle specific input values?
You need to design a stack of modifiers to achieve your goal:
- The INCREASE can be considered the "Frames per second" as it is how much the value will increase over 1 second. Set it to your desired FPS.
The OFFSET is the starting point (20). This value is always added to the output and defines the minimum end.
The WRAP is the end point (65). If the specified value is exceeded it wraps to zero. (It's actually a MODULO operation returning the remainder).
The STEP is a limiter that rounds the value to the nearest whole multiple of the value.
Here's an example of using a TRI Oscillator to count up and down from 20 to 65 to 20.
Cheers!
Re: How to cycle specific input values?
Yup that's mostly correct, although for the Ramp/Sin/Tri modifiers, you don't need the Wrap after the Offset. You also don't need the Step if the parameter accepts whole numbers only (as is the case with the JpegFolder Index), because the value is automatically rounded down.
Here is the simplest case: You can see that 35.267 becomes 35.
And here is basically the same concept, but using a Ramp instead of a Tri, and using values below 1 instead of above: So that would be the answer to your first question. The general formula is to start with your oscillator of choice, then scale by the range (.31-.015 = .295), then offset to set the starting point (.015).
The answer to your third question would be to just replace Ramp with Tri Osc.
Here is the simplest case: You can see that 35.267 becomes 35.
And here is basically the same concept, but using a Ramp instead of a Tri, and using values below 1 instead of above: So that would be the answer to your first question. The general formula is to start with your oscillator of choice, then scale by the range (.31-.015 = .295), then offset to set the starting point (.015).
The answer to your third question would be to just replace Ramp with Tri Osc.
Re: How to cycle specific input values?
Thanks for the clarification Eric.