buffer~ sample position of max value

    Jan 29 2013 | 10:40 pm
    Hey all. I think I'm missing something easy, but I'm trying to find the sample position of the largest peak value in a buffer~. Specifically, I'm looking for the sample position of an impulse. I'm doing some localization by using time delay between mics and am looking for time differences between impulses. It seems like this should be relatively easy, but I'm missing something. Anyone have any ideas? Thanks so much!

    • Jan 29 2013 | 11:31 pm
      one way is to use peek~ and uzi:
    • Jan 30 2013 | 7:21 am
      Wow! Thanks Terry. Works like a charm! I've never really worked with peek~. Very cool and very clever. Thanks so much!