Navigation
API > API/Plugins > API/Plugins/HarmonixMidi
Controllers
In a Control Change message, data byte 1 is the controller ID, and data byte 2 is the controller value.
| Name | Harmonix::Midi::Constants::EControllerID |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Public/HarmonixMidi/MidiConstants.h |
| Include Path | #include "HarmonixMidi/MidiConstants.h" |
Syntax
namespace Harmonix
{
namespace Midi
{
namespace Constants
{
enum EControllerID
{
BankSelection = 0,
ModWheel = 1,
Breath = 2,
PortamentoTime = 5,
DataCoarse = 6,
Volume = 7,
Balance = 8,
PanRight = 10,
Expression = 11,
BitCrushWetMix = 14,
BitCrushLevel = 15,
BitCrushSampleHold = 16,
LFO0Frequency = 22,
LFO1Frequency = 23,
LFO0Depth = 24,
LFO1Depth = 25,
DelayTime = 26,
DelayDryGain = 27,
DelayWetGain = 28,
DelayFeedback = 29,
CoarsePitchBend = 30,
SampleStartTime = 31,
DataFine = 38,
SubStreamVol1 = 52,
SubStreamVol2 = 53,
SubStreamVol3 = 54,
SubStreamVol4 = 55,
SubStreamVol5 = 56,
SubStreamVol6 = 57,
SubStreamVol7 = 58,
SubStreamVol8 = 59,
DelayEQEnabled = 60,
DelayEQType = 61,
DelayEQFreq = 62,
DelayEQQ = 63,
Hold = 64,
PortamentoSwitch = 65,
Sustenuto = 66,
SoftPedal = 67,
Legato = 68,
Hold2 = 69,
FilterQ = 71,
Release = 72,
Attack = 73,
FilterFrequency = 74,
TimeStretchEnvelopeOrder = 79,
DelayLFOBeatSync = 80,
DelayLFOEnabled = 81,
DelayLFORate = 82,
DelayLFODepth = 83,
DelayStereoType = 84,
DelayPanLeft = 85,
DelayPanRight = 86,
RPNFine = 100,
RPNCourse = 101,
AllSoundOff = 120,
Reset = 121,
AllNotesOff = 123,
}
}
}
}
Values
| Name | Remarks |
|---|---|
| BankSelection | NOTE: If you add any here also add them to the GetControllerName function! |
| ModWheel | |
| Breath | |
| PortamentoTime | |
| DataCoarse | |
| Volume | |
| Balance | |
| PanRight | |
| Expression | |
| BitCrushWetMix | |
| BitCrushLevel | |
| BitCrushSampleHold | |
| LFO0Frequency | |
| LFO1Frequency | |
| LFO0Depth | |
| LFO1Depth | |
| DelayTime | |
| DelayDryGain | |
| DelayWetGain | |
| DelayFeedback | |
| CoarsePitchBend | |
| SampleStartTime | |
| DataFine | |
| SubStreamVol1 | |
| SubStreamVol2 | |
| SubStreamVol3 | |
| SubStreamVol4 | |
| SubStreamVol5 | |
| SubStreamVol6 | |
| SubStreamVol7 | |
| SubStreamVol8 | |
| DelayEQEnabled | |
| DelayEQType | |
| DelayEQFreq | |
| DelayEQQ | |
| Hold | |
| PortamentoSwitch | |
| Sustenuto | |
| SoftPedal | |
| Legato | |
| Hold2 | |
| FilterQ | |
| Release | |
| Attack | |
| FilterFrequency | |
| TimeStretchEnvelopeOrder | |
| DelayLFOBeatSync | |
| DelayLFOEnabled | |
| DelayLFORate | |
| DelayLFODepth | |
| DelayStereoType | |
| DelayPanLeft | |
| DelayPanRight | |
| RPNFine | |
| RPNCourse | |
| AllSoundOff | |
| Reset | |
| AllNotesOff |