ardour
Macros
MIDI Definitions

Macros

#define MIDI_CTL_MSB_BANK   0x00
 
#define MIDI_CTL_MSB_MODWHEEL   0x01
 
#define MIDI_CTL_MSB_BREATH   0x02
 
#define MIDI_CTL_MSB_FOOT   0x04
 
#define MIDI_CTL_MSB_PORTAMENTO_TIME   0x05
 
#define MIDI_CTL_MSB_DATA_ENTRY   0x06
 
#define MIDI_CTL_MSB_MAIN_VOLUME   0x07
 
#define MIDI_CTL_MSB_BALANCE   0x08
 
#define MIDI_CTL_MSB_PAN   0x0A
 
#define MIDI_CTL_MSB_EXPRESSION   0x0B
 
#define MIDI_CTL_MSB_EFFECT1   0x0C
 
#define MIDI_CTL_MSB_EFFECT2   0x0D
 
#define MIDI_CTL_MSB_GENERAL_PURPOSE1   0x10
 
#define MIDI_CTL_MSB_GENERAL_PURPOSE2   0x11
 
#define MIDI_CTL_MSB_GENERAL_PURPOSE3   0x12
 
#define MIDI_CTL_MSB_GENERAL_PURPOSE4   0x13
 
#define MIDI_CTL_LSB_BANK   0x20
 
#define MIDI_CTL_LSB_MODWHEEL   0x21
 
#define MIDI_CTL_LSB_BREATH   0x22
 
#define MIDI_CTL_LSB_FOOT   0x24
 
#define MIDI_CTL_LSB_PORTAMENTO_TIME   0x25
 
#define MIDI_CTL_LSB_DATA_ENTRY   0x26
 
#define MIDI_CTL_LSB_MAIN_VOLUME   0x27
 
#define MIDI_CTL_LSB_BALANCE   0x28
 
#define MIDI_CTL_LSB_PAN   0x2A
 
#define MIDI_CTL_LSB_EXPRESSION   0x2B
 
#define MIDI_CTL_LSB_EFFECT1   0x2C
 
#define MIDI_CTL_LSB_EFFECT2   0x2D
 
#define MIDI_CTL_LSB_GENERAL_PURPOSE1   0x30
 
#define MIDI_CTL_LSB_GENERAL_PURPOSE2   0x31
 
#define MIDI_CTL_LSB_GENERAL_PURPOSE3   0x32
 
#define MIDI_CTL_LSB_GENERAL_PURPOSE4   0x33
 
#define MIDI_CTL_SUSTAIN   0x40
 
#define MIDI_CTL_PORTAMENTO   0x41
 
#define MIDI_CTL_SOSTENUTO   0x42
 
#define MIDI_CTL_SOFT_PEDAL   0x43
 
#define MIDI_CTL_LEGATO_FOOTSWITCH   0x44
 
#define MIDI_CTL_HOLD2   0x45
 
#define MIDI_CTL_SC1_SOUND_VARIATION   0x46
 
#define MIDI_CTL_SC2_TIMBRE   0x47
 
#define MIDI_CTL_SC3_RELEASE_TIME   0x48
 
#define MIDI_CTL_SC4_ATTACK_TIME   0x49
 
#define MIDI_CTL_SC5_BRIGHTNESS   0x4A
 
#define MIDI_CTL_SC6   0x4B
 
#define MIDI_CTL_SC7   0x4C
 
#define MIDI_CTL_SC8   0x4D
 
#define MIDI_CTL_SC9   0x4E
 
#define MIDI_CTL_SC10   0x4F
 
#define MIDI_CTL_GENERAL_PURPOSE5   0x50
 
#define MIDI_CTL_GENERAL_PURPOSE6   0x51
 
#define MIDI_CTL_GENERAL_PURPOSE7   0x52
 
#define MIDI_CTL_GENERAL_PURPOSE8   0x53
 
#define MIDI_CTL_PORTAMENTO_CONTROL   0x54
 
#define MIDI_CTL_E1_REVERB_DEPTH   0x5B
 
#define MIDI_CTL_E2_TREMOLO_DEPTH   0x5C
 
#define MIDI_CTL_E3_CHORUS_DEPTH   0x5D
 
#define MIDI_CTL_E4_DETUNE_DEPTH   0x5E
 
#define MIDI_CTL_E5_PHASER_DEPTH   0x5F
 
#define MIDI_CTL_DATA_INCREMENT   0x60
 
#define MIDI_CTL_DATA_DECREMENT   0x61
 
#define MIDI_CTL_NONREG_PARM_NUM_LSB   0x62
 
#define MIDI_CTL_NONREG_PARM_NUM_MSB   0x63
 
#define MIDI_CTL_REGIST_PARM_NUM_LSB   0x64
 
#define MIDI_CTL_REGIST_PARM_NUM_MSB   0x65
 
#define MIDI_CTL_ALL_SOUNDS_OFF   0x78
 
#define MIDI_CTL_RESET_CONTROLLERS   0x79
 
#define MIDI_CTL_LOCAL_CONTROL_SWITCH   0x7A
 
#define MIDI_CTL_ALL_NOTES_OFF   0x7B
 
#define MIDI_CTL_OMNI_OFF   0x7C
 
#define MIDI_CTL_OMNI_ON   0x7D
 
#define MIDI_CTL_MONO   0x7E
 
#define MIDI_CTL_POLY   0x7F
 
#define MIDI_CMD_NOTE_OFF   0x80
 
#define MIDI_CMD_NOTE_ON   0x90
 
#define MIDI_CMD_NOTE_PRESSURE   0xA0
 
#define MIDI_CMD_CONTROL   0xB0
 
#define MIDI_CMD_PGM_CHANGE   0xC0
 
#define MIDI_CMD_CHANNEL_PRESSURE   0xD0
 
#define MIDI_CMD_BENDER   0xE0
 
#define MIDI_CMD_COMMON_SYSEX   0xF0
 
#define MIDI_CMD_COMMON_MTC_QUARTER   0xF1
 
#define MIDI_CMD_COMMON_SONG_POS   0xF2
 
#define MIDI_CMD_COMMON_SONG_SELECT   0xF3
 
#define MIDI_CMD_COMMON_TUNE_REQUEST   0xF6
 
#define MIDI_CMD_COMMON_SYSEX_END   0xF7
 
#define MIDI_CMD_COMMON_CLOCK   0xF8
 
#define MIDI_CMD_COMMON_TICK   0xF9
 
#define MIDI_CMD_COMMON_START   0xFA
 
#define MIDI_CMD_COMMON_CONTINUE   0xFB
 
#define MIDI_CMD_COMMON_STOP   0xFC
 
#define MIDI_CMD_COMMON_SENSING   0xFE
 
#define MIDI_CMD_COMMON_RESET   0xFF
 

Detailed Description

MIDI command and controller number definitions.

Macro Definition Documentation

#define MIDI_CMD_BENDER   0xE0

Pitch Bender

Definition at line 113 of file midi_events.h.

#define MIDI_CMD_CHANNEL_PRESSURE   0xD0

Channel Pressure

Definition at line 112 of file midi_events.h.

#define MIDI_CMD_COMMON_CLOCK   0xF8

Clock

Definition at line 120 of file midi_events.h.

#define MIDI_CMD_COMMON_CONTINUE   0xFB

Continue

Definition at line 123 of file midi_events.h.

#define MIDI_CMD_COMMON_MTC_QUARTER   0xF1

MTC Quarter Frame

Definition at line 115 of file midi_events.h.

#define MIDI_CMD_COMMON_RESET   0xFF

Reset

Definition at line 126 of file midi_events.h.

#define MIDI_CMD_COMMON_SENSING   0xFE

Active Sensing

Definition at line 125 of file midi_events.h.

#define MIDI_CMD_COMMON_SONG_POS   0xF2

Song Position

Definition at line 116 of file midi_events.h.

#define MIDI_CMD_COMMON_SONG_SELECT   0xF3

Song Select

Definition at line 117 of file midi_events.h.

#define MIDI_CMD_COMMON_START   0xFA

Start

Definition at line 122 of file midi_events.h.

#define MIDI_CMD_COMMON_STOP   0xFC

Stop

Definition at line 124 of file midi_events.h.

#define MIDI_CMD_COMMON_SYSEX   0xF0

Sysex (System Exclusive) Begin

Definition at line 114 of file midi_events.h.

#define MIDI_CMD_COMMON_SYSEX_END   0xF7

End of Sysex

Definition at line 119 of file midi_events.h.

#define MIDI_CMD_COMMON_TICK   0xF9

Tick

Definition at line 121 of file midi_events.h.

#define MIDI_CMD_COMMON_TUNE_REQUEST   0xF6

Tune Request

Definition at line 118 of file midi_events.h.

#define MIDI_CMD_CONTROL   0xB0

Control Change

Definition at line 110 of file midi_events.h.

#define MIDI_CMD_NOTE_OFF   0x80

Note Off

Definition at line 107 of file midi_events.h.

#define MIDI_CMD_NOTE_ON   0x90

Note On

Definition at line 108 of file midi_events.h.

#define MIDI_CMD_NOTE_PRESSURE   0xA0

Key Pressure

Definition at line 109 of file midi_events.h.

#define MIDI_CMD_PGM_CHANGE   0xC0

Program Change

Definition at line 111 of file midi_events.h.

#define MIDI_CTL_ALL_NOTES_OFF   0x7B

All Notes Off

Definition at line 100 of file midi_events.h.

#define MIDI_CTL_ALL_SOUNDS_OFF   0x78

All Sounds Off

Definition at line 97 of file midi_events.h.

#define MIDI_CTL_DATA_DECREMENT   0x61

Data Decrement

Definition at line 92 of file midi_events.h.

#define MIDI_CTL_DATA_INCREMENT   0x60

Data Increment

Definition at line 91 of file midi_events.h.

#define MIDI_CTL_E1_REVERB_DEPTH   0x5B

E1 Reverb Depth

Definition at line 86 of file midi_events.h.

#define MIDI_CTL_E2_TREMOLO_DEPTH   0x5C

E2 Tremolo Depth

Definition at line 87 of file midi_events.h.

#define MIDI_CTL_E3_CHORUS_DEPTH   0x5D

E3 Chorus Depth

Definition at line 88 of file midi_events.h.

#define MIDI_CTL_E4_DETUNE_DEPTH   0x5E

E4 Detune Depth

Definition at line 89 of file midi_events.h.

#define MIDI_CTL_E5_PHASER_DEPTH   0x5F

E5 Phaser Depth

Definition at line 90 of file midi_events.h.

#define MIDI_CTL_GENERAL_PURPOSE5   0x50

General Purpose 5

Definition at line 81 of file midi_events.h.

#define MIDI_CTL_GENERAL_PURPOSE6   0x51

General Purpose 6

Definition at line 82 of file midi_events.h.

#define MIDI_CTL_GENERAL_PURPOSE7   0x52

General Purpose 7

Definition at line 83 of file midi_events.h.

#define MIDI_CTL_GENERAL_PURPOSE8   0x53

General Purpose 8

Definition at line 84 of file midi_events.h.

#define MIDI_CTL_HOLD2   0x45

Hold2

Definition at line 70 of file midi_events.h.

#define MIDI_CTL_LEGATO_FOOTSWITCH   0x44

Legato Foot Switch

Definition at line 69 of file midi_events.h.

#define MIDI_CTL_LOCAL_CONTROL_SWITCH   0x7A

Local Control Switch

Definition at line 99 of file midi_events.h.

#define MIDI_CTL_LSB_BALANCE   0x28

Balance

Definition at line 56 of file midi_events.h.

#define MIDI_CTL_LSB_BANK   0x20

Bank Selection

Definition at line 49 of file midi_events.h.

#define MIDI_CTL_LSB_BREATH   0x22

Breath

Definition at line 51 of file midi_events.h.

#define MIDI_CTL_LSB_DATA_ENTRY   0x26

Data Entry

Definition at line 54 of file midi_events.h.

#define MIDI_CTL_LSB_EFFECT1   0x2C

Effect1

Definition at line 59 of file midi_events.h.

#define MIDI_CTL_LSB_EFFECT2   0x2D

Effect2

Definition at line 60 of file midi_events.h.

#define MIDI_CTL_LSB_EXPRESSION   0x2B

Expression

Definition at line 58 of file midi_events.h.

#define MIDI_CTL_LSB_FOOT   0x24

Foot

Definition at line 52 of file midi_events.h.

#define MIDI_CTL_LSB_GENERAL_PURPOSE1   0x30

General Purpose 1

Definition at line 61 of file midi_events.h.

#define MIDI_CTL_LSB_GENERAL_PURPOSE2   0x31

General Purpose 2

Definition at line 62 of file midi_events.h.

#define MIDI_CTL_LSB_GENERAL_PURPOSE3   0x32

General Purpose 3

Definition at line 63 of file midi_events.h.

#define MIDI_CTL_LSB_GENERAL_PURPOSE4   0x33

General Purpose 4

Definition at line 64 of file midi_events.h.

#define MIDI_CTL_LSB_MAIN_VOLUME   0x27

Main Volume

Definition at line 55 of file midi_events.h.

#define MIDI_CTL_LSB_MODWHEEL   0x21

Modulation

Definition at line 50 of file midi_events.h.

#define MIDI_CTL_LSB_PAN   0x2A

Panpot

Definition at line 57 of file midi_events.h.

#define MIDI_CTL_LSB_PORTAMENTO_TIME   0x25

Portamento Time

Definition at line 53 of file midi_events.h.

#define MIDI_CTL_MONO   0x7E

Monophonic mode

Definition at line 103 of file midi_events.h.

#define MIDI_CTL_MSB_BALANCE   0x08

Balance

Definition at line 40 of file midi_events.h.

#define MIDI_CTL_MSB_BANK   0x00

Bank Selection

Definition at line 33 of file midi_events.h.

#define MIDI_CTL_MSB_BREATH   0x02

Breath

Definition at line 35 of file midi_events.h.

#define MIDI_CTL_MSB_DATA_ENTRY   0x06

Data Entry

Definition at line 38 of file midi_events.h.

#define MIDI_CTL_MSB_EFFECT1   0x0C

Effect1

Definition at line 43 of file midi_events.h.

#define MIDI_CTL_MSB_EFFECT2   0x0D

Effect2

Definition at line 44 of file midi_events.h.

#define MIDI_CTL_MSB_EXPRESSION   0x0B

Expression

Definition at line 42 of file midi_events.h.

#define MIDI_CTL_MSB_FOOT   0x04

Foot

Definition at line 36 of file midi_events.h.

#define MIDI_CTL_MSB_GENERAL_PURPOSE1   0x10

General Purpose 1

Definition at line 45 of file midi_events.h.

#define MIDI_CTL_MSB_GENERAL_PURPOSE2   0x11

General Purpose 2

Definition at line 46 of file midi_events.h.

#define MIDI_CTL_MSB_GENERAL_PURPOSE3   0x12

General Purpose 3

Definition at line 47 of file midi_events.h.

#define MIDI_CTL_MSB_GENERAL_PURPOSE4   0x13

General Purpose 4

Definition at line 48 of file midi_events.h.

#define MIDI_CTL_MSB_MAIN_VOLUME   0x07

Main Volume

Definition at line 39 of file midi_events.h.

#define MIDI_CTL_MSB_MODWHEEL   0x01

Modulation

Definition at line 34 of file midi_events.h.

#define MIDI_CTL_MSB_PAN   0x0A

Panpot

Definition at line 41 of file midi_events.h.

#define MIDI_CTL_MSB_PORTAMENTO_TIME   0x05

Portamento Time

Definition at line 37 of file midi_events.h.

#define MIDI_CTL_NONREG_PARM_NUM_LSB   0x62

Non-registered Parameter Number

Definition at line 93 of file midi_events.h.

#define MIDI_CTL_NONREG_PARM_NUM_MSB   0x63

Non-registered Parameter Number

Definition at line 94 of file midi_events.h.

#define MIDI_CTL_OMNI_OFF   0x7C

Omni Off

Definition at line 101 of file midi_events.h.

#define MIDI_CTL_OMNI_ON   0x7D

Omni On

Definition at line 102 of file midi_events.h.

#define MIDI_CTL_POLY   0x7F

Polyphonic mode

Definition at line 104 of file midi_events.h.

#define MIDI_CTL_PORTAMENTO   0x41

Portamento

Definition at line 66 of file midi_events.h.

#define MIDI_CTL_PORTAMENTO_CONTROL   0x54

Portamento Control

Definition at line 85 of file midi_events.h.

#define MIDI_CTL_REGIST_PARM_NUM_LSB   0x64

Registered Parameter Number

Definition at line 95 of file midi_events.h.

#define MIDI_CTL_REGIST_PARM_NUM_MSB   0x65

Registered Parameter Number

Definition at line 96 of file midi_events.h.

#define MIDI_CTL_RESET_CONTROLLERS   0x79

Reset Controllers

Definition at line 98 of file midi_events.h.

#define MIDI_CTL_SC10   0x4F

SC10

Definition at line 80 of file midi_events.h.

#define MIDI_CTL_SC1_SOUND_VARIATION   0x46

SC1 Sound Variation

Definition at line 71 of file midi_events.h.

#define MIDI_CTL_SC2_TIMBRE   0x47

SC2 Timbre

Definition at line 72 of file midi_events.h.

#define MIDI_CTL_SC3_RELEASE_TIME   0x48

SC3 Release Time

Definition at line 73 of file midi_events.h.

#define MIDI_CTL_SC4_ATTACK_TIME   0x49

SC4 Attack Time

Definition at line 74 of file midi_events.h.

#define MIDI_CTL_SC5_BRIGHTNESS   0x4A

SC5 Brightness

Definition at line 75 of file midi_events.h.

#define MIDI_CTL_SC6   0x4B

SC6

Definition at line 76 of file midi_events.h.

#define MIDI_CTL_SC7   0x4C

SC7

Definition at line 77 of file midi_events.h.

#define MIDI_CTL_SC8   0x4D

SC8

Definition at line 78 of file midi_events.h.

#define MIDI_CTL_SC9   0x4E

SC9

Definition at line 79 of file midi_events.h.

#define MIDI_CTL_SOFT_PEDAL   0x43

Soft Pedal

Definition at line 68 of file midi_events.h.

#define MIDI_CTL_SOSTENUTO   0x42

Sostenuto

Definition at line 67 of file midi_events.h.

#define MIDI_CTL_SUSTAIN   0x40

Sustain Pedal

Definition at line 65 of file midi_events.h.