thebeat
Python package for generating, visualizing and analyzing rhythms and temporal sequences.
| Language | Python |
|---|---|
| Category | Audio analysis |
| License | GPL-3.0 |
| Platforms | macOS Windows Linux |
| Install | pip install thebeat |
| First released | ~2023 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Purpose-built for rhythm/timing science
- Generates audio stimuli and experiment trials in a few lines
- Peer-reviewed and documented
Limitations
- Niche research focus, not for music production
- Small user community
Best for
Cognitive/behavioral timing and rhythm-perception experiments.
Minimal example
from thebeat import Sequence
seq = Sequence.generate_isochronous(n_events=10, ioi=500)
seq.plot_sequence()