We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Monitor the pitch/frequency of a song in minim
Page Index Toggle Pages: 1
Monitor the pitch/frequency of a song in minim? (Read 562 times)
Monitor the pitch/frequency of a song in minim?
Apr 21st, 2009, 11:33am
 
Hi, I was wondering if anyone knows how to have Minim monitor the pitch(or frequency) of a playing MP3 file. I'm using the method below to play the sound file:-

 song = minim.loadFile("test.mp3", 1024);
 song.play();

Ideally I would just like it to return a float about the current pitch at that moment in time. I imagine this has something to do with analyzing the amplitude of the sound over a period of time and then returning a value; but honestly I wouldn't know where to start!

Thanks,

Matt
Page Index Toggle Pages: 1