[comp.sys.amiga] Ooops, forgot midi.h for Play and Record

fredc@petsd.UUCP (01/25/87)

Ooops, I forgot to send the "midi.h" include file in my last posting.

------- cut here ------ midi.h -----------
#define ACTIVE_SENSING 0xfe
#define EOX 0xf7
#define MIDI_DATA 0x00
#define NOTE_OFF 0x80
#define NOTE_ON 0x90
#define KEY_PRESSURE 0xa0
#define PARAMETER 0xb0
#define PROGRAM 0xc0
#define CHANNEL_PRESSURE 0xd0
#define PITCHWHEEL 0xe0
#define SYSTEM_EXCLUSIVE 0xf0
#define NON_MIDI_EVENT 0x1f0
#define TIMETAG 0xf4
#define GETMIDI(x) (x = getmidi())
#define PUTMIDI(x) (putmidi( (int)(x) ))
#define MIDIREQ(cmd) do { PUTMIDI(*cmd); } while (*cmd++ != EOX);

#define STORE 24
#define FUNCTION 25
#define EDIT 26
#define INTERNAL 27
#define BANKA 28
#define BANKB 29
#define BANKC 30
#define BANKD 31
#define PB_MODE 32
#define KEY_SHIFT 33
#define NO 34
#define YES 35