Forums > MaxMSP

amplitude between zero crossings

October 16, 2008 | 2:27 am

hi,

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..

thnaks,

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

http://www.cycling74.com/forums/index.php?t=msg&goto=154139&rid=7826&S=5252dd7a8a8117c924d437ab0d09a27d#msg_154139


October 16, 2008 | 2:29 am

oh,
i am on windows xp with max 4.5

:)


October 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


October 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.

Ross


October 21, 2008 | 7:03 pm

*duplicate post*


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