XMPlay MIDI plugin

Started by Ian @ un4seen,

saga

Currently it is possible to replace individual melodic patches by patches from another soundfont. As far as I can see, if you want to use soundfont A for melodic patches and soundfont B for drums, you'd have to assign soundfont B as the soundfont with highest priority and then replace all 128 melodic patches manually with those from soundfont A. I guess this could be simplified a lot by also adding the drum sets to the preset list in the config window so that you can replace a single drum set if required.

Ian @ un4seen

It should be possible to set a soundfont to use for all drums or individual kits by first setting the "Bank" option to "d000". You can then use the "Add" option to use all kits in a soundfont, or double-click a kit number (in the preset list) to assign a soundfont to a single kit. In your example scenario, you would assign soundfont A to bank "000" and soundfont B to bank "d000".

saga

Oh, right, I completely overlooked that dropdown. That does the trick!

rmsoft1

#823
Quote from: Ian @ un4seenTo investigate what's going on, please upload a MIDI file that you're having the problem with here:

   ftp.un4seen.com/incoming/

Also state what soundfont you're using.

Sorry for the delay in response. Anyway, I am having issues with Several different midi Files available here: [RA_MIDI.zip]
all of them use the Soundfont available here: [RA_SF2.zip] (Sorry its kinda big)


Special notice: That soundfont is a combination of two soundfonts. (Weeds GM, and a patch from Crisis[sitar]).
Note: I have the Gain for that specific soundfont set at around -1.5 when I added it to XMPlay.

Also I apologize for not using the FTP you provided but I saw it after I spent half an hour uploading files to my own server (Very crappy internet). I hope you don't mind. I can only provide a link to the SF2 since it isn't publicly available anywhere else.
I use the XMPlay-MIDI plugin to record/mix music for a game in development.
I should mention that this bug was not present in previous revisions.
Thank you in advanced.

siana

#824
----- EDIT: SORRY PLEASE DISREGARD -----

I overlooked the Apply button, which is why i couldn't load any SoundFont. My apologies!

kode54

I just uploaded sotnpntn.mid, to be played together with two SoundFonts from here, with the ORCHESTRAL bank overriding the REST bank. The drum bank seems to be breaking on a few samples, somehow.

Ian @ un4seen

Quote from: rmsoft1Anyway, I am having issues with Several different midi Files available here: [RA_MIDI.zip]
all of them use the Soundfont available here: [RA_SF2.zip] (Sorry its kinda big)

Thanks for the test files. I tried to reproduce the problem with them, but they sounded fine, ie. I didn't hear any drums getting cut short. Is it only the final crash cymbal that's getting cut short? If so, check that you have the "Wait for end to decay" option enabled in the "Miscellaneous" options page.

Quote from: kode54I just uploaded sotnpntn.mid, to be played together with two SoundFonts from here, with the ORCHESTRAL bank overriding the REST bank. The drum bank seems to be breaking on a few samples, somehow.

It looks like that CompiFontREST soundfont doesn't include some drums from the standard kit, specifically it seems to be missing #37 (side stick) and #83 (jingle bell) that are needed by the uploaded MIDI file.

rmsoft1

Hello again, I have that option enabled, but the problem still exists. Here is an audio clip of what I hear.
AUDIO CLIP MP3
I lowered the sounds of the instruments and made the drums louder to make it easier to tell. each time the crash plays, it is cut short.

Ian @ un4seen

That's strange. This is what I'm hearing here (with the drum channel's level raised in the "MIDI mixer" window)...

   www.un4seen.com/stuff/RA_Title_v2.mid.mp3

Does the cymbal still get cut off if you set the drum channel to solo? If not, what "Voice limit" setting do you have in the MIDI plugin config, and does the MIDI mixer window show that limit being hit during playback?

rmsoft1

Quote from: Ian @ un4seenThat's strange. This is what I'm hearing here (with the drum channel's level raised in the "MIDI mixer" window)...

   www.un4seen.com/stuff/RA_Title_v2.mid.mp3

Does the cymbal still get cut off if you set the drum channel to solo? If not, what "Voice limit" setting do you have in the MIDI plugin config, and does the MIDI mixer window show that limit being hit during playback?

That is bizarre. I play the drums at solo and still experience the cut-off. (RA_Title_v2_DRUMSOLO.mp3)
and This is a screenshot of my midi Config window with the voice limit, set at 1000, by default. along with any other information in the photo that may help.

http://rmsoftware.tk/is2/6WMtwpBn/image.png

Ian @ un4seen

I notice in your screenshot that you're still using rev.13a of the MIDI plugin. Please try the latest build and see if it helps:

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

rmsoft1

Quote from: Ian @ un4seenI notice in your screenshot that you're still using rev.13a of the MIDI plugin. Please try the latest build and see if it helps:

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

ahhhaa! Thank you very much! the problem is solved.  ;D

mallo

Hey there, I'm mallo, and this is my first (possibly only lol) post.

I recently ripped soundtrack from a 2004 game "Kao the Kangaroo: Round Two" which was in MIDI format with SF2 soundfonts. At first I've used TiMiDity++ to convert the tracks to wav, but had a problem with one song which this plugin resolved. However, I've noticed another problem.

Here is a track converted with TiMiDity: link, and here's the same track converted with XMPlay MIDI Plugin: link. As you can notice, at as early as 0:04 one drum sound gets "turned off", and doesn't play for the rest of the track. Is that a problem with the plugin or the MIDI?

Also, here's the MIDI and here's its Soundfont.

winner

#833
Quote from: malloHey there, I'm mallo, and this is my first (possibly only lol) post.

I recently ripped soundtrack from a 2004 game "Kao the Kangaroo: Round Two" which was in MIDI format with SF2 soundfonts. At first I've used TiMiDity++ to convert the tracks to wav, but had a problem with one song which this plugin resolved. However, I've noticed another problem.

Here is a track converted with TiMiDity: link, and here's the same track converted with XMPlay MIDI Plugin: link. As you can notice, at as early as 0:04 one drum sound gets "turned off", and doesn't play for the rest of the track. Is that a problem with the plugin or the MIDI?

Also, here's the MIDI and here's its Soundfont.
I just replicated the same recording using XMPlay and the wav file sounds fine, just like your TiMiDity recording. Make sure you have the most recent files. Mine are these: XMPlay 3.8.1.15 and MIDI Plugin ver. 13k. At the output panel in the "File writing" section I have checked the box "Use source resolution."

Here is a link to the latest stuff versions of these files: http://www.un4seen.com/xmplay-stuff.php

mallo

It works now! It seems that I probably downloaded an outdated version by a mistake. Thanks for the help!

ELP

13 rev.K has now soooo many great improvements, optimisings and new features as opposite to 13.rev A. 8) Really brilliant, Ian :)
Maybe its time to classified rev.K as stable/main ? :P  :-[
because i think lots of user simply dont really recognise the stuff load thing.

Ian @ un4seen

Yep, the latest stuff should be made official soon. If anyone has any problems with it, now is the time to report them :)

lybxlpsv

#837
Any ideas why the drums cut off on my soundfont? doesn't seem to happen when testing it Vienna.
http://dl.lybxlpsv.com/files/sf2/SYXG50%20Standard%201.sf2pack sorry, my internet is slow so had to sf2pack the soundfont.
http://dl.lybxlpsv.com/files/sf2/garden1_v2.ogg how it sounds like on S-YXG50
http://dl.lybxlpsv.com/files/sf2/garden1_v2.mid

kode54

Release should be the maximum, or about 20 seconds, for non-looping drum keys. Also, you can specify the release parameters globally for the entire instrument, then override them for key ranges that need shorter releases.

My current preferred editor is Polyphone, at least a 64 bit build of it, since some of the more gigantic banks tend to make 32 bit builds run out of memory.

saga

I'm currently rewriting OpenMPT's MIDI export and debugging its output in XMPlay.
I've attached a file that should play 16 notes. However, XMPlay seems to ignore the last note on channel 2. Is this intentional?