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