Automatic Steve Reich phasing music
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


(on OS X)

  1. Install Homebrew
  2. Install sox: brew install sox --with-lame --with-flac --with-libvorbis

To use from the command line:

  1. Clone this repo
  2. cd phase/py
  3. pip install -r requirements.txt

To use the Python library:

  1. pip install git+git://

Run the example

  1. ./ test_input_files/ravi1.wav --n-tracks=24 --gap=.02 --fade=in-out --repeat-count=20 --end-align
  2. Open output/ravi1/ravi1_<timestamp>.wav with an audio player and listen to it

Run with your own sample

  1. ./ your_own_sample.wav --n-tracks=8 --gap=.3 --repeat-count=10
  2. Look in output/your_own_sample for the resulting wav files


Do ./ -h to see all the arguments and options and how to use them.


Core features

  • Finish adding initial gap
  • Make soloing of start and end repetition manually toggleable.

Might be interesting to try

  • Make more and better options for fade curves
  • Add panning?