OSCR

Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

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. [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. [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

  1. %% ODRC (oscillation-driven reservoir computing) for Learning Drumming Performances
  2. %% main parameters
  3. %% recurrent neural network
  4. numUnits = 5000; % number of neural units
  5. p_connect = 0.1; % connection probability
  6. g = 1.2; % synaptic strength scaling factor
  7. numIn = 1; % number of input units
  8. % input
  9. input_weight_amp = 5.0;
  10. input_pulse_value = 2.0;
  11. feedback_weight_amp = 3.0;
  12. Osc_weight_amp = 0.5;
  13. % oscillator
  14. numOsc = 10; % number of oscillators
  15. fmin = 50; % minimum frequency (Hz)
  16. fmax = 100; % maximum frequency (Hz)
  17. % firing rate model
  18. tau = 10.0; % time constant
  19. % recursive least squares
  20. delta = 10; % P matrix initialization
  21. %% task
  22. length_train = 20000; % training duration (ms)
  23. length_test = 40000; % test duration (ms)
  24. % number of loops
  25. learn_every = 2; % skip time points
  26. n_train_loops = 2; % number of training loops
  27. n_test_loops = 1; % number of test loops
  28. if strcmp(TARGET, 'hi-hat')
  29. numOut = 1; % number of output units
  30. elseif strcmp(TARGET, 'funk')
  31. numOut = 3;
  32. elseif strcmp(TARGET, 'jazz')
  33. numOut = 5;
  34. elseif strcmp(TARGET, 'samba')
  35. numOut = 5;
  36. elseif strcmp(TARGET, 'rock')
  37. numOut = 5;
  38. else
  39. error('Invalid target name.')
  40. end
  41. %% drawing
  42. lwidth = 1;
  43. fsize = 10;

param_ODRC.m at commit 2f48dc9, no license · at the source

Overview

Authors: Yuji Kawai1, Shinya Fujii2, Minoru Asada1,3,4
ORCID iDs: Yuji Kawai
  1. Symbiotic Intelligent Systems Research Center, Institute for Open and Transdisciplinary Research Initiatives, the University of Osaka, 1-1 Yamadaoka, Suita, Osaka 565-0871 Japan
  2. Faculty of Environment and Information Studies, Keio University, 5322 Endo, Fujisawa, Kanagawa 252-0882 Japan
  3. International Professional University of Technology in Osaka, 3-3-1 Umeda, Kita-ku, Osaka, 530-0001 Japan
  4. Academy of Emerging Sciences, Chubu University, 1200 Matsumoto-cho, Kasugai, Aichi 487-8501 Japan
Institutions: The University of Osaka (Japan); Keio University (Japan); Chubu University (Japan)
Journal: Cognitive neurodynamics, volume 20, issue 1, article 140
Dates: received 18 February 2026; accepted 6 July 2026; published online 16 July 2026; in print December 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1007/s11571-026-10512-5 · PMID 42465670 · PMCID PMC13373152 · OpenAlex W7168410071
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: systems (subfield)
Methods: Preprocessing, Spectral & time-frequency, Complexity, Statistics, Smoothing, state filtering, decompositions, Machine learning
Keywords: Reservoir computing, Echo state networks, Microtiming, Rhythm generation, Drumming
Topic: Neural Networks and Reservoir Computing (Artificial Intelligence, Computer Science), according to OpenAlex
Funding: Osaka University; Japan Society for the Promotion of Science (JP24H02199, 23K25750); Precursory Research for Embryonic Science and Technology (JPMJPR23S9, JPMJPR23S5)
Citations: not cited yet (Europe PMC); 112 references in the paper

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/s11571-026-10512-5.

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

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: the link answers
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
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

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 2f48dc93ac1751f42fe3f342198e5e837887181d, 19 January 2026
Languages: MATLAB (13)
Size: 19 files, 13 scripts
Software Heritage: not archived
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
13 files

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://journals.plos.org/plosone/article?id=10.1371/journal.pone.0127902. The Groove MIDI Dataset, as described in Gillick et al. (2019), is available at https://magenta.withgoogle.com/datasets/groove. The source code for our model is available on GitHub at https://github.com/Kawai-Yuji/ODRC_drum.

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://doi.org/10.1007/s11571-026-10512-5

BibTeX

@article{kawai2026modeling,
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/s11571-026-10512-5},
url = {https://doi.org/10.1007/s11571-026-10512-5},
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/07/16
VL - 20
IS - 1
SP - 140
SN - 1871-4080
PB - Springer
DO - 10.1007/s11571-026-10512-5
UR - https://doi.org/10.1007/s11571-026-10512-5
LA - en
ER -

CSL-JSON

{
"id": "10.1007/s11571-026-10512-5",
"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": "Cogn Neurodyn",
"volume": "20",
"issue": "1",
"page": "140",
"DOI": "10.1007/s11571-026-10512-5",
"PMID": "42465670",
"PMCID": "PMC13373152",
"ISSN": "1871-4080",
"publisher": "Springer",
"URL": "https://doi.org/10.1007/s11571-026-10512-5",
"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 reports
In common: 9 references
[2] doi:10.1002/hbm.70267 [code]
Sensory Entrained TMS (seTMS) Enhances Motor Cortex Excitability.
Journal: Human brain mapping
In 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 neuroscience
In 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 advances
In 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: Psychophysiology
In 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 reports
In 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 mapping
In 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 America
In 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1007/s11571-026-10512-5.svg)](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:end
HTML
<!-- 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.