/phase

Automatic Steve Reich phasing music

Primary LanguagePython

phase.py

Install

(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://github.com/jonathanmarmor/phase.git@master

Run the example

  1. ./phase.py 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. ./phase.py your_own_sample.wav --n-tracks=8 --gap=.3 --repeat-count=10
  2. Look in output/your_own_sample for the resulting wav files

Arguments

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

TODO

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?