Compiling Tony » History » Version 4

« Previous - Version 4/7 (diff) - Next » - Current version
Chris Cannam, 2014-06-17 10:17 AM


Compiling Tony

Warning: Not all that easy

At the moment you need to compile three separate parts in order to have a working installation of Tony:

  1. The Tony application itself
  2. The pYIN Vamp plugin used for general pitch and note estimation
  3. The CHP Vamp plugin used for detailed pitch analysis

The source code for the plugins is all included in the source package for Tony, in subdirectories called pyin and chp respectively, so you only need to download the one package. But after you've downloaded it, you need to compile and install the plugins separately from the main Tony application.

On Linux

Tony depends on a lot of additional packages, including Qt (either Qt4 or Qt5), the Vamp plugin SDK, Rubber Band, libsamplerate, libsndfile, libmad, libid3tag, Serd and Sord, liboggz, libfishsound, FFTW3, JACK, and PulseAudio. The configure script should test for these.

  • Download the source code package from the download page, or check out the Mercurial repository.
  • Run ./configure and (if that succeeds) run make.
  • For each of the pyin and chp subdirectories:
    • cd to that directory
    • run make -f Makefile.linux64
    • if that succeeds, install the compiled plugin by copying *.so to the directory $HOME/vamp/ (create this directory first if it doesn't exist).