Skip to content
Paulstretch python version
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of opengd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
paulstretch_mono.py
paulstretch_newmethod.py
paulstretch_steps.png
paulstretch_stereo.py
paulstretch_stereo_for_flac.py

README

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:

PySoundFile
http://pysoundfile.readthedocs.io/en/0.9.0/#installation

Install dependencies using pip:
pip install cffi
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:

paulstretch_stereo_for_flac.py

Example:
python3 paulstretch_stereo_for_flac.py -s 2.0 -w 0.25 input.flac output.flac

List all supported formats:
python3 paulstretch_stereo_for_flac.py -l

-------------

The Readme from the Original version of Paulstretch:
This is Paulstretch , Python version
by Nasca Octavian PAUL, Targu Mures, Romania
http://www.paulnasca.com/

Requirements: Numpy, Scipy

Original version with GUI: 
http://hypermammut.sourceforge.net/paulstretch/

For start, I recomand to use "paulstretch_stereo.py".

The "paulstretch_mono.py" is a very simple test implementation of the Paulstretch algorithm.
The "paulstretch_newmethod.py" 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.