summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-04-30 22:40:57 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-04-30 22:40:57 +0200
commit2818fee915788225095d6207926c90fa894548a8 (patch)
tree762df7e43fe3b8da27be3fca2f507fb5dfb9b040 /lib
parent10342efb0a5ca881feeb4bedfd6a82fbf5e6635e (diff)
downloaddigitale-debutanten-2818fee915788225095d6207926c90fa894548a8.tar.gz
MIDI class removed
Diffstat (limited to 'lib')
-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;