pyrubberband
Python module to wrap rubberband
Decision gist · record as of 2026-08-14
Yes, if you need time-stretching or pitch-shifting and already have Rubberband installed or can install it on your target system. The low install friction, permissive license, and stable API make it a straightforward choice for audio processing workflows. No, if you require active maintenance, in-memory processing, or need Rubberband support on Windows without manual setup.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires the Rubberband command-line tool to be installed separately on your system (e.g., via brew on macOS or package manager on Linux).
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—last release was 683 days ago—but the repository remains active with recent commits and no archived status.
License · maintenance · safety
ISC (permissive) — Licensed under ISC (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for most use cases.
last release 2024-09-30 (683 days) · last repo commit 2024-09-30 · 217 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,068 downloads/mo, #13,111 on PyPI
Alternatives
Verify before relying
pip install pyrubberband
import soundfile as sf
import pyrubberband as pyrb
y, sr = sf.read("test.wav")
y_stretched = pyrb.time_stretch(y, sr, 2.0)- Whether Rubberband CLI installation is straightforward on Windows and Linux systems beyond the macOS example provided.
- Performance characteristics and latency for real-time or streaming audio use cases.
- Supported audio formats and sample rate constraints beyond the basic example.
What it is and what it does
pyrubberband is a lightweight Python wrapper around the Rubberband audio processing tool, enabling time-stretching and pitch-shifting of audio files. It processes audio via the Rubberband command-line interface, reading and writing files to disk rather than operating in-memory. The package depends on numpy and soundfile for audio I/O and manipulation.
The wrapper exposes Rubberband's command-line options, allowing you to pass additional arguments to control processing behavior. It is classified as Alpha and supports Python 3.7 through 3.12. The project has been stable since its initial release in 2015 but has not received active development recently, making it suitable for established workflows that don't require new features or frequent updates.
Use it for
- Adjust playback speed of audio files without changing pitch for music practice or analysis.
- Shift the pitch of recordings up or down while preserving tempo for transposition tasks.
- Batch-process audio files with Rubberband CLI options for custom time-stretch and pitch-shift parameters.
- Integrate audio time-stretching into music information retrieval or audio analysis pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need time-stretching or pitch-shifting and already have Rubberband installed or can install it on your target system.
The low install friction, permissive license, and stable API make it a straightforward choice for audio processing workflows. No, if you require active maintenance, in-memory processing, or need Rubberband support on Windows without manual setup.
Install
pyrubberband on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 683 days ago—but the repository remains active with recent commits and no archived status. Suitable for stable use cases that don't require ongoing feature development.
Requires the Rubberband command-line tool to be installed separately on your system (e.g., via brew on macOS or package manager on Linux).
License in practice
Licensed under ISC (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for most use cases.
Quickstart
pip install pyrubberband
import soundfile as sf
import pyrubberband as pyrb
y, sr = sf.read("test.wav")
y_stretched = pyrb.time_stretch(y, sr, 2.0)
Verify before relying
- Whether Rubberband CLI installation is straightforward on Windows and Linux systems beyond the macOS example provided.
- Performance characteristics and latency for real-time or streaming audio use cases.
- Supported audio formats and sample rate constraints beyond the basic example.
Package facts
| License | ISC permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnumpysoundfile |
| Maintenance | Dormant 683 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,068 / month, #13,111 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/Audio :: Analysis |
Evidence: pyrubberband-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rubberband wrapper”
- pyrubberbandProvides Python wrappers for time-stretching and pitch-shifting audio…
- dbs3-pycurlProvides a Python client wrapper around pycurl for making HTTP…
- pgdbWraps PostgreSQL connections to return query results as dictionaries…
Give your agent the search over MCP, or paste the wish link into any chat.
More Analysis packages
Pydub provides a high-level Python interface for loading, manipulating, and exporting audio files with simple operations like slicing, concatenation, and format conversion.
However, the abandoned status since 2021-03-10 means no future fixes or compatibility updates—use it only if you can tolerate potential issues with newer Python…
librosa provides audio and music signal processing algorithms and tools for building music information retrieval systems in Python.
Install it if you need to work with audio features, music analysis, or MIR tasks.
Performs high-quality sample-rate conversion (resampling) for audio signals, supporting both one-shot and streaming modes via a Python wrapper around libsoxr.
MoviePy is a Python library for video editing that reads, processes, and writes video and audio files by converting them to numpy arrays for frame-level manipulation and effect application.
Reads metadata (artist, title, duration, bitrate, and more) from audio files in formats including MP3, MP4, FLAC, OGG, WAV, and others, without writing or modifying tags.
Install it if you need to extract metadata from audio files without the overhead of a heavier library.
Kaldiio reads and writes Kaldi archive (ark) and script (scp) files in pure Python, handling matrices, vectors, and audio data with support for binary, text, and compressed formats.
However, verify the license status before use in proprietary contexts, and note that maintenance is aging—critical bug fixes may be slow.
See also pyloudnorm · python-stretch · aubio · stftpitchshift · basic-pitch · torchfcpe · audiomentations · torchcrepe · soundfile