OnsetDetection.maxpat:
  Non spectral methods for onset detection