build and send midi messages

Good morning,
The display of my sound module (NS5R KORG) becomes totally black after the preload . It happens since i have changed some global parameters.
ie: the display was set to “orange” and i changed it to “green”
I tried to “reset” the machine with a key combination at start-up, but it gives no result or returns an error…
The last solution, is trying to reset the machine with midi message.

Midi (global msg) implementation for the NS5R Korg:

<Global Mode Parameter Change> <Parameter No.(MSB) = 0> +------------------------------------------------------------------------------+ | ParamNo.(LSB) name offset value description | +==============================================================================+ | 0 PC/IF BPS 0 0,1 0=31.25, 1=38.4 | | 1 Bank Map Type 1 0,1 0=XG/GS, 1=05R/W | | 2 Exclusive Channel 2 0~15 Channel 1~16 | | 3 Prog MemProtect 3(bit0) 0,1 0=OFF, 1=ON | | 4 Combi MemProtect 3(bit1) 0,1 0=OFF, 1=ON | | 5 DrumKit MemProtect 3(bit2) 0,1 0=OFF, 1=ON | | 6 Effect MemProtect 3(bit3) 0,1 0=OFF, 1=ON | | 7 Boot by Multi Set #1 3(bit4) 0,1 0=OFF, 1=ON | | 8 PC/IF setting 3(bit5) 0,1 0=Native, 1=Emulate | | 9 GM_ON Back Color 4(bit0) 0,1 0=Green, 1=Orange | | 10 GS_Reset Back Color 4(bit1) 0,1 0=Green, 1=Orange | | 11 XG_ON Back Color 4(bit2) 0,1 0=Green, 1=Orange | | 12 Receive GM_ON SW 5(bit0) 0,1 0=OFF, 1=ON | | 13 Receive GS_Reset SW 5(bit1) 0,1 0=OFF, 1=ON | | 14 Receive XG_ON SW 5(bit2) 0,1 0=OFF, 1=ON | | 15 Tone ON Key Note 6 0~11 'C'~'B' | | 16 Tone ON Key Velocity 7 1~127 1~127 | | 17 LCD contrast 8 0~31 1~32 | | 18 Effect Follow 9 0,1~32 0=OFF,1~32=Part1~32 | +------------------------------------------------------------------------------+

i would like to send messages for the following parameters:

  • Bank Map Type
  • Boot by Multi Set #1
  • GM_ON Back Color
  • GS_Reset Back Color
  • XG_ON Back Color
  • LCD contrast

my first question is:
Can i use this method to send the message ?:

[code]dim d as PortMidiEventMBS
dim e as integer

d=new PortMidiEventMBS
d.Set // midi message here

e=s.Write(d)

[/code]

my second question is:
how to build the message from the previously listed parameters?
Thanks

ps: i hope you understand my english.

For trying to solve your display problem on the Korg NS5R you could perhaps use the program ‘SendSX’.
It is a very easy program to use for sending midi data to a midi device.
https://www.bome.com/products/sendsx
I know it does not answer your question about PortMidiEventsMBS but helps perhaps solving the display problem.

Regards
Etienne

Thank you Etienne
Sure, it could help but
unfortunatly it’s a Windows app. … i use macOs
Do you know a similar product for macOs?

https://www.snoize.com/SysExLibrarian/