 the sum rather than the Euclidean distance).Some implementations do not normalise the spectra.For onset detection, increases in energy are important (not decreases), so some algorithms only include values calculated from bins in which the energy is increasing.