ByteArray returned by (well, modified) computeSpectrum () contains 512 bytes. The first 256 for the left channel, and the second 256 for the right channel. Each byte represents the normalized energy level for 1 of 256 frequency ranges. The bands are linearly separated from ~ 6 Hz to ~ 11 kHz with a passband of 43.064040 Hz (source: http://blog.benstucki.net/?p=60 ). Thus, each value of the float that you are looking at is the energy of this frequency band. Keep in mind that you can compensate for the linear distribution if you do not need visually distorted results.
source share