I am using the minim library to play a sound file in processing. I have 8 frames that I use a four point interpolation to animate through which is working well.
I move through the animation by indexing my array of points, but right now it is a simple "timer++". What I would like to do, is base the increment speed on the frequency of the sound file, so that it will appear to be animating in time with the music.
My question is how do I get the frequency of the sound file?