Forums: OpenMIDIProject forum (Thread #43990)

Bank Selection of built-in instrument modes (2021-04-15 02:59 by quattj #87327)

Can you tell me the correct way to select alternate banks with the default .ins files in Sekaiju?

For example, in GM1_GM2.ins, you have
[General MIDI Level 2 Var #00]
[General MIDI Level 2 Var #01]
[General MIDI Level 2 Var #02]
and so on.

Is there a standard bank these are normally assigned to? Would var 01 be in Bank 1? Or does it vary depending on hardware?

I am writing some midi software for Windows, and currently do not have bank selection support, but would like to add it in the future. Thanks!

Reply to #87327×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Bank Selection of built-in instrument modes (2021-04-15 19:57 by kuzu #87329)

Thank you for using Sekaiju.

In the MIDI, each module has different voice array, so we need the suitable ins file for the module.
As Sekaiju's ins file is compatible with Cakewalk instrument definition file (*.ins),
about the specification of ins file, please use google.

As a hint, at the end of ins file, there is a ".Instrument Definitions" section.
This defines how to assign each [XXXX] section.
eg. Patch[CC#0_BankSelectMSB * 128 + CC#32_BankSelectLSB]=XXXX

Here shows GM1_GM2.ins's assign.

.Instrument Definitions

[General MIDI Level 1]
Control=General MIDI Level 2 Controllers
RPN=General MIDI Level 2 RPN
Patch[0]=General MIDI Level 2 Var #00
Patch[*]=1..128

[General MIDI Level 1 Drumsets]
Control=General MIDI Level 2 Controllers
RPN=General MIDI Level 2 RPN
Patch[0]=General MIDI Level 2 Drumsets
Patch[*]=1..128
Key[*,*]=0..127
Drum[*,*]=1

[General MIDI Level 2]
Control=General MIDI Level 2 Controllers
RPN=General MIDI Level 2 RPN
Patch[15488]=General MIDI Level 2 Var #00
Patch[15489]=General MIDI Level 2 Var #01
...(omit)...
Patch[15497]=General MIDI Level 2 Var #09
Patch[*]=1..128

[General MIDI Level 2 Drumsets]
Control=General MIDI Level 2 Controllers
RPN=General MIDI Level 2 RPN
Patch[15360]=General MIDI Level 2 Drumsets
Patch[*]=1..128
Key[*,*]=0..127
Key[120,0]=General MIDI Level 2 STANDARD Set
...(omit)...
Key[120,56]=General MIDI Level 2 SFX Set
Drum[*,*]=1
Reply to #87327

Reply to #87329×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login