Nth had maximum value?

    May 20 2006 | 7:22 am
    Dear Maxers,
    I'm trying to map some fft data to MIDI and need two values from a list; the
    maximum value in that list (easy enough with [maximum]) AND the position in
    the list that had that value (should be easy enough but I'm not getting it).
    Any ideas on how to do this?
    Many thanks,
    max v2;

    • May 20 2006 | 9:30 am
      hi christopher,
      [Ltop] from peter elsea's Lobjects does exactly that.
      one possible "native" max solution is below.
    • May 20 2006 | 12:32 pm
      hi volker,
      many thanks for this and the [Ltop]!