Note (September 2020): This repository is no longer maintained. Check out my personal website repository for a new web app experience.
The Laptop Accordion Code
It's a laptop. Or an accordion. You decide. And for a decidedly academic take on things, check out our paper in NIME. If you just want to play the accordion, click the releases tab at the top of the page and download the correct release for your platform. If you want to try the nightmare that is compiling the accordion, read on.
- Download OpenFrameworks 0.9.0 for your platform.
- Create a new project using the project generator.
- Copy the appropriate directory in this repo on top of the project.
- In the XCode or VS 2015 project, add all files in the
src
folder. - See below for instructions on how to compile and link FluidSynth.
On Windows, simply copy the FluidSynth directory to be a sibling directory
of your OpenFrameworks installation. In Visual Studio 2015, add all files in the include
subdirectory to your project (or add that as a compiler search path), then
add the lib
directory to the linker search path. Add libfluidsynth.lib
to the list of linkages. Hit build. If and when you get linker errors on
your first build, copy the DLL in lib
to your application bin
directory.
On OSX, copy the FluidSynth directory to be a sibling directory
of your OpenFrameworks installation. In XCode, add all files in the include
subdirectory to your project. Now install Homebrew and do brew install fluidsynth
before continuing. With FluidSynth installed, just add the file
lib/libfluidsynth.1.dylib
to your project.