Pitch detection with computeSpectrum() return FFT values
问题 I'm developing using Actionscript 3.0 for Flash Player 10.3 I'm using computeSpectrum() on a loaded .mp3 Running *Event.ENTER_FRAME* to get snapshots of each sample in an byteArray The ByteArray contains 512 values (256 for each channel). These values are FFT Spectrum, ranging from 0 to 1. I can't use the peak frequency for each of the samples (as I found found out!) because the highest value is not necessarily the fundamental frequency! As a result I'm getting lots of random values all over