summaryrefslogtreecommitdiffstats
path: root/classes/MIDIStateEvent.sc
blob: 5e9e40aca27dce49281422787454e726e6e5fc90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MIDIStateEvent{
  var <type, <value, <chan, <msgNum, <>takeOver=false;

  *new{
    arg type, value, chan, msgNum;
    ^super.newCopyArgs(
      type,
      value,
      chan,
      msgNum
    );
  }
  postln{
    postln("MIDIStateEvent (type="++type++", value="++value++
      ", chan="++chan++", msgNum="++msgNum++", takeOver="++takeOver++")");
  }
}