TK, can you please check the schematic in mbhp_blm_map.pdf? In the extra row, buttons 9-16 have the LEDs mirrored in their groups of 4 with respect to the switches. To explain another way, on my PCB, if I push button 9, LED 12 will light, and vice versa.
Also, could you please offer some guidance as to how I should modify the scalar app(MIOS32) to remap these?
This PCB is 5x17 version of the full BLM16x16, just to use for buttons for a mixer section ie. mute, solo, arm etc. So I won’t need the ‘packed format’ pattern matching, just toggling of specific LEDs on MIDI in and button push.
I suspect I need to do my remapping in this function:
if( note <= 0x0f ) {
// BLM16x16 LEDs
led_mod_ix = chn >> 2;
led_row_ix = ((chn&3) << 1) + ((note >> 3) & 1);
led_column_ix = note & 0x7;
modify_led = 1;
} else if( note == 0x40 ) {
// extra column LEDs
led_mod_ix = 4;
led_row_ix = (chn&3) << 1;
led_column_ix = chn >> 2;
modify_led = 1;
} else if( chn == 0 && note >= 0x60 && note <= 0x6f ) {
// extra row LEDs
led_mod_ix = 4;
led_row_ix = 1 + ((note >> 1) & 6);
led_column_ix = note & 3;
modify_led = 1;
} else if( chn == 0xf && note >= 0x60 && note <= 0x6f ) {
// additional extra LEDs
led_mod_ix = 4;
led_row_ix = 1 + ((note >> 1) & 6);
led_column_ix = 4 + (note & 3);
modify_led = 1;
}
and also maybe in DIN_BLM_NotifyToggle depending on what MIDI feedback I can get Reaper to give me.
Thanks ![]()
