//#include #include "synth.h" void Synth::noteOn(int ch, int note, int vel) { //printf("Note On: ch=%d note=%d vel=%d\n", ch, note, vel); channels[ch].noteOn(note, vel); } void Synth::noteOff(int ch, int note) { //printf("Note Off: ch=%d note=%d\n", ch, note); channels[ch].noteOff(note); } void Synth::control(int ch, int cc, int val) { //printf("Controller: ch=%d cc=%d val=%d\n", ch, cc, val); channels[ch].control(cc, val); }