The complex method for onset detection effectively combines both energy-based and phase-based approaches simultaneously by detecting onsets in the complex domain [1]}. The complex detection function is then pre-processed with a weighted moving average and fed to a peak-picking algorithm that outputs the predicted onset locations. The implementation that this study follows is included in Aubio's AubioOnset [2]}.
