p5.js-sound
p5.js-sound copied to clipboard
question: freqRange example with getEnergy documentaton
I am working with the example of freqRange and trying to understand it, but I'm stumped on this one part of how it is dividing the frequencies.
Why do we use 125 in this formula? Is it something to do with bass, treble defaults? Maybe we could document where this comes from, or comment it. https://github.com/processing/p5.js-sound/blob/1ebdbe73d731274f5aa528773ae91f4bd4acb955/examples/FFT_freqRange/sketch.js#L45
Thanks!