Install Homebrew if you haven't already. Then:
# Install CMake (needed to build GLFW)
brew install cmake
# Install FFTW
brew install fftw
# Install GLFW
curl https://codeload.github.com/glfw/glfw/zip/3.0.4 -o glfw-3.0.4.zip
unzip glfw-3.0.4.zip
cd glfw-3.0.4
cmake .
make
make install # MAY NEED SUDO
# Install libsndfile
brew install libsndfile
# Install PortAudio
brew install portaudio
# Install PortMidi
brew install portmidi
- FFTW: http://www.fftw.org
- GLFW: http://www.glfw.org
- libsndfile: http://www.mega-nerd.com/libsndfile
- PortAudio: http://www.portaudio.com
- PortMidi: http://portmedia.sourceforge.net/portmidi
First install and start a MIDI synthesizer (like SimpleSynth). Then:
make
- Backend - Live analysis backend.
- GUI - Graphical user interface.
- Midi - MIDI output.
- Pitch - Pitch detection algorithms.
- Serial - Serial device communication.
- Main - Live pitch detection, visualization and MIDI output.
*_test
- Various component tests.
- Move onset / offset detection into backend.c.