This is the code to get a Yamaha 01v96i to work with TouchOSC. It is largely written in MaxMSP