Buffer Analysis

    Mar 11 2009 | 2:36 pm
    does anyone know of ways to analyse the content of a buffer to gain info on what's inside it? e.g. length, pitch, spectral information?

    • Mar 11 2009 | 3:21 pm
      The info~ object will give you stuff like length and sample rate and some other stuff, but pitch and FFT stuff? Um, no.
    • Mar 11 2009 | 3:44 pm
      is it then a case of analysing the audio itself?
      i was wondering if there was a way to implement something like an SDIF analysis in MSP?
    • Mar 16 2009 | 10:43 am
      There are tools for this kind of stuff in the FTM library from Ircam. Not yet Max 5 though, but close....
    • Mar 16 2009 | 1:06 pm
      You could externals: [fiddle~] or Tristan Jehan's [analyzer~] for more info.
    • Mar 16 2009 | 1:11 pm
      I hope that the final Max5 version of FTMlib loads in such a manner that internal lib functions (like yyparse()) aren't 'exposed'. Right now it's a real problem for rtcmix~ and chuck~, and I imagine it will be a problem for other developers in the future.
    • Mar 16 2009 | 1:48 pm
      I use Thomas Grill's VASP external for this, it works offline so you don't have to play the buffer through analyzer~ to get useful info, it is a bit involved though and all the best example patches are in pd.