Efficient sample rate conversion in python

bmcfee bmcfee Last update: Feb 06, 2024

resampy

GitHub license PyPI Anaconda-Server Badge CI codecov Documentation Status DOI

Efficient sample rate conversion in Python.

This package implements the band-limited sinc interpolation method for sampling rate conversion as described by:

Smith, Julius O. Digital Audio Resampling Home Page Center for Computer Research in Music and Acoustics (CCRMA), Stanford University, 2015-02-23. Web published at http://ccrma.stanford.edu/~jos/resample/.

Installation

resampy can be installed pip by the following command:

python -m pip install resampy

It can also be installed by conda as follows:

conda install -c conda-forge resampy

Subscribe to our newsletter