Skip to content

Commit

Permalink
#77 : Change MPE Bend Range default to 48.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Nov 17, 2020
1 parent 72d693b commit 5b9f8f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ls_midi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2834,8 +2834,8 @@ void midiSendMpeState(byte mainChannel, byte polyphony) {
}

void midiSendMpePitchBendRange(byte split) {
if (Split[split].mpe && getBendRange(split) == 24) {
midiSendRPN(0, 24 << 7, Split[split].midiChanMain);
if (Split[split].mpe && getBendRange(split) == 48) {
midiSendRPN(0, 48 << 7, Split[split].midiChanMain);
}
}

Expand Down
2 changes: 1 addition & 1 deletion ls_settings.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ boolean activateMpeChannels(byte split, byte mainChannel, byte polyphony) {

void configureStandardMpeExpression(byte split) {
Split[split].bendRangeOption = bendRange24;
Split[split].customBendRange = 24;
Split[split].customBendRange = 48;
Split[split].expressionForY = timbreCC74;
Split[split].customCCForY = 74;
Split[split].expressionForZ = loudnessChannelPressure;
Expand Down

0 comments on commit 5b9f8f7

Please sign in to comment.