Buffer Analysis
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?
The info~ object will give you stuff like length and sample rate and some other stuff, but pitch and FFT stuff? Um, no.
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?
There are tools for this kind of stuff in the FTM library from Ircam. Not yet Max 5 though, but close....
Stefan
You could externals: [fiddle~] or Tristan Jehan's [analyzer~] for more info.
Jean-François.
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.
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.