General
how to produce triangle wave over time
Started by Softcore on .
Sign in or create an account to join the conversation.
Taken from the manual, we can use:
x = sin(time*2)*0.5+0.5 to produce x values that will form a sine wave.....
Is there a similar way to achieve x output for a triangle wave?
In fact what I want to achieve is for x to linearly move from 0 to 1 to 0 over time......Any suggestions?
Thanks!
x = sin(time*2)*0.5+0.5 to produce x values that will form a sine wave.....
Is there a similar way to achieve x output for a triangle wave?
In fact what I want to achieve is for x to linearly move from 0 to 1 to 0 over time......Any suggestions?
Thanks!
You might want to take a look at Jay's LModIT in the Lib . . . it seems to do . . . stuff! 
Hi
Maybe x=abs((time%2)-1) . . .
or as a function lfoTri(freq) = abs((time*freq%2)-1) with freq being the argument to vary the speed . . .
Can also modify these equations for amp and offset if needed . . .
Cheers
MM
Maybe x=abs((time%2)-1) . . .
or as a function lfoTri(freq) = abs((time*freq%2)-1) with freq being the argument to vary the speed . . .
Can also modify these equations for amp and offset if needed . . .
Cheers
MM
Thanks for the suggestions! 
Sorry,but I don't understand:
this is "x" from what object?
SignalScope?
What about the "y",so ?
this is "x" from what object?
SignalScope?
What about the "y",so ?
Doesn't have to be a Signalscope.
Could be any parameter you want to modulate.
Could even be a Y.
Could be any parameter you want to modulate.
Could even be a Y.