Skip to content

Commit

Permalink
Changed: PATTERN - Bank Change should be set, but not change
Browse files Browse the repository at this point in the history
  • Loading branch information
rio-rattenrudel committed Nov 14, 2019
1 parent 458a5f7 commit 2d8ea34
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/sequencers/midibox_seq_v4/core/seq_midi_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,10 @@ static s32 SEQ_MIDI_IN_Receive_ExtCtrlCC(u8 cc, u8 value)
//# RIO: END MODIFICATION
//#################################################

//#################################################
//# RIO: Bank Change should be set, but not change
//#################################################

case SEQ_MIDI_IN_EXT_CTRL_BANK_G1:
case SEQ_MIDI_IN_EXT_CTRL_BANK_G2:
case SEQ_MIDI_IN_EXT_CTRL_BANK_G3:
Expand All @@ -1023,11 +1027,15 @@ static s32 SEQ_MIDI_IN_Receive_ExtCtrlCC(u8 cc, u8 value)
pattern.bank = value;
pattern.DISABLED = 0;
pattern.SYNCHED = 0;
SEQ_PATTERN_Change(group, pattern, 0);
seq_pattern[group] = pattern;
}
portEXIT_CRITICAL();
} break;

//#################################################
//# RIO: END MODIFICATION
//#################################################

case SEQ_MIDI_IN_EXT_CTRL_ALL_NOTES_OFF: {
if( value == 0 ) {
SEQ_MIDI_IN_ResetAllStacks();
Expand Down

0 comments on commit 2d8ea34

Please sign in to comment.