21M.385 | Fall 2016 | Undergraduate

Interactive Music Systems

Tools

Overview

21M.385 uses Kivy - an application / graphics framework for Python. We also use a few other packages: numpy, pyAudio (which uses PortAudio), FluidSynth, and rtmidi.

Follow the steps below to install everything you need for Mac or Windows.

Mac Installation Instructions

  • Install Homebrew if you don’t already have it.
  • You will also need Xcode and the Xcode command line tools. Get Xcode from the App store. Make sure to actually run Xcode once to accept the license agreement.
  • Get the OSX install package and unzip it.
  • Open a terminal window and cd to the OSX installation directory (for example, if the OSX package is in Downloads type cd downloads/osx).
  • The rest of the installation is handled by running:
    $ ./install_osx.sh

Note this can take a while.

  • Test the installation by running:
    $ python check_install.py

Windows Installation Instructions

  • Install the latest Python 2.7. I recommend using Miniconda. Select the 32-bit Python 2.7 for Windows. If you already have Python installed, please make sure that:
    • You have the latest Python - 2.7.12
    • It is Python2 (not Python3)
    • It is the 32bit version of Python (not 64bit)
  • Make sure that the correct version of Python is in your PATH and runnable from the command line. If you installed Python with Miniconda, you will automatically have the PATH set up for you by the installer.
  • Get the ASIO drivers. The default windows audio drivers are often bad - exhibiting a lot of latency.
  • GET MSVCR110. You’ll need the Microsoft MSVC redistrib library. Choose vcredist_x86.exe (the 32bit library) and run to install.
  • Get the win install package and unzip it.
  • From the cmd line, cd to the win directory you just unzipped and run:
    $ .\install_win.bat

This might take a while.

  • Test the installation by running:
    $ python check_install.py

Course Info

Learning Resource Types
Lecture Notes
Problem Sets
Presentation Assignments
Projects with Examples