[Paper Review] Riddim: A Rhythm Analysis and Decomposition Tool Based On Independent Subspace Analysis
Riddim is a computational tool for rhythm analysis and decomposition using Independent Subspace Analysis (ISA) to extract hierarchical rhythmic structures from audio. It detects onsets, computes inter-onset intervals (IOIs), identifies the lowest-level pulse via GCD and histogram analysis, and enables perceptually informed transcription and real-time performance applications by modeling rhythm as a multi-level temporal structure.
The goal of this thesis was to implement a tool that, given a digital audio input, can extract and represent rhythm and musical time. The purpose of the tool is to help develop better models of rhythm for real-time computer based performance and composition. This analysis tool, Riddim, uses Independent Subspace Analysis (ISA) and a robust onset detection scheme to separate and detect salient rhythmic and timing information from different sonic sources within the input. This information is then represented in a format that can be used by a variety of algorithms that interpret timing information to infer rhythmic and musical structure. A secondary objective of this work is a "proof of concept" as a non-real-time rhythm analysis system based on ISA. This is a necessary step since ultimately it is desirable to incorporate this functionality in a real-time plug-in for live performance and improvisation.
Motivation & Objective
- To develop a perceptually grounded, computational tool for analyzing complex rhythmic structures in music, especially in electronic and improvisational genres where traditional notation is absent.
- To address the challenge of extracting hierarchical rhythmic organization (pulse, grouping, tempo) from audio without prior symbolic knowledge or score.
- To enable systematic exploration of rhythmic spaces by parameterizing features like onset timing, accentuation, and tempo for compositional and analytical use.
- To support real-time performance applications by enabling dynamic analysis and re-interpretation of live audio streams for live improvisation and meta-DJing.
- To integrate perceptual principles such as the specious present and causal analysis into a computational framework for rhythm perception.
Proposed method
- Uses MATLAB with MEX interface for real-time processing, combining C subroutines with high-level algorithmic control.
- Applies Independent Subspace Analysis (ISA) to decompose rhythmic patterns into statistically independent temporal subspaces, modeling perceptual grouping and hierarchy.
- Detects onsets via rectification, smoothing, and amplitude envelope peak detection to extract timing events.
- Computes inter-onset intervals (IOIs) and uses histogram analysis of intra-frame IOIs to identify dominant pulse periods.
- Determines the lowest-level pulse using the Greatest Common Divisor (GCD) of IOIs across detected onsets.
- Supports non-causal analysis by considering temporal context, aligning with perceptual models of auditory memory and the specious present.
Experimental results
Research questions
- RQ1How can a computational tool extract hierarchical rhythmic structures (pulse, grouping, tempo) from audio without prior symbolic knowledge?
- RQ2To what extent can Independent Subspace Analysis model perceptually relevant rhythmic groupings and temporal hierarchies in music?
- RQ3Can the GCD of inter-onset intervals reliably identify the fundamental pulse in complex, polyrhythmic, or expressive musical passages?
- RQ4How can rhythm analysis be adapted for real-time performance applications such as live improvisation and meta-DJing?
- RQ5What role does the specious present and auditory store play in modeling the perception of rhythmic structure in audio?
Key findings
- Riddim successfully identifies the lowest-level pulse in polyrhythmic and expressive audio using GCD of inter-onset intervals and histogram-based IOI analysis.
- The tool enables perceptual rhythm decomposition by modeling rhythmic structure as a hierarchy of independent temporal subspaces, aligning with cognitive models of rhythm perception.
- The system supports non-causal analysis, allowing access to temporal context that improves pulse and grouping estimation.
- The architecture is extensible and supports real-time deployment as a MAX/MSP external or VST plugin, enabling live performance applications.
- Riddim facilitates a new form of meta-DJing by enabling mixing of abstract rhythmic patterns rather than concrete audio samples, avoiding time-stretching artifacts.
- The framework provides a foundation for automatic music transcription by integrating onset detection with potential future fundamental frequency tracking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.