Author Topic: Selecting banks with GM1 files  (Read 85 times)

gicci

  • Posts: 105
Selecting banks with GM1 files
« on: 15 Mar '23 - 00:12 »
I would like to allow the selection of instruments from banks != 0 during the playback of GM1 files.
I  understand that this is not possible unless I override the mode, using for example MIDI_SYSTEM_DEFAULT, but I am wondering if this changes also other attributes of the playback that could make the file sound different (e.g. different control default values).
Where can I find information about this topic?

Ian @ un4seen

  • Administrator
  • Posts: 25067
Re: Selecting banks with GM1 files
« Reply #1 on: 15 Mar '23 - 14:38 »
The only difference between MIDI_SYSTEM_DEFAULT and MIDI_SYSTEM_GM1 currently is that MIDI_SYSTEM_GM1 disables several events/controllers that weren't included in GM1: MIDI_EVENT_RESONANCE, MIDI_EVENT_RELEASE, MIDI_EVENT_ATTACK, MIDI_EVENT_DECAY, MIDI_EVENT_CUTOFF, MIDI_EVENT_BANK, MIDI_EVENT_BANK_LSB, MIDI_EVENT_VIBRATO_RATE, MIDI_EVENT_VIBRATO_DEPTH, MIDI_EVENT_VIBRATO_DELAY.

If you would like to keep those events disabled but still use a different bank from a soundfont then you could use the BASS_MIDI_FONTEX(2) "sbank" member to set which bank in your BASS_MIDI_StreamSetFonts call.