summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/MIDI.ck18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/MIDI.ck b/lib/MIDI.ck
deleted file mode 100644
index be808db..0000000
--- a/lib/MIDI.ck
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Global MIDI tools
- */
-public class MIDI {
- static int channels;
-
- static int noteOff;
- static int noteOn;
-
- fun static int
- isCmd(int data, int cmd)
- {
- return data >= cmd && data < cmd + channels;
- }
-}
-0x10 => MIDI.channels;
-0x80 => MIDI.noteOff;
-0x90 => MIDI.noteOn;