summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/muse/midi.h
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-09-15 12:14:55 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-09-15 12:14:55 +0000
commitb0546e5e7f7044019892543c6c82029db8d564a7 (patch)
tree1b96a6260900f3fbf3513fb48a5a72aa89052dc8 /attic/muse2-oom/muse2/muse/midi.h
parent583c73d1a07154d3d2672d65d8cce6495f490454 (diff)
moved attic to a branch of it's own
Diffstat (limited to 'attic/muse2-oom/muse2/muse/midi.h')
-rw-r--r--attic/muse2-oom/muse2/muse/midi.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/attic/muse2-oom/muse2/muse/midi.h b/attic/muse2-oom/muse2/muse/midi.h
deleted file mode 100644
index ab649377..00000000
--- a/attic/muse2-oom/muse2/muse/midi.h
+++ /dev/null
@@ -1,73 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: midi.h,v 1.4.2.2 2009/11/09 20:28:28 terminator356 Exp $
-//
-// (C) Copyright 1999/2000 Werner Schweer (ws@seh.de)
-//=========================================================
-
-#ifndef __MIDI_H__
-#define __MIDI_H__
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-class QString;
-
-enum {
- ME_NOTEOFF = 0x80,
- ME_NOTEON = 0x90,
- ME_POLYAFTER = 0xa0,
- ME_CONTROLLER = 0xb0,
- ME_PROGRAM = 0xc0,
- ME_AFTERTOUCH = 0xd0,
- ME_PITCHBEND = 0xe0,
- ME_SYSEX = 0xf0,
- ME_META = 0xff,
- ME_MTC_QUARTER = 0xf1,
- ME_SONGPOS = 0xf2,
- ME_SONGSEL = 0xf3,
- ME_TUNE_REQ = 0xf6,
- ME_SYSEX_END = 0xf7,
- ME_CLOCK = 0xf8,
- ME_TICK = 0xf9,
- ME_START = 0xfa,
- ME_CONTINUE = 0xfb,
- ME_STOP = 0xfc,
- ME_SENSE = 0xfe
- };
-
-#define ME_TIMESIG 0x58
-
-extern const unsigned char gmOnMsg[];
-
-extern const unsigned char gsOnMsg[];
-extern const unsigned char gsOnMsg2[];
-extern const unsigned char gsOnMsg3[];
-extern const unsigned char xgOnMsg[];
-extern const unsigned char mmcDeferredPlayMsg[];
-extern const unsigned char mmcStopMsg[];
-extern const unsigned char mmcLocateMsg[];
-
-extern const unsigned int gmOnMsgLen;
-extern const unsigned int gsOnMsgLen;
-extern const unsigned int gsOnMsg2Len;
-extern const unsigned int gsOnMsg3Len;
-extern const unsigned int xgOnMsgLen;
-extern const unsigned int mmcDeferredPlayMsgLen;
-extern const unsigned int mmcStopMsgLen;
-extern const unsigned int mmcLocateMsgLen;
-
-QString nameSysex(unsigned int len, const unsigned char* buf);
-QString midiMetaName(int);
-
-class EventList;
-class MPEventList;
-class MidiTrack;
-//extern void buildMidiEventList(EventList* mel, const MPEventList* el, MidiTrack* track, int division, bool);
-extern void buildMidiEventList(EventList* mel, const MPEventList* el, MidiTrack* track, int division, bool /*addSysexMeta*/, bool /*doLoops*/);
-// extern bool checkSysex(MidiTrack* track, unsigned int len, unsigned char* buf);
-
-#endif
-