Bassmidi - Add support for SC-88(Pro) specific reset messages like SC-8850

Started by Falcosoft,

Falcosoft

Nowadays low level emulation is available for SC-88/Pro as well as for SC-8850:
https://github.com/NightFright2k19/Nuked-SC55-P256

I made some experiments here:
https://github.com/NightFright2k19/SXG-Create-NF/issues/74#issuecomment-6410729754

Based on these results I think Bassmidi should behave like a SC-8850 (that is a more than 32 channel device) so it should not follow the Single Module/Double Module SC-88/Pro specific rules but should support the following SysEx messages:

1. Besides Mode 1 set (F0 41 10 42 12 00 00 7F 00 01 F7) it should also recognize and execute Mode 2 set (F0 41 10 42 12 00 00 7F 01 00 F7). But just like the SC-8850 it should treat Mode 2 set as a Mode 1 set or GS reset.

2. It should recognize this alternative form of GS reset:
F0 41 10 42 12 50 00 7F 00 31 F7
This works on all SC-88+ Roland devices. This form has a special semantics in SC-88/Pro Mode 2 but just like SC-8850 Bassmidi should not follow these special Mode 2 rules just simply recognize and execute it as a GS reset.

Ian @ un4seen

Quote from: Falcosoft1. Besides Mode 1 set (F0 41 10 42 12 00 00 7F 00 01 F7) it should also recognize and execute Mode 2 set (F0 41 10 42 12 00 00 7F 01 00 F7). But just like the SC-8850 it should treat Mode 2 set as a Mode 1 set or GS reset.

BASSMIDI should already do that, as it ignores the data value. Note it sets the system mode to MIDI_SYSTEM_GS_88 rather than MIDI_SYSTEM_GS. The only difference currently is the default drum key chorus/userfx levels.

Quote from: Falcosoft2. It should recognize this alternative form of GS reset:
F0 41 10 42 12 50 00 7F 00 31 F7
This works on all SC-88+ Roland devices. This form has a special semantics in SC-88/Pro Mode 2 but just like SC-8850 Bassmidi should not follow these special Mode 2 rules just simply recognize and execute it as a GS reset.

I guess this would also be best treated as a MIDI_SYSTEM_GS_88 reset rather than MIDI_SYSTEM_GS reset?

If you have any example MIDI files for this stuff, please provide some for testing.

Falcosoft

QuoteBASSMIDI should already do that, as it ignores the data value. Note it sets the system mode to MIDI_SYSTEM_GS_88 rather than MIDI_SYSTEM_GS. The only difference currently is the default drum key chorus/userfx levels.

I have tested Bassmidi version 2.4.16.4 and it does not react at all to F0 41 10 42 12 00 00 7F 01 00 F7.
But F0 41 10 42 12 00 00 7F 00 01 F7 works as expected.
I mean even the instruments selected on channels remain the same as before the message is sent.
Maybe a later Bassmidi version added support for this message?


QuoteI guess this would also be best treated as a MIDI_SYSTEM_GS_88 reset rather than MIDI_SYSTEM_GS reset?
Yes, definitely.

QuoteIf you have any example MIDI files for this stuff, please provide some for testing.
As I have written I have just discovered this GS reset form as a valid one so I do not have example Midi files that use them.

Ian @ un4seen

Quote from: FalcosoftI have tested Bassmidi version 2.4.16.4 and it does not react at all to F0 41 10 42 12 00 00 7F 01 00 F7.
But F0 41 10 42 12 00 00 7F 00 01 F7 works as expected.

Oops, you're right, it is currently checking the data value after all. Here's an update that does ignore the data value:

    www.un4seen.com/stuff/bassmidi.zip

I see the F0 41 10 42 12 50 00 7F 00 31 F7 sysex is a Port-B GS reset. I'm not sure about supporting that. BASSMIDI currently ignores reset events on other ports set via meta-event 0x21, so it seems inconsistent to handle this sysex. Is it ever likely to be used by itself? If it's used alongside a regular GS reset (which resets all ports/channels in BASSMIDI) then it's unnecessary for BASSMIDI.

Falcosoft

Quote from: Ian @ un4seenops, you're right, it is currently checking the data value after all. Here's an update that does ignore the data value:

Thanks!

Quote from: Ian @ un4seenI see the F0 41 10 42 12 50 00 7F 00 31 F7 sysex is a Port-B GS reset. I'm not sure about supporting that. BASSMIDI currently ignores reset events on other ports set via meta-event 0x21, so it seems inconsistent to handle this sysex. Is it ever likely to be used by itself? If it's used alongside a regular GS reset (which resets all ports/channels in BASSMIDI) then it's unnecessary for BASSMIDI.

As I have said above the port A/B semantics only applies to SC-88/Pro. Roland devices that support more than 32 channels the same way as Bassmidi (e.g. the mentioned SC-8850) do not apply such port A/B semantics but handle it as a normal GS reset.
But you are right that it's not essential at all.