This sketch demonstrates the difference between linearly spaced averages and logarithmically spaced averages (averages that are grouped by octave). It also draw the full spectrum so you can see how each set of averages compares to it.
From top to bottom:
- The full spectrum.
- The spectrum grouped into 30 linearly spaced averages.
- The spectrum grouped logarithmically into 10 octaves, each split into 3 bands.
Source code: LinLogAverages
Built with Processing