frequencyData Ranges

Is the following correct: The frequencyData is a 32 element array. The audio range from 20Hz to 20,000Hz is divided into 32 smaller ranges and each range is assigned to an index. If this is correct, what are the ranges for the 1st four indexes?

frequencyData[0] = 20Hz
frequencyData[1] = ??Hz
frequencyData[2] = ??Hz
frequencyData[3] = ??Hz


Also here

The first four are:

Thanks for the information on the frequency ranges.

1 Like

So is this correct:

frequencyData[0] = 20.00Hz - 37.50Hz
frequencyData[1] = 37.51Hz - 50.00Hz
frequencyData[2] = 50.10Hz - 75.00Hz
frequencyData[2] = 75.10Hz - 100.00Hz

At that range, the bins are 12.5Hz apart.
The first is 37.5Hz (not 20Hz), then 50Hz, then 2 bins each for 62.5+75, 87.5+100.

If you hit it with 50.1Hz, it would predominantly fall into the 50Hz bin. If you measured 43.75Hz, it would probably split between the 37.5Hz bin and the 50Hz bin.

1 Like

Thanks for the clarification.