amplitude between zero crossings

Oct 16, 2008 at 2:27am

amplitude between zero crossings


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 at 2:29am

i am on windows xp with max 4.5


Oct 20, 2008 at 11:29am

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 at 7:02pm

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 at 7:03pm

*duplicate post*


You must be logged in to reply to this topic.