Related Experiment Video
Updated: Jul 4, 2025

Uncovering Beat Deafness: Detecting Rhythm Disorders with Synchronized Finger Tapping and Perceptual Timing Tasks
Published on: March 16, 2015
thebeat: A Python package for working with rhythms and other temporal sequences
J van der Werff1,2, Andrea Ravignani3,4,5, Yannick Jadoul3,4
1Comparative Bioacoustics Group, Max Planck Institute for Psycholinguistics, Wundtlaan 1, Nijmegen, The Netherlands. jelle.vanderwerff@uniroma1.it.
Thebeat is a new Python package designed for analyzing temporal sequences and rhythms in behavioral science and bioacoustics. It simplifies the creation, visualization, and analysis of temporal data for researchers.
Area of Science:
- Behavioral and Cognitive Sciences
- Bioacoustics
- Computational Neuroscience
Background:
- Researchers in behavioral science and bioacoustics often require specialized tools for analyzing temporal sequences and rhythms.
- Existing methods for temporal data analysis can be complex and time-consuming to implement.
- There is a need for accessible, flexible, and integrated software solutions to facilitate timing research.
Purpose of the Study:
- To introduce thebeat, a novel Python package for the analysis of temporal sequences and rhythms.
- To provide researchers with a user-friendly tool for generating experimental stimuli and analyzing temporal data.
- To establish a foundation for standardized methods in timing research through an open-source platform.
Main Methods:
- Thebeat package offers functions for generating experimental stimuli, sequences, sounds, and trials.
- It includes tools for calculating common rhythmic measures, such as interval ratios.
- Visualization capabilities include generating plots like circular histograms.
Main Results:
- Thebeat enables the creation and analysis of temporal data with simple code, saving researchers time.
- The package facilitates the generation of experimental stimuli and the calculation of rhythmic measures.
- It integrates seamlessly with the broader Python ecosystem for custom script development.
Conclusions:
- Thebeat provides a robust and flexible foundation for temporal sequence and rhythm analysis.
- Its design caters to both novice and expert programmers, promoting wider adoption in research.
- The package supports the development and integration of standardized methods in timing research across various scientific fields.
Related Concept Videos
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Basic Continuous Time Signals
The unit step function, denoted u(t), is zero for negative time values and one for positive time values, exhibiting a discontinuity at t=0. This function often represents abrupt changes, such as the step voltage introduced when turning a car's...
Rectangular and Triangular Pulse Function
For example, consider a rectangular pulse with a 5V amplitude, a 3-second duration, and centered at t=2 seconds. This pulse can be expressed using the rectangular function, written as,
Sampling Continuous Time Signal
In the...
Signal Sequences and Sorting Receptors
Biological Clocks and Seasonal Responses

