Skip to main content
QUICK REVIEW

[Paper Review] Talking Drums: Generating drum grooves with neural networks

Patrick Hutchings|arXiv (Cornell University)|Jun 29, 2017
Music and Audio ProcessingComputer Science6 references5 citations
TL;DR

This paper presents a sequence-to-sequence RNN model inspired by neural machine translation to generate full drum kit grooves from a kick-drum input, using a style-conditional tokenization scheme. The best performance came from sampling the three most probable drum hits at each subdivision, achieving 39% 'good' ratings in a user survey, with performance highly dependent on musical style.

ABSTRACT

Presented is a method of generating a full drum kit part for a provided kick-drum sequence. A sequence to sequence neural network model used in natural language translation was adopted to encode multiple musical styles and an online survey was developed to test different techniques for sampling the output of the softmax function. The strongest results were found using a sampling technique that drew from the three most probable outputs at each subdivision of the drum pattern but the consistency of output was found to be heavily dependent on style.

Motivation & Objective

  • To develop a real-time percussion agent capable of generating full drum kit parts that match diverse musical styles.
  • To adapt sequence-to-sequence neural networks—originally for machine translation—to generate musically coherent drum patterns.
  • To evaluate and optimize sampling strategies for the model’s softmax output to improve perceived musical quality.
  • To enable self-rating in a multi-agent music composition system by linking output quality to probability distributions.
  • To explore the feasibility of modeling drum grooves as a form of structured, multi-instrument 'language' with shared semantic intent.

Proposed method

  • Parsed 250 drum kit scores (7,000–7,500 bars per genre) from pop, rock, funk, and Afro-Cuban styles into music-XML format and tokenized into 48 subdivisions per 4/4 bar.
  • Assigned unique letter tokens to each drum type (e.g., K for kick, S for snare) and used style descriptors as special tokens to enable multi-style modeling in a single network.
  • Employed an RNN sequence-to-sequence architecture with 128-unit layers and 3 stacked layers, trained using a learning rate of 0.55 and gradient descent optimization.
  • Reversed the encoder input and used one-hot encoding to process kick-drum patterns as input sequences.
  • Implemented three sampling techniques: greedy decoding, full-probability roulette wheel sampling, and top-3 probability roulette wheel sampling.
  • Developed a web-based interface allowing users to input kick patterns and evaluate generated grooves in real time with sampled drum sounds.

Experimental results

Research questions

  • RQ1Can a sequence-to-sequence neural network trained on drum tablature generate musically coherent, full drum kit grooves from a kick-drum input?
  • RQ2Which sampling strategy for the model’s softmax output produces the most perceptually pleasing drum grooves according to human listeners?
  • RQ3How does the perceived quality of generated grooves vary across different musical styles, particularly Afro-Cuban and funk?
  • RQ4Can the model’s internal probability distributions be used to enable self-rating in a multi-agent music composition system?
  • RQ5To what extent do stylistic constraints—such as clave patterns in Afro-Cuban music—emerge from the model’s training and generation process?

Key findings

  • The top-3 probability sampling method (Method 3) achieved the highest proportion of 'good' ratings (39%) in the online survey, outperforming greedy decoding and full-probability roulette sampling.
  • The greedy decoder (Method 1) produced the most consistent but least preferred results, with 70% of ratings classified as 'average'.
  • The roulette-wheel sampling across all probabilities (Method 2) had the highest rate of 'poor' ratings (28%), indicating over-randomization reduced musical coherence.
  • Mean ratings peaked at 1.54 for drum notes with average initial probabilities between 0.7 and 0.8, suggesting a sweet spot in confidence for perceived quality.
  • Afro-Cuban style patterns received significantly more 'poor' ratings (24%) than other styles (16–18%), indicating potential limitations in capturing idiomatic rhythmic structures.
  • The model’s output quality was highly style-dependent, with higher consistency and better listener ratings for pop, rock, and funk than for Afro-Cuban patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.