Forums > MaxMSP

amplitude between zero crossings

Oct 16 2008 | 2:27 am


i would like to get the peak amplitude (or rms – or both :) between individual zero crossings.

that is, have any wave input (complex, sine whatever), then measure the amplitude (peak/rms) between every time it crosses zero..


this is tied in with my earlier quest for time between zero crossings and i was hoping that the answer to that would help me with this, however it doesnt :P

Oct 16 2008 | 2:29 am

i am on windows xp with max 4.5


Oct 20 2008 | 11:29 am

any help at all >.<

i am trying to create a patch that will process a complex wave input, using the time between zero crossings (converted to freq) as an input to a cycle~ ,then use an amplitude setting from within the appropriate section of the wave/input to control the cycle~ amplitude..

effectively smoothing out all those nasty jagged bits in a complex wave :P

Oct 21 2008 | 7:02 pm

This should simple enough in c++ but in maxmsp I find these seemingly trivial things to be difficult.

May I suggest tracking RMS using average~ in RMS mode (and perhaps low pass filtering the input signal). Not quite what you’re looking for but I think the result will be similar.


Oct 21 2008 | 7:03 pm

*duplicate post*

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

Forums > MaxMSP