LMMS
Loading...
Searching...
No Matches
midicode.h File Reference

Go to the source code of this file.

Macros

#define MIDI_DATA(d)
#define MIDI_CHANNEL(c)
#define MIDI_PORT(c)
#define MIDI_PROGRAM(p)
#define MIDI_STATUS_BIT   0x80
#define MIDI_COMMON   0x70
#define MIDI_CODE_MASK   0xf0
#define MIDI_CHN_MASK   0x0f
#define MIDI_REALTIME   0xf8
#define MIDI_CHAN_MODE   0xfa
#define MIDI_OFF_NOTE   0x80
#define MIDI_ON_NOTE   0x90
#define MIDI_POLY_TOUCH   0xa0
#define MIDI_CTRL   0xb0
#define MIDI_CH_PROGRAM   0xc0
#define MIDI_TOUCH   0xd0
#define MIDI_BEND   0xe0
#define MIDI_SYSEX   0xf0
#define MIDI_EOX   0xf7
#define MIDI_Q_FRAME   0xf1
#define MIDI_SONG_POINTER   0xf2
#define MIDI_SONG_SELECT   0xf3
#define MIDI_F4   0xf4
#define MIDI_F5   0xf5
#define MIDI_TUNE_REQ   0xf6
#define MIDI_TIME_CLOCK   0xf8
#define MIDI_F9   0xf9
#define MIDI_START   0xfa
#define MIDI_CONTINUE   0xfb
#define MIDI_STOP   0xfc
#define MIDI_FD   0xfd
#define MIDI_ACTIVE_SENSING   0xfe
#define MIDI_SYS_RESET   0xff
#define MIDI_LOCAL   0x7a
#define MIDI_LOCAL_OFF   0x00
#define MIDI_LOCAL_ON   0x7f
#define MIDI_ALL_OFF   0x7b
#define MIDI_OMNI_OFF   0x7c
#define MIDI_OMNI_ON   0x7d
#define MIDI_MONO_ON   0x7e
#define MIDI_POLY_ON   0x7f

Macro Definition Documentation

◆ MIDI_ACTIVE_SENSING

#define MIDI_ACTIVE_SENSING   0xfe

◆ MIDI_ALL_OFF

#define MIDI_ALL_OFF   0x7b

◆ MIDI_BEND

#define MIDI_BEND   0xe0

◆ MIDI_CH_PROGRAM

#define MIDI_CH_PROGRAM   0xc0

◆ MIDI_CHAN_MODE

#define MIDI_CHAN_MODE   0xfa

◆ MIDI_CHANNEL

#define MIDI_CHANNEL ( c)
Value:
(0x0f & ((c) - 1))
return c
Definition crypt.c:175

◆ MIDI_CHN_MASK

#define MIDI_CHN_MASK   0x0f

◆ MIDI_CODE_MASK

#define MIDI_CODE_MASK   0xf0

◆ MIDI_COMMON

#define MIDI_COMMON   0x70

◆ MIDI_CONTINUE

#define MIDI_CONTINUE   0xfb

◆ MIDI_CTRL

#define MIDI_CTRL   0xb0

◆ MIDI_DATA

#define MIDI_DATA ( d)
Value:
(0x7f & (d))
unsigned d
Definition inflate.c:940

◆ MIDI_EOX

#define MIDI_EOX   0xf7

◆ MIDI_F4

#define MIDI_F4   0xf4

◆ MIDI_F5

#define MIDI_F5   0xf5

◆ MIDI_F9

#define MIDI_F9   0xf9

◆ MIDI_FD

#define MIDI_FD   0xfd

◆ MIDI_LOCAL

#define MIDI_LOCAL   0x7a

◆ MIDI_LOCAL_OFF

#define MIDI_LOCAL_OFF   0x00

◆ MIDI_LOCAL_ON

#define MIDI_LOCAL_ON   0x7f

◆ MIDI_MONO_ON

#define MIDI_MONO_ON   0x7e

◆ MIDI_OFF_NOTE

#define MIDI_OFF_NOTE   0x80

◆ MIDI_OMNI_OFF

#define MIDI_OMNI_OFF   0x7c

◆ MIDI_OMNI_ON

#define MIDI_OMNI_ON   0x7d

◆ MIDI_ON_NOTE

#define MIDI_ON_NOTE   0x90

◆ MIDI_POLY_ON

#define MIDI_POLY_ON   0x7f

◆ MIDI_POLY_TOUCH

#define MIDI_POLY_TOUCH   0xa0

◆ MIDI_PORT

#define MIDI_PORT ( c)
Value:
(((c) - 1) >> 4)

◆ MIDI_PROGRAM

#define MIDI_PROGRAM ( p)
Value:
MIDI_DATA((p) - 1)
#define MIDI_DATA(d)
Definition midicode.h:13
uch * p
Definition crypt.c:594

◆ MIDI_Q_FRAME

#define MIDI_Q_FRAME   0xf1

◆ MIDI_REALTIME

#define MIDI_REALTIME   0xf8

◆ MIDI_SONG_POINTER

#define MIDI_SONG_POINTER   0xf2

◆ MIDI_SONG_SELECT

#define MIDI_SONG_SELECT   0xf3

◆ MIDI_START

#define MIDI_START   0xfa

◆ MIDI_STATUS_BIT

#define MIDI_STATUS_BIT   0x80

◆ MIDI_STOP

#define MIDI_STOP   0xfc

◆ MIDI_SYS_RESET

#define MIDI_SYS_RESET   0xff

◆ MIDI_SYSEX

#define MIDI_SYSEX   0xf0

◆ MIDI_TIME_CLOCK

#define MIDI_TIME_CLOCK   0xf8

◆ MIDI_TOUCH

#define MIDI_TOUCH   0xd0

◆ MIDI_TUNE_REQ

#define MIDI_TUNE_REQ   0xf6