Heya,
I can’t for the life of me get any meaningful output from the “spectral centroid” parameter of the audioAnalysis module. It’s meant to represent the average frequency (to simplify), but seems super slooooow / out of phase with what’s going on in the sound. All the other low/mid/his parameters are plenty snappy.
I have replicated this on a very simple setup: fileIn >audioAnalysis
I am really bummed because this seems like such an interesting way to get more from music than just volume.
Would love to get some pointers, in case I’m missing something.
To try it out for yourself, simply use fileIn and the audioAnalysis module, and any sound that has some clear pitch shifting.