maximum~ problem

Aug 29, 2012 at 2:32am

maximum~ problem

Hi there, can you help me figure out why the maximum~ object doesn’t pass the ‘greater’ signal clean?
I am learning max and would like to contruct an instrument that differentiates the two incoming sound signals and pick the one with the greatest amplitude. Thank you!

– Pasted Max Patch, click to expand. –
Aug 29, 2012 at 2:53am

I fixed the mis-connection on the patch I posted, but it still does not pass the greater signal clean.

Aug 29, 2012 at 3:09am

Maximum~ doesn’t do what you think it does. It’s like a dynamic greater than less than. If one inlet sees a one and the other a zero, it passes the one. Audio signals jump all over the place.

What you want is a ducker/gate kind of thing. You need to analyze the volume of each signal (maybe using [peakamp]) and go from there.

Aug 29, 2012 at 5:45am

Thank you! I will go back to the drawing board and use the if then object (as attached) and analyze the signal dB and go from there. Thanks a lot!

I still don’t understand where the Maximum~ object would be utilized. I thought it was differentiating signals based on amplitude. There is a maximum for max that is very clear, but the msp one, I don’t understand. If anybody can clarify further, I will appreciate it.

– Pasted Max Patch, click to expand. –
Aug 29, 2012 at 12:28pm

You use it the same way as the max one, doing math comparisons, but at audio rate. Not really for actual audio.


You must be logged in to reply to this topic.