Drum sound recognition for polyphonic audio signals by adaptation and matching of spectrogram templates with harmonic structure suppression

Kazuyoshi Yoshii, Masataka Goto, Hiroshi G. Okuno

Research output: Contribution to journalArticle

42 Citations (Scopus)


This paper describes a system that detects onsets of the bass drum, snare drum, and hi-hat cymbals in polyphonic audio signals of popular songs. Our system is based on a template-matching method that uses power spectrograms of drum sounds as templates. This method calculates the distance between a template and each spectrogram segment extracted from a song spectrogram, using Goto's distance measure originally designed to detect the onsets in drums-only signals. However, there are two main problems. The first problem is that appropriate templates are unknown for each song. The second problem is that it is more difficult to detect drum-sound onsets in sound mixtures including various sounds other than drum sounds. To solve these problems, we propose template-adaptation and harmonic-structure-suppression methods. First of all, an initial template of each drum sound, called a seed template, is prepared. The former method adapts it to actual drum-sound spectrograms appearing in the song spectrogram. To make our system robust to the overlapping of harmonic sounds with drum sounds, the latter method suppresses harmonic components in the song spectrogram before the adaptation and matching. Experimental results with 70 popular songs showed that our template-adaptation and harmonic-structure-suppression methods improved the recognition accuracy and achieved 83%, 58%, and 46% in detecting onsets of the bass drum, snare drum, and hi-hat cymbals, respectively.

Original languageEnglish
Article number4032798
Pages (from-to)333-345
Number of pages13
JournalIEEE Transactions on Audio, Speech and Language Processing
Issue number1
Publication statusPublished - 2007 Jan
Externally publishedYes



  • Drum sound recognition
  • Harmonic structure suppression
  • Polyphonic audio signal
  • Spectrogram template
  • Template adaptation
  • Template matching

ASJC Scopus subject areas

  • Electrical and Electronic Engineering
  • Acoustics and Ultrasonics

Cite this