Skip to main content


You are viewing the new BMC article page. Let us know what you think. Return to old version

Research Article | Open | Published:

Note Onset Detection via Nonnegative Factorization of Magnitude Spectrum


A novel approach for onset detection of musical notes from audio signals is presented. In contrast to most commonly used conventional approaches, the proposed method features new detection functions constructed from the linear temporal bases that are obtained from the decomposition of musical spectra using nonnegative matrix factorization (NMF). Three forms of detection function, namely, first-order difference function, psychoacoustically motivated relative difference function, and constant-balanced relative difference function, are considered. As the approach works directly on input data, no prior knowledge or statistical information is therefore required. Practical issues, including the choice of the factorization rank and detection robustness to instruments, are also examined experimentally. Due to the scalability issue with the generated nonnegative matrix, the proposed method is only applied to relatively short, single instrument (or voice) recordings. Numerical examples are provided to show the good performance of the proposed method, including comparisons between the three detection functions.

Publisher note

To access the full article, please see PDF.

Author information

Correspondence to Wenwu Wang.

Rights and permissions

Reprints and Permissions

About this article


  • Practical Issue
  • Audio Signal
  • Difference Function
  • Full Article
  • Temporal Basis