Fixed noteOn/Off CINs, coding style & fixes.
This commit is contained in:
parent
e84d12d9ed
commit
0252ce7ebe
|
|
@ -51,9 +51,9 @@ struct CodeIndexNumbers
|
||||||
|
|
||||||
sysExEnds2Bytes = 0x06,
|
sysExEnds2Bytes = 0x06,
|
||||||
sysExEnds3Bytes = 0x07,
|
sysExEnds3Bytes = 0x07,
|
||||||
noteOn = 0x08,
|
noteOff = 0x08,
|
||||||
noteOff = 0x09,
|
noteOn = 0x09,
|
||||||
polyKeyPress = 0x0A,
|
polyPressure = 0x0A,
|
||||||
controlChange = 0x0B,
|
controlChange = 0x0B,
|
||||||
programChange = 0x0C,
|
programChange = 0x0C,
|
||||||
channelPressure = 0x0D,
|
channelPressure = 0x0D,
|
||||||
|
|
@ -61,9 +61,9 @@ struct CodeIndexNumbers
|
||||||
singleByte = 0x0F,
|
singleByte = 0x0F,
|
||||||
};
|
};
|
||||||
|
|
||||||
inline byte getSize(byte inCIN)
|
static inline byte getSize(byte inCodeIndexNumber)
|
||||||
{
|
{
|
||||||
switch (inCIN)
|
switch (inCodeIndexNumber)
|
||||||
{
|
{
|
||||||
case noteOn:
|
case noteOn:
|
||||||
case noteOff:
|
case noteOff:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue