you'll need to apply a fourier transform to obtain frequency data from a sound wave. you'll need to encode that yourself.
I already have the FFT from the computeSpectrum()...
I was using the highest peaks assuming that this is the correct funtamental frequency, but I was getting funny results.
After spending hours in various blogs, discoverd that hightest peak is not always the fundemantal frequency...
So now I'm trying to understand autocorrelation to apply it in Flash!
the fundamental frequency would normally be the lowest pitch frequency. but with all the pitch bleeding from flash'es handling of sound, i would expect you to have difficulty picking it out.
I'm afraid is not the lowest or highest...
If you check here:
so what I'm trying to figure out is how to write down that formula:
I managed to find and I'm currently using, some very useful FFT and IFFT function from here:
(click source to get the code, at the end of Gerry's post)
Another very useful link is:
which explaings the Pitch Detection Algorithm on a bit more detail...
Have you managed to get this pitch detection algorithm in ActionScript 3?