Forums > MaxMSP

drawing a triangular wave

August 5, 2010 | 7:54 pm

hello
I’m trying to model a triangular wave but the only way I could thnk about was with a recursive line command, Do you have any other way of doing it, so then I can control the frequency?
this is an example of the wave I’m producing (very simple!!)

– Pasted Max Patch, click to expand. –

August 5, 2010 | 8:06 pm

If you need an audio rate triangle wave, then tri~ is the first thing to check out. If you want a non-bandlimited triangle wave, try this:

– Pasted Max Patch, click to expand. –


yas
August 5, 2010 | 8:11 pm

or triangle~ for non-bandlimited


August 5, 2010 | 8:12 pm

Oh ye…….. lol

I shouldn’t post things here so fast, I forget things :)


August 5, 2010 | 8:13 pm

great thx a lot tim!!


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