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!
how to produce triangle wave over time
Re: how to produce triangle wave over time
You might want to take a look at Jay's LModIT in the Lib . . . it seems to do . . . stuff!
Re: how to produce triangle wave over time
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: how to produce triangle wave over time
Thanks for the suggestions!
Re: how to produce triangle wave over time
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 ?
Re: how to produce triangle wave over time
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.