From 4608fe081f768110465966386f8aedcd6d6bd807 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 19 Mar 2018 22:46:24 +0100 Subject: classes/MIDIStateEvent.sc: Adding class to store MIDIState events. --- classes/MIDIStateEvent.sc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 classes/MIDIStateEvent.sc (limited to 'classes') 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 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++")"); + } +} -- cgit v1.2.3-70-g09d2