My favorites | Sign in
Logo
                
Search
for
Updated Jul 11, 2009 by brianawhitman
Labels: Featured
InstallFromSource  
How to install Remix 1.2 from sources

Introduction

Here is how you install Remix 1.2 from source on Mac, Windows, or Linux. This method is either for Linux users. "experts" or developers, people that may have their own versions of Python already installed or want to contribute to Remix in some way. If you're not a developer, you most likely want one of the install packages on the main page, not this stuff.

Requirements

Installing remix from source requires:

Steps

  • Install remix using setup.py:
sudo python setup.py install
  • This install does a few thing for you:
    • Compiles and installs our pysoundtouch library (wrapper on Soundtouch for time&pitch modification)
    • On Windows and Mac copies a known good version of ffmpeg to either your Python folder or /usr/local/bin called en-ffmpeg
    • Copies the python script youtube-dl to the same place as en-ffmpeg
    • Installs remix and pyechonest to your Python site-packages folder.

Running examples

There are a lot of user contributed examples that use remix in svn as examples. The setup.py script installs them to /usr/local/share/echo-nest-remix-examples on Mac, C:\PythonXX\echo-nest-remix-examples on Windows, and /usr/echo-nest-remix-examples on Linux. (These are the default distutils non-code file locations on each platform, so blame them for this.)

cd echo-nest-remix/examples/one/
python one.py ../music/CryMeARiver.mp3 output.mp3

If all went well, output.mp3 should be only the first beat of each measure of Cry Me a River. You're done, go explore!


Sign in to add a comment
Hosted by Google Code