Error message

Access denied. You may need to login below or register to access this page.

Access Denied / User log in

Please let our ADS show!

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

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!

Quick login

Use your existing social account to login without registration: no confirmation mail to wait for, no new password to remember, quick, easy, safe.

...or use your CoolSoft account

Enter your CoolSoft username.
Enter the password that accompanies your username.
Add reply | CoolSoft

Add reply

Please let our ADS show!

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

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

Warning!

You're posting your message as anonymous user.

By registering you'll be allowed to receive notifications of post replies and new threads.
Registration is really quick and only requires you to choose an username and provide a valid email address.

Click here to to register.

A confirmation mail will be sent to this address.
Your email address won't be published.

More information about text formats

Filtered HTML

  • Allowed HTML tags: <a> <blockquote> <br> <cite> <code> <dd> <del> <dl> <dt> <em> <img> <li> <ol> <p> <pre> <s> <span> <strike> <strong> <ul>
    Allowed Style properties: background-color, color, font-size, font-style, height, text-align, text-decoration, text-transform, width
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <c>, <cpp>, <csharp>, <drupal5>, <drupal6>, <javascript>, <php>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Cancel
Posts: 1972
Joined: March 25, 2012 - 01:19
Re: VirtualMIDISynth fails to load huge SoundFonts

Next VMS will have updated BASS.dll and BASSMIDI.dll versions.
Maybe it won't fix soundfont loading, but anyway we'll start from there.

Please stay tuned on the announcement forum.

Posts: 6
Joined: April 9, 2017 - 01:28
Re: VirtualMIDISynth fails to load huge SoundFonts

Sometimes after a couple of minutes VirtualMIDISynth just chews up 30% of my CPU for no reason. MIDI rendering speeds up and slows down and artifacts are present in most of the audio. The buffer is set to 450ms, so there shouldn't be any problems there.

Windows Media Player 64-bit is used to play the MIDIs, and enabling or disabling hardware mixing doesn't change anything.

Attempting to change anything in the configuration menu locks the program up and requires Windows to kill it instead of gracefully closing. I think it's linked to the huge SFZ because when I play MIDIs without using that one I haven't seen it lock up. Preloading is disabled because it still doesn't work when preloading the whole thing.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: VirtualMIDISynth fails to load huge SoundFonts

Thanks for reporting it back.

I'll pause (not close) this bug report until all of the other v2.0 confirmed bugs are closed.

Posts: 6
Joined: April 9, 2017 - 01:28
Re: VirtualMIDISynth fails to load huge SoundFonts

Alright, so I did a bit more testing with the SoundFont on a SSD, and the stuttering seems to be greatly reduced even at a 250ms buffer, but it still doesn't work when trying to preload the whole thing into RAM.

I also messed up when I measured the folder size, as I looked at the whole folder instead of selecting one of the two different sample types (ambient and close). The SFZ I'm trying to load only has 2.37GB of FLACs instead of the 4.6GB figure I posted earlier. Oops.

I guess I'll stick with my OGG converted samples for now since those seem to be working OK. Thank you to everyone who helped.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: VirtualMIDISynth fails to load huge SoundFonts
jl91569 wrote:
With preloading disabled VMS no longer hangs and is able to play MIDIs using that SoundFont, but it's extremely choppy.

Well, now it needs to load samples from disk each time it needs them so the bottleneck is now disk IO speed and latency.

Ziya Mete Demircan wrote:
Pls. try to inrease "Additional output buffer" (may be between 250 and 500 is enough) in Options section.

That's a good suggestion; please note that configuring 500ms as output buffer size will also add a 500ms additional latency to output.
This could be unacceptable in some conditions (i.e. during a live performance with other MIDI instruments).

Posts: 30
Joined: April 19, 2017 - 08:14
Re: VirtualMIDISynth fails to load huge SoundFonts
jl91569 wrote:

With preloading disabled VMS no longer hangs and is able to play MIDIs using that SoundFont, but it's extremely choppy.

Pls. try to inrease "Additional output buffer" (may be between 250 and 500 is enough) in Options section.

Posts: 6
Joined: April 9, 2017 - 01:28
Re: VirtualMIDISynth fails to load huge SoundFonts
coolsoft wrote:
@jl91569: could you try to disable soundfont preload and check if it helps?

With preloading disabled VMS no longer hangs and is able to play MIDIs using that SoundFont, but it's extremely choppy.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: VirtualMIDISynth fails to load huge SoundFonts
Ziya Mete Demircan wrote:
Could it be loading separately for each one?

No, soundfonts are loaded only once and shared between all the devices.

@jl91569: could you try to disable soundfont preload and check if that helps?
Double click on the soundfont to open SF editor and uncheck "Preload soundfont" checkbox.

Posts: 30
Joined: April 19, 2017 - 08:14
Re: VirtualMIDISynth fails to load huge SoundFonts

reported 4GB(!) May be because of VMS has 4 separate input sections.
Could it be loading separately for each one?

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: VirtualMIDISynth fails to load huge SoundFonts
jl91569 wrote:
However, something odd that I've noticed while using this SoundFont is that if I convert all of the samples to OGG and use those in place of the original FLACs the RAM usage is around 4x what I'd guess it would be (Windows reports the folder size as just over 1GB but it takes 4GB to load in VMS).

That's interesting; I don't know in depth how BASS manages SFZ internally, but I've always supposed that it decompresses the compressed samples to have the faster access possible.
Will have a look...