Skip to content
Paulstretch python version
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead of finitud:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The new in this version of Paulstretch is support for FLAC input/output files and other formats.

To get Paulstretch working in Python you need to install:


Install dependencies using pip:
pip install ciffi
pip install numpy

Install PySoundFile using pip:
pip install pysoundfile

On linux you also need to install pip install libsndfile:
sudo apt-get install libsndfile1

To use file support run file using python3:

python3 -s 2.0 -w 1 -r t.flac t_tt_n.flac

List all supported formats:
python3 -l


The Readme from the Original version of Paulstretch:
This is Paulstretch , Python version
by Nasca Octavian PAUL, Targu Mures, Romania

Requirements: Numpy, Scipy

Original version with GUI:

For start, I recomand to use "".

The "" is a very simple test implementation of the Paulstretch algorithm.
The "" is a extended/slower Paulstretch algorithm which has onset detection.

"paulstretch_steps.png" describes the steps of Paulstretch algorithm graphically.

The Paulstretch algorithm is released under Public Domain.

You can’t perform that action at this time.