1976 |
pChannel->GlobalTranspose = transpose; |
pChannel->GlobalTranspose = transpose; |
1977 |
// workaround, so we won't have hanging notes |
// workaround, so we won't have hanging notes |
1978 |
pChannel->ReleaseAllVoices(itRpnEvent); |
pChannel->ReleaseAllVoices(itRpnEvent); |
1979 |
|
} else if (itRpnEvent->Param.RPN.Parameter == 16383) { // null function RPN |
1980 |
|
// disable subsequent data entry/increment/decrement processing |
1981 |
|
pChannel->ResetMidiRpnParameter(); |
1982 |
} |
} |
1983 |
} |
} |
1984 |
|
|
2030 |
pChannel->pMIDIKeyInfo[note].ChorusSend = chorus; |
pChannel->pMIDIKeyInfo[note].ChorusSend = chorus; |
2031 |
break; |
break; |
2032 |
} |
} |
2033 |
|
case 0x7f: { |
2034 |
|
if (itNrpnEvent->Param.NRPN.ParameterLSB() == 0x7f) { // null function NRPN |
2035 |
|
// disable subsequent data entry/increment/decrement processing |
2036 |
|
pChannel->ResetMidiNrpnParameter(); |
2037 |
|
} |
2038 |
|
break; |
2039 |
|
} |
2040 |
} |
} |
2041 |
} |
} |
2042 |
|
|