summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/MIDIStateEvent.sc17
1 files changed, 17 insertions, 0 deletions
diff --git a/classes/MIDIStateEvent.sc b/classes/MIDIStateEvent.sc
new file mode 100644
index 0000000..5e9e40a
--- /dev/null
+++ b/classes/MIDIStateEvent.sc
@@ -0,0 +1,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++")");
+ }
+}