Example #1
0
 public PushPad(IMidiInput pushIn, IMidiOutput pushOut, IMidiOutput virtualOutput, PushControl pushControl)
 {
     PushControl             = pushControl;
     PushIn                  = pushIn;
     PushOut                 = pushOut;
     VirtualOut              = virtualOutput;
     PushIn.MessageReceived += OnMidiData;
 }
Example #2
0
 public PushEncoder(IMidiInput pushIn, IMidiOutput pushOut, IMidiOutput virtualOut, PushControl pushControl, int mapToCC, MidiValueStore store)
 {
     PushControl             = pushControl;
     PushIn                  = pushIn;
     PushOut                 = pushOut;
     VirtualOut              = virtualOut;
     PushIn.MessageReceived += OnMidiData;
     MappedToCC              = mapToCC;
     Store = store;
 }
Example #3
0
 public static bool IsPushControl(byte[] data, PushControl pushControl)
 {
     return(PushUtils.GetControl(data) == pushControl);
 }