Fixed hanning window, onset detection is now constant free