Forums > MaxMSP

Waveform Drawing/History

October 8, 2012 | 10:19 pm

Hey!

I’m trying to control the amplitude of samples in a waveform with a potentiometer. Essentially I want to have it on or off depending on where the potentiometer is. With one pass from 0-127 from the potentiometer, I can add 1 to the waveform, and from 127-0 I can subtract 1 so the waveform is empty. The problem is I can’t figure out how to record the history of data coming from the potentiometer, and relay that to ether add or subtract to the waveform. I attached an example of my problem.

Thanks for any help!

– Pasted Max Patch, click to expand. –

October 9, 2012 | 1:26 am

This is what I’ve come up with so far. Its just about what I want it to do, but its slightly buggy. Any clean up suggestions would be real helpful!

– Pasted Max Patch, click to expand. –

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