Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer.
2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 2 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Oscillation-driven reservoir computing ↔ ODRC_drum/param_ODRC.m, lines 4 to 25 · score 0.67 · firing rate, neural units, recursive, squares, feedback, connected · block
oscr:b:DTYAFSZ7EM7M2-9· Report a mismatch - [2] § Methods › Encoding and decoding of drum performances ↔ ODRC_drum/midi_code.m, the whole file · a weak match · score 0.59 · cymbals, snares, toms, instrument, hi hat, MIDI · block
oscr:b:6WC6TY297PD9T-0· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 54 lines · 1.2 KB · no license · 1 match
- %% ODRC (oscillation-driven reservoir computing) for Learning Drumming Performances
- %% main parameters
- %% recurrent neural network
- numUnits = 5000; % number of neural units
- p_connect = 0.1; % connection probability
- g = 1.2; % synaptic strength scaling factor
- numIn = 1; % number of input units
- % input
- input_weight_amp = 5.0;
- input_pulse_value = 2.0;
- feedback_weight_amp = 3.0;
- Osc_weight_amp = 0.5;
- % oscillator
- numOsc = 10; % number of oscillators
- fmin = 50; % minimum frequency (Hz)
- fmax = 100; % maximum frequency (Hz)
- % firing rate model
- tau = 10.0; % time constant
- % recursive least squares
- delta = 10; % P matrix initialization
- %% task
- length_train = 20000; % training duration (ms)
- length_test = 40000; % test duration (ms)
- % number of loops
- learn_every = 2; % skip time points
- n_train_loops = 2; % number of training loops
- n_test_loops = 1; % number of test loops
- if strcmp(TARGET, 'hi-hat')
- numOut = 1; % number of output units
- elseif strcmp(TARGET, 'funk')
- numOut = 3;
- elseif strcmp(TARGET, 'jazz')
- numOut = 5;
- elseif strcmp(TARGET, 'samba')
- numOut = 5;
- elseif strcmp(TARGET, 'rock')
- numOut = 5;
- else
- error('Invalid target name.')
- end
- %% drawing
- lwidth = 1;
- fsize = 10;
param_ODRC.m at commit 2f48dc9, no license · at the source
Overview
- Symbiotic Intelligent Systems Research Center, Institute for Open and Transdisciplinary Research Initiatives, the University of Osaka, 1-1 Yamadaoka, Suita, Osaka 565-0871 Japan
- Faculty of Environment and Information Studies, Keio University, 5322 Endo, Fujisawa, Kanagawa 252-0882 Japan
- International Professional University of Technology in Osaka, 3-3-1 Umeda, Kita-ku, Osaka, 530-0001 Japan
- Academy of Emerging Sciences, Chubu University, 1200 Matsumoto-cho, Kasugai, Aichi 487-8501 Japan
Abstract
Musical performances, particularly in drumming, are characterized not only by their structured rhythmic patterns but also by the subtle variations in timing and amplitude series that create expressive complexity. This study proposes a neural-inspired computational model to investigate how the brain might learn and internalize such complex rhythms. Inspired by the established roles of the cerebellum and basal ganglia in production of rhythms and timings, we utilize an oscillation-driven reservoir computer, a recurrent neural network model for temporal learning, to simulate the generation of human-like expressive drumming performances. First, the model was trained to replicate Jeff Porcaro’s distinctive hi-hat patterns. Analyses revealed that the outputs of the model incorporating high-frequency oscillators ([50, 100] Hz), closely matched the original drumming, reproducing its characteristic fluctuations and patterns in inter-beat timings (microtiming) and amplitudes. Next, the model was trained to generate multidimensional drum kit performances for various genres (funk, jazz, samba, and rock). The model’s outputs exhibited timing deviation and audio features characteristic of the original performances. Our findings demonstrate that oscillation-driven reservoir computing can replicate the rhythmic complexity of professional drumming, suggesting it as a potential computational principle for motor timing and rhythm generation. This approach provides a powerful framework for understanding how the brain generates and processes intricate rhythmic patterns.
Supplementary Information: The online version contains supplementary material available at 10.1007/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
magenta.withgoogle.com/datasets/groove
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Kawai-Yuji/ODRC_drum
2f48dc93ac1751f42fe3f342198e5e837887181d, 19 January 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
13 files
- ODRC_drum/
DFA_hihat.m , MATLAB, 131 lines - ODRC_drum/
construct_ODRC.m , MATLAB, 21 lines - ODRC_drum/
hihat_code.m , MATLAB, 29 lines - ODRC_drum/
io_ODRC.m , MATLAB, 69 lines - ODRC_drum/
main.m , MATLAB, 55 lines - ODRC_drum/
midi_code.m , MATLAB, 122 lines, 1 match - ODRC_drum/
midi_generation.m , MATLAB, 16 lines - ODRC_drum/
output_plot.m , MATLAB, 17 lines - ODRC_drum/
output_save.m , MATLAB, 35 lines - ODRC_drum/
param_ODRC.m , MATLAB, 54 lines, 1 match - ODRC_drum/
sound_hihat.m , MATLAB, 15 lines - ODRC_drum/
test_ODRC.m , MATLAB, 42 lines - ODRC_drum/
train_ODRC.m , MATLAB, 65 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 13 scripts, each with its path and the digest of its content;
- 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
The data and code that support the findings of this study are openly available. The hi-hat timing data are derived from a publicly available dataset by Rasanen et al. (2015), accessible at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Funding: added Osaka University; Japan Society for the Promotion of Science: JP24H02199, 23K25750; Precursory Research for Embryonic Science and Technology: JPMJPR23S9, JPMJPR23S5
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 74 references.
Cite
This paper
Kawai, Y., Fujii, S., & Asada, M. (2026). Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer. Cognitive neurodynamics, 20(1), 140. https://
BibTeX
@article{kawai2026modeli
author = {Kawai, Yuji and Fujii, Shinya and Asada, Minoru},
title = {{Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer}},
journal = {Cognitive neurodynamics},
year = {2026},
month = jul,
volume = {20},
number = {1},
pages = {140},
publisher = {Springer},
issn = {1871-4080},
doi = {10.1007/
url = {https://
pmid = {42465670},
pmcid = {PMC13373152}
}
RIS
TY - JOUR
AU - Kawai, Yuji
AU - Fujii, Shinya
AU - Asada, Minoru
TI - Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer
T2 - Cognitive neurodynamics
J2 - Cogn Neurodyn
PY - 2026
DA - 2026/
VL - 20
IS - 1
SP - 140
SN - 1871-4080
PB - Springer
DO - 10.1007/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1007/
"type": "article-journal",
"title": "Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer",
"container-title": "Cognitive neurodynamics",
"author": [
{
"family": "Kawai",
"given": "Yuji"
},
{
"family": "Fujii",
"given": "Shinya"
},
{
"family": "Asada",
"given": "Minoru"
}
],
"container-title-short":
"volume": "20",
"issue": "1",
"page": "140",
"DOI": "10.1007/
"PMID": "42465670",
"PMCID": "PMC13373152",
"ISSN": "1871-4080",
"publisher": "Springer",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
16
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41598-024-77849-x
- Dynamical mechanisms of how an RNN keeps a beat, uncovered with a low-dimensional reduced model.Journal: Scientific reportsIn common: 9 references
- [2] doi:10.1002/hbm.70267 [code]
- Sensory Entrained TMS (seTMS) Enhances Motor Cortex Excitability.Journal: Human brain mappingIn common: systems, 8 references
- [3] doi:10.1162/imag_a_00492
- Basal ganglia and cerebellar lesions causally impact the neural encoding of temporal regularities.Journal: Imaging neuroscience (Cambridge, Mass.)In common: systems, 8 references
- [4] doi:10.1162/imag.a.1185 [code]
- Musical groove listening does not enhance primary motor cortex activation.Journal: Imaging neuroscience (Cambridge, Mass.)In common: systems, 8 references
- [5] doi:10.1111/ejn.16637 [code]
- Measuring self-similarity in empirical signals to understand musical beat perception.Journal: The European journal of neuroscienceIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 7 references
- [6] doi:10.1126/sciadv.adi2525 [code]
- Neural dynamics of predictive timing and motor engagement in music listening.Journal: Science advancesIn common: Statistics and Machine Learning Toolbox, systems, 7 references
- [7] doi:10.1111/psyp.70113
- Active Inference in Music Perception: Motor Engagement to Syncopation Modulates Rhythmic Prediction Error.Journal: PsychophysiologyIn common: 6 references
- [8] doi:10.1038/s41598-025-02316-0
- Investigating the causal role of motor brain areas in rhythm reproduction: a transcranial direct current stimulation study.Journal: Scientific reportsIn common: 6 references
- [9] doi:10.1002/hbm.70225 [code]
- Topography of Functional Organization of Beat Perception in Human Premotor Cortex: Causal Evidence From a Transcranial Magnetic Stimulation (TMS) Study.Journal: Human brain mappingIn common: 6 references
- [10] doi:10.1073/pnas.2221641120
- Sensory and motor representations of internalized rhythms in the cerebellum and basal ganglia.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 6 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 13 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:216c0a5d883e5a9b…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5.svg
:target: https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5"><img src="https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
