void OnNoteOff(SyncObject syncObject, NoteOffEvent noteOnEvent) { syncObject.SendEvent( "noteOff", syncObject.Id, new IValue[] { }, localOnly: true ); }
void OnNoteOn(SyncObject syncObject, NoteOnEvent noteOnEvent) { syncObject.SendEvent( "noteOn", syncObject.Id, new IValue[] { new Primitive <int>(noteOnEvent.NoteNumber) }, localOnly: true ); }