XG Program Change does not go

It seems you're using an AdBlocker or JavaScript is disabled!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).

This 10 seconds wait is to let you update your AdBlocker whitelist...

Got it, show me the content...
Please enable JavaScript!
Posts: 16
Joined: June 28, 2018 - 13:02
XG Program Change does not go

In midi file there is a Program Change that sets XG bank to 64 but VMS (or bassmidi) does not react correctly.

Van Basco shows correctly the name of the patch, the SF contains the sound but the patch really selected is that in bank 0.

Attachments (Only registered users)
XG_TEST.rar
Posts: 71
Joined: September 25, 2013 - 16:38
Re: XG Program Change does not go

The problem is your midi file uses XG standard Bank LSB to address the variation bank 64, but in an SF2 soundfont 'Bank' refers to Bank MSB. In this sense not only Bassmidi/VMS but no SF2 soundfont engine can be compatible with XG standard. XG requires support for 2 bank dimensions (Bank MSB + Bank LSB addressing,  which  means 16384 possible banks) but in SF2 you have only 1 bank dimension that by convention is Bank MSB (which means only 128 possible banks). Thus SF2 soundfonts are much more GM/GS oriented than XG. To use your soundfont with this midi files you have to modify your midi file to use Bank MSB instead.

Here's the modified version of your midi that uses Bank MSB 64 and thus works with your SF2, but because of this modification it's not an XG compatible midi file anymore since Bank MSB 64 in XG specification means an SFX bank. Unfortunately there's no other workaround, it's a limitation of SF2 format itself.

If you want to play with XG forget SF2 soundfonts and try the Yamaha S-YXG50 VSTi plugin instead:

http://falcosoft.hu/midiplayer_syxg50.zip

Attachments (Only registered users)
XGTest_mod .zip
Posts: 16
Joined: June 28, 2018 - 13:02
Re: XG Program Change does not go
falcosoft wrote:

The problem is your midi file uses XG standard Bank LSB to address the variation bank 64 ...

The problem is SF2 standard that is not compliant to XG standard, or XG stardard that is so far from GM, GM2, GS standard.

falcosoft wrote:

Here's the modified version of your midi that uses Bank MSB 64 and thus works with your SF2

As you can see, Van Basco is showing a different instrument patch. Here could be interesting to have VMS showing the patch name from bank, instead of from "GM/GS/XG standard names".

falcosoft wrote:

If you want to play with XG forget SF2 soundfonts and try the Yamaha S-YXG50 VSTi plugin instead:

I want to play ALSO with XG ;) so I will keep using VMS and in case I will arrange XG midi files.

Thanks for your clear reply!

Posts: 1512
Joined: March 25, 2012 - 01:19
Re: XG Program Change does not go
syryo wrote:
As you can see, Van Basco is showing a different instrument patch. Here could be interesting to have VMS showing the patch name from bank, instead of from "GM/GS/XG standard names".

There already is a request for this, and I'll work on it.
I've found some troubles while implementing it; most of all... performance issues ;)

Posts: 16
Joined: June 28, 2018 - 13:02
Re: XG Program Change does not go

It is not a really request, not so much wanted; I would prefer this is one instead:
https://coolsoft.altervista.org/it/forum/thread/674