Triangle

krosullivan@gmail.com's icon

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.

robotic-audio's icon

Just plug phasor~ into triangle~

Max Patch
Copy patch and select New From Clipboard in Max.

Tim Lloyd's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

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

Roman Thilenius's icon

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