XMPlay MIDI plugin

Started by Ian @ un4seen,

winner

#960
Hi again. I've configured multiple fonts and instruments in XMPlay for many years, but now for some reason I'm seeing and hearing strange things I've never experienced before.

Perhaps something's changed, or I just haven't caught these things previously, or there is some type of midi channel switching going on that I don't know about.

I'm using midi plugin version 16e. To run these tests, I'm playing Winter Wonderland - Gary Wachtel.mid.

When I add the Merlin Symphony.sf2pack soundfont to bank 0, I see that no instruments are contained in bank 56. Samples trying to play from bank 56 default to bank 0. That's fine.

Replacing Merlin Symphony with WBS Reality 100MB.sf2pack, I see that bank 56 only contains instrument presets 38 and 39 for YM2612 bass. Again, bank 56 instruments mostly default to bank 0. No issue.

With Merlin Symphony as the primary soundfont in bank 0, and WBS Reality as the secondary - or vice versa - the instrument presets are selected as expected.

However, if I add an individual instrument preset on top of this stack for bank 0, like this:

WBS Reality - 122 (Seashore noise)
Merlin Symphony
WBS Reality

I get a strange outcome.

The samples window shows the following:

WBS_Reality_100MB.sfpack
d62:40 Brush Kit
56:0 Marimba
56:11 Marimba
56:32 Marimba
56:58 Marimba
56:57 Marimba
56:65 Marimba
56:66 Marimba

It looks now as if the Reality soundfont has several marimba presets in bank 56, whereas I previously established there are only two presets, 38 and 39.

Please help to resolve this issue.

Thanks!

Ian @ un4seen

That does indeed look strange. Please upload the MIDI file in question to reproduce the problem with here:

   ftp.un4seen.com/incoming/

winner

Quote from: Ian @ un4seenThat does indeed look strange. Please upload the MIDI file in question to reproduce the problem with here:

   ftp.un4seen.com/incoming/

I tried to upload the file with FTP clients but I couldn't get a connection. I then dragged and dropped the file into browser display of the site. Not sure if that worked.

Ian @ un4seen

Unfortunately, that doesn't appear to have worked (the file didn't end up on the FTP server). Can you ZIP the file and attach it to a post instead?

winner

Quote from: Ian @ un4seenUnfortunately, that doesn't appear to have worked (the file didn't end up on the FTP server). Can you ZIP the file and attach it to a post instead?

Sure, thank you. The file is attached.

Ian @ un4seen

Thanks, I see the problem now. It was introduced with the first drum preset tweak. Here's an update that should fix it:

   www.un4seen.com/stuff/xmp-midi.dll

Please let me know if you still have any trouble with it.

winner

#966
Quote from: Ian @ un4seenThanks, I see the problem now. It was introduced with the first drum preset tweak. Here's an update that should fix it:

   www.un4seen.com/stuff/xmp-midi.dll

Please let me know if you still have any trouble with it.

[EDIT: I have rebooted my computer and tried various versions of XMPlay. All versions I've tried crash when trying to configure the midi plugin.]
[EDIT: I've now put a copy of XMPlay in a new folder, and only the midi plugin besides. This time the configuration dialog launches. I'll keep adding plugins and whatever else to determine where we have a conflict.]
[RESOLVED: I renamed XMPlay.ini and let XMPlay create it again. Now the dialog works and THE MIDI FILE PLAYS AS EXPECTED as far as I can tell. Thanks for the fix!]

Thanks, but when I select the Midi plugin from "Input and archive plugins", then click the Config button, XMPlay crashes.

winner

I discovered something else that is strange with soundfont configuration. I don't think this is how the midi plugin is supposed to behave.

Starting with NO soundfonts added, I can configure the midi plugin with a primary soundfont for bank 0, say, Merlin Symphony.

Now suppose I choose instrument 127 Gunshot and pick that from the WBS Reality 100MB soundfont. Also, I order the 127 instrument first in the soundfont list.

I'd expect that instrument 127 Gunshot would be the only instrument loaded, at all, from Reality.

However, if I look at the Bank dropdown, I see that Reality occupies 20+ banks!

All I wanted was that single instrument (sound effect) for bank 0.

Please consider if the midi plugin in behaving as designed.

Thanks!

winner

#968
Quote from: winnerThanks, but when I select the Midi plugin from "Input and archive plugins", then click the Config button, XMPlay crashes.

Although this seemed to be resolved when I renamed xmplay.ini or tested with a minimal installation, plugin version 16f still is unstable for me. Either trying the configure button or trying to add a soundfont will often crash XMPlay.

*** I've discovered that midi plugin version 16e does not experience this instability.

Ian @ un4seen

That last update did indeed introduce a silly config window bug (when using SFZ files). Here's an update with hopefully no more silliness :)

   www.un4seen.com/stuff/xmp-midi.dll

Regarding the soundfont assigned to a single preset being shown in multiple banks, the update should fix this too. I believe it was just a UI issue, ie. it showed all banks that the SF2 file contains but it was only actually used for the assigned preset?

winner

Quote from: Ian @ un4seenThat last update did indeed introduce a silly config window bug (when using SFZ files). Here's an update with hopefully no more silliness :)

   www.un4seen.com/stuff/xmp-midi.dll

Regarding the soundfont assigned to a single preset being shown in multiple banks, the update should fix this too. I believe it was just a UI issue, ie. it showed all banks that the SF2 file contains but it was only actually used for the assigned preset?

This version of the midi plugin - 16g - works as expected now when picking individual presets. Also, it doesn't crash XMPlay for me when trying to configure soundfonts, like the previous version did. Awesome!

However, if I do a subtractive configuration process, trying to remove one or more upper banks from the soundfont stack, all of the banks in that soundfont are removed.

For example, I can reset the soundfont configuration to empty, then load the WBS Reality 100MB soundfont in bank 0. This soundfont has instruments in 31 upper banks, 32 banks total.

If I choose one of the upper banks and try to remove it, all 32 banks are removed. I'd expect that just that single targeted bank would be removed, and all others would remain.

If we can have independent selections of instruments with the midi plugin, shouldn't there be independent selections of banks?



winner

Quote from: winnerIf I choose one of the upper banks and try to remove it, all 32 banks are removed. I'd expect that just that single targeted bank would be removed, and all others would remain.

If we can have independent selections of instruments with the midi plugin, shouldn't there be independent selections of banks?

OK, I realize this might not make logical sense. If a soundfont is added to bank 0, all upper banks are added. If bank 0 is removed, all other banks are removed. Thus if an upper bank is removed, bank 0 and all other banks should be removed. Very sorry for such silliness.  ;D

Wraith777

Hello.

Can anyone share versions of MIDI plugin older than 13a? Rev.10 or 12, for example.
I just like playback with them much more...

winner

Hello,

I have a soundfont with bank 127 presets. However, midi plugin 16g doesn't seem to detect these. I've attached a screenshot showing the samples display and presets loaded in bank 127.

Thank you for any assistance!

Ian @ un4seen

Only XG mode uses bank 127 for drums, so the MIDI plugin will only use a soundfont's bank 127 for drums when in XG mode and it detects that the bank probably does contain XG drums (and the "Use bank 127 drums in XG mode when available" option is enabled). In your case, it looks like it failed that detection, so it fell back to the standard bank 128 (d0) for drums. It is possible that it was mistaken. If you suspect it was, please post a link or upload the soundfont to have a look at here:

   ftp.un4seen.com/incoming/

winner

Quote from: Ian @ un4seenOnly XG mode uses bank 127 for drums, so the MIDI plugin will only use a soundfont's bank 127 for drums when in XG mode and it detects that the bank probably does contain XG drums (and the "Use bank 127 drums in XG mode when available" option is enabled). In your case, it looks like it failed that detection, so it fell back to the standard bank 128 (d0) for drums. It is possible that it was mistaken. If you suspect it was, please post a link or upload the soundfont to have a look at here:

   ftp.un4seen.com/incoming/
Thank you. I do have the "Use bank 127 drums in XG mode" option checked. Also, I tried some midis that were specifically for the XG mode, and the problem persisted. I've uploaded my soundfont to the Incoming FTP folder.

Ian @ un4seen

Bank 127 in that soundfont doesn't actually contain XG drum kits. The 127:0 preset has "GS" in its name to seemingly confirm that :)

winner

Quote from: Ian @ un4seenBank 127 in that soundfont doesn't actually contain XG drum kits. The 127:0 preset has "GS" in its name to seemingly confirm that :)
OK Ian, thank you. I will correct the soundfont accordingly.

winner

Quote from: Ian @ un4seenBank 127 in that soundfont doesn't actually contain XG drum kits. The 127:0 preset has "GS" in its name to seemingly confirm that :)
So, I've tried other soundfonts with XG drum kits, and XMPlay is still not recognizing the bank 127 presets, defaulting to the d0 presets.

A soundfont which does have the proper drumsets is the ColomboGMGS2 SoundFont v.7.5.

Ian @ un4seen

Here's an update for you to try, with some tweaking of the bank 127 drum detection:

   www.un4seen.com/stuff/xmp-midi.dll

Let me know if you still see any problems with it.