calculate where in the spectrum the peaks happen and if the peak is of a higher frequency than the average of the last 10