maximum~ problem

    Aug 29 2012 | 2:32 am
    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!

    • Aug 29 2012 | 2:53 am
      I fixed the mis-connection on the patch I posted, but it still does not pass the greater signal clean.
    • Aug 29 2012 | 3:09 am
      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 | 5:45 am
      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.
    • Aug 29 2012 | 12:28 pm
      You use it the same way as the max one, doing math comparisons, but at audio rate. Not really for actual audio.