Required changes to get it building on my mac
peakEnergy calculation now symmetric around peak
otherEnergy calculation can be constrained to just the audible frequency range. If not constrained, plot is now drawn for whole freq range.
Averages now always plotted for correct range, can be en/disabled with define.
Merge pull request #1 from xsamc/master

Energy calculations and plots can now be constrained to audible frequency range