How to get Bass, Mid, Treble data from FFT
I'm new to this whole audio processing area and I'm wondering how to extract Bass, Mid and treble from an FFT output. I'm currently using this to get the data: https://stackoverflow.com/a/20414331/2714577 which uses Naudio. But I'm using a fftlength of 1024 (require speed). I'm trying to get these 3 sections in a format such as 0-255 for colour purposes. I currently have this: double[] data = new double[512]; void FftCalculated(object sender, FftEventArgs e) { for (int j = 0; j < e.Result.Length / 2; j++) { double magnitude = Math.Sqrt(e.Result[j].X * e.Result[j].X + e.Result[j].Y * e.Result[j