This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Control_Change.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
5 
7 
10 
14 namespace MIDI_CC {
15 
16 constexpr uint8_t Bank_Select = 0x00;
17 constexpr uint8_t Modulation_Wheel = 0x01;
18 constexpr uint8_t Breath_Controller = 0x02;
19 // 03 Undefined
20 constexpr uint8_t Foot_Controller = 0x04;
21 constexpr uint8_t Portamento_Time = 0x05;
22 constexpr uint8_t Data_Entry_MSB = 0x06;
23 constexpr uint8_t Channel_Volume = 0x07;
24 constexpr uint8_t Balance = 0x08;
25 // 09 Undefined
26 constexpr uint8_t Pan = 0x0A;
27 constexpr uint8_t Expression_Controller = 0x0B;
28 constexpr uint8_t Effect_Control_1 = 0x0C;
29 constexpr uint8_t Effect_Control_2 = 0x0D;
30 // 0E Undefined
31 // 0F Undefined
32 constexpr uint8_t General_Purpose_Controller_1 = 0x10;
33 constexpr uint8_t General_Purpose_Controller_2 = 0x11;
34 constexpr uint8_t General_Purpose_Controller_3 = 0x12;
35 constexpr uint8_t General_Purpose_Controller_4 = 0x13;
36 // 14-1F Undefined
37 
38 // LSB
39 
40 constexpr uint8_t Bank_Select_LSB = 0x20 + 0x00;
41 constexpr uint8_t Modulation_Wheel_LSB = 0x20 + 0x01;
42 constexpr uint8_t Breath_Controller_LSB = 0x20 + 0x02;
43 // 23 Undefined
44 constexpr uint8_t Foot_Controller_LSB = 0x20 + 0x04;
45 constexpr uint8_t Portamento_Time_LSB = 0x20 + 0x05;
46 constexpr uint8_t Data_Entry_MSB_LSB = 0x20 + 0x06;
47 constexpr uint8_t Channel_Volume_LSB = 0x20 + 0x07;
48 constexpr uint8_t Balance_LSB = 0x20 + 0x08;
49 // 29 Undefined
50 constexpr uint8_t Pan_LSB = 0x20 + 0x0A;
51 constexpr uint8_t Expression_Controller_LSB = 0x20 + 0x0B;
52 constexpr uint8_t Effect_Control_1_LSB = 0x20 + 0x0C;
53 constexpr uint8_t Effect_Control_2_LSB = 0x20 + 0x0D;
54 // 2E Undefined
55 // 2F Undefined
56 constexpr uint8_t General_Purpose_Controller_1_LSB = 0x20 + 0x10;
57 constexpr uint8_t General_Purpose_Controller_2_LSB = 0x20 + 0x11;
58 constexpr uint8_t General_Purpose_Controller_3_LSB = 0x20 + 0x12;
59 constexpr uint8_t General_Purpose_Controller_4_LSB = 0x20 + 0x13;
60 // 34 - 3F Undefined
61 
62 constexpr uint8_t Damper_Pedal = 0x40;
63 constexpr uint8_t Portamento = 0x41;
64 constexpr uint8_t Sostenuto = 0x42;
65 constexpr uint8_t Soft_Pedal = 0x43;
66 constexpr uint8_t Legato_Footswitch = 0x44;
67 constexpr uint8_t Hold_2 = 0x45;
68 constexpr uint8_t Sound_Controller_1 = 0x46;
69 constexpr uint8_t Sound_Controller_2 = 0x47;
70 constexpr uint8_t Sound_Controller_3 = 0x48;
71 constexpr uint8_t Sound_Controller_4 = 0x49;
72 constexpr uint8_t Sound_Controller_5 = 0x4A;
73 constexpr uint8_t Sound_Controller_6 = 0x4B;
74 constexpr uint8_t Sound_Controller_7 = 0x4C;
75 constexpr uint8_t Sound_Controller_8 = 0x4D;
76 constexpr uint8_t Sound_Controller_9 = 0x4E;
77 constexpr uint8_t Sound_Controller_10 = 0x4F;
78 constexpr uint8_t General_Purpose_Controller_5 = 0x50;
79 constexpr uint8_t General_Purpose_Controller_6 = 0x51;
80 constexpr uint8_t General_Purpose_Controller_7 = 0x52;
81 constexpr uint8_t General_Purpose_Controller_8 = 0x53;
82 constexpr uint8_t Portamento_Control = 0x54;
83 // 55-57 Undefined
84 
85 constexpr uint8_t High_Resolution_Velocity_Prefix = 0x58;
86 // 59-5A Undefined
87 
88 constexpr uint8_t Effects_1 = 0x5B;
89 constexpr uint8_t Effects_2 = 0x5C;
90 constexpr uint8_t Effects_3 = 0x5D;
91 constexpr uint8_t Effects_4 = 0x5E;
92 constexpr uint8_t Effects_5 = 0x5F;
93 
94 constexpr uint8_t Data_Increment = 0x60;
95 constexpr uint8_t Data_Decrement = 0x61;
96 
97 constexpr uint8_t NRPN_LSB = 0x62;
98 constexpr uint8_t NRPN_MSB = 0x63;
99 constexpr uint8_t RPN_LSB = 0x64;
100 constexpr uint8_t RPN_MSB = 0x65;
101 
102 // Channel Mode Messages
103 
104 constexpr uint8_t All_Sound_Off = 0x78;
105 constexpr uint8_t Reset_All_Controllers = 0x79;
106 constexpr uint8_t Local_Control = 0x7A;
107 constexpr uint8_t All_Notes_Off = 0x7B;
108 constexpr uint8_t Omni_Mode_Off = 0x7C;
109 constexpr uint8_t Omni_Mode_On = 0x7D;
110 constexpr uint8_t Mono_Mode_On = 0x7E;
111 constexpr uint8_t Poly_Mode_On = 0x7F;
112 
113 }
114 
116 
MIDI_CC::General_Purpose_Controller_1_LSB
constexpr uint8_t General_Purpose_Controller_1_LSB
Definition: Control_Change.hpp:56
MIDI_CC::Modulation_Wheel
constexpr uint8_t Modulation_Wheel
Definition: Control_Change.hpp:17
MIDI_CC::Breath_Controller_LSB
constexpr uint8_t Breath_Controller_LSB
Definition: Control_Change.hpp:42
MIDI_CC::Effects_2
constexpr uint8_t Effects_2
Definition: Control_Change.hpp:89
MIDI_CC::All_Notes_Off
constexpr uint8_t All_Notes_Off
Definition: Control_Change.hpp:107
MIDI_CC::Local_Control
constexpr uint8_t Local_Control
Definition: Control_Change.hpp:106
MIDI_CC::Omni_Mode_Off
constexpr uint8_t Omni_Mode_Off
Definition: Control_Change.hpp:108
MIDI_CC::RPN_LSB
constexpr uint8_t RPN_LSB
Definition: Control_Change.hpp:99
MIDI_CC::Data_Increment
constexpr uint8_t Data_Increment
Definition: Control_Change.hpp:94
MIDI_CC::General_Purpose_Controller_7
constexpr uint8_t General_Purpose_Controller_7
Definition: Control_Change.hpp:80
MIDI_CC::Pan_LSB
constexpr uint8_t Pan_LSB
Definition: Control_Change.hpp:50
MIDI_CC::General_Purpose_Controller_2_LSB
constexpr uint8_t General_Purpose_Controller_2_LSB
Definition: Control_Change.hpp:57
MIDI_CC::Sound_Controller_2
constexpr uint8_t Sound_Controller_2
Definition: Control_Change.hpp:69
MIDI_CC::Sound_Controller_8
constexpr uint8_t Sound_Controller_8
Definition: Control_Change.hpp:75
MIDI_CC::Data_Entry_MSB_LSB
constexpr uint8_t Data_Entry_MSB_LSB
Definition: Control_Change.hpp:46
MIDI_CC::RPN_MSB
constexpr uint8_t RPN_MSB
Definition: Control_Change.hpp:100
MIDI_CC::Legato_Footswitch
constexpr uint8_t Legato_Footswitch
Definition: Control_Change.hpp:66
MIDI_CC::Sound_Controller_7
constexpr uint8_t Sound_Controller_7
Definition: Control_Change.hpp:74
MIDI_CC::Damper_Pedal
constexpr uint8_t Damper_Pedal
Definition: Control_Change.hpp:62
MIDI_CC::Portamento
constexpr uint8_t Portamento
Definition: Control_Change.hpp:63
MIDI_CC::Expression_Controller
constexpr uint8_t Expression_Controller
Definition: Control_Change.hpp:27
MIDI_CC::General_Purpose_Controller_4
constexpr uint8_t General_Purpose_Controller_4
Definition: Control_Change.hpp:35
MIDI_CC::Effects_4
constexpr uint8_t Effects_4
Definition: Control_Change.hpp:91
MIDI_CC::Omni_Mode_On
constexpr uint8_t Omni_Mode_On
Definition: Control_Change.hpp:109
MIDI_CC::Bank_Select_LSB
constexpr uint8_t Bank_Select_LSB
Definition: Control_Change.hpp:40
MIDI_CC::General_Purpose_Controller_2
constexpr uint8_t General_Purpose_Controller_2
Definition: Control_Change.hpp:33
MIDI_CC::Soft_Pedal
constexpr uint8_t Soft_Pedal
Definition: Control_Change.hpp:65
MIDI_CC::Channel_Volume_LSB
constexpr uint8_t Channel_Volume_LSB
Definition: Control_Change.hpp:47
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: NamespaceSettings.hpp:9
MIDI_CC::Reset_All_Controllers
constexpr uint8_t Reset_All_Controllers
Definition: Control_Change.hpp:105
MIDI_CC::Balance_LSB
constexpr uint8_t Balance_LSB
Definition: Control_Change.hpp:48
MIDI_CC::Sound_Controller_10
constexpr uint8_t Sound_Controller_10
Definition: Control_Change.hpp:77
MIDI_CC::General_Purpose_Controller_3
constexpr uint8_t General_Purpose_Controller_3
Definition: Control_Change.hpp:34
MIDI_CC::Data_Decrement
constexpr uint8_t Data_Decrement
Definition: Control_Change.hpp:95
MIDI_CC::General_Purpose_Controller_3_LSB
constexpr uint8_t General_Purpose_Controller_3_LSB
Definition: Control_Change.hpp:58
MIDI_CC::Effects_1
constexpr uint8_t Effects_1
Definition: Control_Change.hpp:88
MIDI_CC::Modulation_Wheel_LSB
constexpr uint8_t Modulation_Wheel_LSB
Definition: Control_Change.hpp:41
MIDI_CC::Balance
constexpr uint8_t Balance
Definition: Control_Change.hpp:24
MIDI_CC::Effect_Control_2
constexpr uint8_t Effect_Control_2
Definition: Control_Change.hpp:29
MIDI_CC::General_Purpose_Controller_6
constexpr uint8_t General_Purpose_Controller_6
Definition: Control_Change.hpp:79
MIDI_CC::Effect_Control_2_LSB
constexpr uint8_t Effect_Control_2_LSB
Definition: Control_Change.hpp:53
MIDI_CC::General_Purpose_Controller_4_LSB
constexpr uint8_t General_Purpose_Controller_4_LSB
Definition: Control_Change.hpp:59
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
MIDI_CC::Effect_Control_1
constexpr uint8_t Effect_Control_1
Definition: Control_Change.hpp:28
MIDI_CC::Sound_Controller_4
constexpr uint8_t Sound_Controller_4
Definition: Control_Change.hpp:71
MIDI_CC::General_Purpose_Controller_1
constexpr uint8_t General_Purpose_Controller_1
Definition: Control_Change.hpp:32
NamespaceSettings.hpp
MIDI_CC::NRPN_MSB
constexpr uint8_t NRPN_MSB
Definition: Control_Change.hpp:98
MIDI_CC::Portamento_Time
constexpr uint8_t Portamento_Time
Definition: Control_Change.hpp:21
MIDI_CC::Effect_Control_1_LSB
constexpr uint8_t Effect_Control_1_LSB
Definition: Control_Change.hpp:52
MIDI_CC::Sound_Controller_1
constexpr uint8_t Sound_Controller_1
Definition: Control_Change.hpp:68
MIDI_CC::Sound_Controller_3
constexpr uint8_t Sound_Controller_3
Definition: Control_Change.hpp:70
MIDI_CC::Sound_Controller_5
constexpr uint8_t Sound_Controller_5
Definition: Control_Change.hpp:72
MIDI_CC
Names and values for all MIDI Control Change Controller Numbers.
Definition: Control_Change.hpp:14
MIDI_CC::Bank_Select
constexpr uint8_t Bank_Select
Definition: Control_Change.hpp:16
MIDI_CC::Sound_Controller_9
constexpr uint8_t Sound_Controller_9
Definition: Control_Change.hpp:76
MIDI_CC::Data_Entry_MSB
constexpr uint8_t Data_Entry_MSB
Definition: Control_Change.hpp:22
MIDI_CC::Sostenuto
constexpr uint8_t Sostenuto
Definition: Control_Change.hpp:64
MIDI_CC::High_Resolution_Velocity_Prefix
constexpr uint8_t High_Resolution_Velocity_Prefix
Definition: Control_Change.hpp:85
MIDI_CC::Portamento_Time_LSB
constexpr uint8_t Portamento_Time_LSB
Definition: Control_Change.hpp:45
MIDI_CC::Foot_Controller_LSB
constexpr uint8_t Foot_Controller_LSB
Definition: Control_Change.hpp:44
MIDI_CC::Portamento_Control
constexpr uint8_t Portamento_Control
Definition: Control_Change.hpp:82
MIDI_CC::Effects_3
constexpr uint8_t Effects_3
Definition: Control_Change.hpp:90
MIDI_CC::Expression_Controller_LSB
constexpr uint8_t Expression_Controller_LSB
Definition: Control_Change.hpp:51
MIDI_CC::General_Purpose_Controller_8
constexpr uint8_t General_Purpose_Controller_8
Definition: Control_Change.hpp:81
MIDI_CC::Sound_Controller_6
constexpr uint8_t Sound_Controller_6
Definition: Control_Change.hpp:73
MIDI_CC::Pan
constexpr uint8_t Pan
Definition: Control_Change.hpp:26
MIDI_CC::NRPN_LSB
constexpr uint8_t NRPN_LSB
Definition: Control_Change.hpp:97
MIDI_CC::Mono_Mode_On
constexpr uint8_t Mono_Mode_On
Definition: Control_Change.hpp:110
MIDI_CC::Poly_Mode_On
constexpr uint8_t Poly_Mode_On
Definition: Control_Change.hpp:111
MIDI_CC::Hold_2
constexpr uint8_t Hold_2
Definition: Control_Change.hpp:67
MIDI_CC::Channel_Volume
constexpr uint8_t Channel_Volume
Definition: Control_Change.hpp:23
MIDI_CC::Breath_Controller
constexpr uint8_t Breath_Controller
Definition: Control_Change.hpp:18
MIDI_CC::Foot_Controller
constexpr uint8_t Foot_Controller
Definition: Control_Change.hpp:20
MIDI_CC::Effects_5
constexpr uint8_t Effects_5
Definition: Control_Change.hpp:92
MIDI_CC::All_Sound_Off
constexpr uint8_t All_Sound_Off
Definition: Control_Change.hpp:104
MIDI_CC::General_Purpose_Controller_5
constexpr uint8_t General_Purpose_Controller_5
Definition: Control_Change.hpp:78