Smart Drums: Comparing Audio and MIDI in Embedded Real-Time Drum Pattern Recognition

This paper compares dynamic time warping (DTW) and recurrent neural networks (RNNs) for real-time drum pattern recognition on embedded hardware using both MIDI and audio representations. Motivated by Smart Drums—electronic drum kits with embedded intelligence requiring low-latency, robust pattern detection to repurpose drum phrases as high-level control signals during live performances—a dataset was recorded from 20 drummers, comprising 200 distinct drum patterns, each with ten expressive variations (2,000 performance instances), recorded in MIDI and audio. DTW serves as an alignment-based baseline using pattern-specific thresholds applied to MIDI matrices and MFCC-based audio features. The RNN employs a stacked recurrent architecture trained on synthetic pattern variations generated by a rule-based model. Experiments assess accuracy (precision, recall, and F1-score), robustness to expressive variation, and embedded performance (latency, CPU, and RAM usage) on a Raspberry Pi 4 across sets of one, three, and ten simultaneous patterns. Results show that the RNN consistently attains higher F1-scores and lower inference times than DTW in both modalities, with the performance gap widening as the number of simultaneous patterns increases. While MIDI generally yields higher detection accuracy than audio, the RNN maintains robust performance in both domains, making it better suited for deployment on Smart Drums.

Authors

Publication Details

Journal
Journal of the Audio Engineering Society
Published
2026-11-06
DOI
https://doi.org/10.17743/jaes.2026.0313
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Smart Drums: Comparing Audio and MIDI in Embedded Real-Time Drum Pattern Recognition

Luca Turchet, Nishal Silva
2 links
Journal of the Audio Engineering Society
Music and Audio Processing
article

Smart Drums: Comparing Audio and MIDI in Embedded Real-Time Drum Pattern Recognition

Luca Turchet, Nishal Silva
article en

Abstract

This paper compares dynamic time warping (DTW) and recurrent neural networks (RNNs) for real-time drum pattern recognition on embedded hardware using both MIDI and audio representations. Motivated by Smart Drums—electronic drum kits with embedded intelligence requiring low-latency, robust pattern detection to repurpose drum phrases as high-level control signals during live performances—a dataset was recorded from 20 drummers, comprising 200 distinct drum patterns, each with ten expressive variations (2,000 performance instances), recorded in MIDI and audio. DTW serves as an alignment-based baseline using pattern-specific thresholds applied to MIDI matrices and MFCC-based audio features. The RNN employs a stacked recurrent architecture trained on synthetic pattern variations generated by a rule-based model. Experiments assess accuracy (precision, recall, and F1-score), robustness to expressive variation, and embedded performance (latency, CPU, and RAM usage) on a Raspberry Pi 4 across sets of one, three, and ten simultaneous patterns. Results show that the RNN consistently attains higher F1-scores and lower inference times than DTW in both modalities, with the performance gap widening as the number of simultaneous patterns increases. While MIDI generally yields higher detection accuracy than audio, the RNN maintains robust performance in both domains, making it better suited for deployment on Smart Drums.

Journal of the Audio Engineering SocietyVol. 74(11)
Openalex Percentile: Top 19%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon