Forums > MaxMSP

Triangle

July 21, 2009 | 1:54 pm

Quick question. How do you convert a signal coming from [phasor~] in a triangle wave? I’m aware of the mathematics but I just can’t seem to translate it into max.


July 21, 2009 | 2:51 pm

Just plug phasor~ into triangle~

– Pasted Max Patch, click to expand. –

July 21, 2009 | 5:08 pm

Or plug phasor~ into a [trapezoid 0.5 0.5] which will give you a triangle wave with the same amplitude as the phasor signal.

– Pasted Max Patch, click to expand. –

I’m not sure if this has any advantages for what you’re doing, its just another way.


July 21, 2009 | 7:12 pm

or fold it at 0.5, then do * 2. then – 0.5 .


Viewing 4 posts - 1 through 4 (of 4 total)