Buffer waveform- apply triangle (half) -- reverse??

Wil's icon
Max Patch
Copy patch and select New From Clipboard in Max.

In the example below I am applying a triangle wave to a sin wave (hanning works as well). I am also applying 'triangle half' to sin wave so the wave values begin large and taper off towards the end of the cycle. How do I apply 'reverse triangle' so the wave begins small and grows over time?

Wil's icon

"one ping only"

Charles Matthews's icon

Not really answering your question directly, but you could make your window in a separate buffer and apply it by multiplying the two together.

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

I threw this together with peek~, using the inverted ramp from the help file

Hope that's of some help!

Wil's icon

exactly! thanks. i kept getting this result intermittently when had 2 patches open with the same named buffers and peek. but i couldn't trace how it was happening.