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: Ability to set a polyphony beyond the current 16-500 voice limit

That was a translation (with some imprecisions) of the answer I gave to another user here.

It was a "temporary" workaround to see if BASS libraries accepted a value higher than 500, but is doesn't work.

I mean: that workaround forces VirtualMIDISynth to ask a higher limit to BASS, but BASS itself will discard it and clamps the max value to 500, as Ian confirmed here:
http://www.un4seen.com/forum/?topic=15798.0

Next version will contain the newer BASS library (with an higher 1000 limit), and also an updated configurator.

Posts: 59
Joined: April 19, 2014 - 06:23
Re: Ability to set a polyphony beyond the current 16-500 voice limit

On a related note, I've noticed something interesting on this page of the Impossible Music Wikia (a wiki for the black midi community): http://impossible-music.wikia.com/wiki/CoolSoft_VirtualMIDISynth

32 bit path: C:\Windows\system32\VirtualMIDISynth
64 bit path: C:\Windows\SysWOW64\VirtualMIDISynth
If the operating system is 64-bit, 64-bit settings are linked to the 32-bit settings.
Approximate Maximum Notes: Technically unlimited, but limited by VirtualMIDISynth.conf
A quote from the CoolSoft website:
"In reality there is no limit on the BASS libraries. The author presents a generic "limited by system resources."
You can try this:
Open the configurator and put a value other than 500 (type 499) so that it is saved in the configuration file
Close the configurator
Open the file C:\Windows\System32\VirtualMIDISynth\VirtualMIDISynth.conf (or C:\Windows\SysWOW64\VirtualMIDISynth\VirtualMIDISynth.conf) with Notepad and change the entry MaxVoices to a new number (For example, 8192 or whatever you want)
Try to play something and see if the new limit is accepted and works"

 

After figuring out how to apply what the instructions are saying, I haven't noticed any difference in the amount of voices that it could handle.  I've asked a black midi member about this personally, they claim that it works.  What's up with this; does that do anything, or is this purely placebo effect?

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Ability to set a polyphony beyond the current 16-500 voice limit

After reading Ian's reply on Un4seen forum, I'll add a the new 22.050Hz output frequency to options, together with a warning to set the same frequency in control panel.

Will also wait for next BASSMIDI version to raise polyphony up to 1000 (or more).

Posts: 59
Joined: April 19, 2014 - 06:23
Re: Ability to set a polyphony beyond the current 16-500 voice limit

Considering this topic became the most viewed in this forum catagory, here's a link to the topic I created in the BASS forums for just for viewer's reference:  http://www.un4seen.com/forum/?topic=15798

Posts: 59
Joined: April 19, 2014 - 06:23
Re: Ability to set a polyphony beyond the current 16-500 voice limit

Well, here's a comparision between 44khz and 22khz being real-time rendered in SynthFont 2.  What might be causing the noticable difference there?

(Setting the sample rate even lower seems to reduce cpu usage even further, but then the audio quality gets noticibly poor below 22k)

 

(Tested on an Intel i5-430m, ode to insane joy.mid, SGM-V2.01 soundfont)

Attachments
1 file(s) attached
Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Ability to set a polyphony beyond the current 16-500 voice limit

After having a look to BASS documentation, these are my thoughts:

  1. modern soundcards do not have 22050Hz rample rate anymore, so it must be emulated by device driver (with some CPU cost)
  2. if SF2 file contains samples in a higher sample rate (more frequent), the downconversion process 48000-->22050 will cost more CPU then what we could save by playing at such lower rate
  3. BASS won't change its output rate to something not natively supported by OS and device driver (see here for details, "Platform specific" paragraph)
  4. output sample rate option of VMS is virtually useless (because BASS defaults to the sound card native sample rate), so maybe I'll remove it in 2.x version

That said, I tried to force 22050Hz instead of 48000Hz in my development machine without having noticeable result; I must also say that on my machine VMS has less than 3% CPU with 48000Hz sample rate, so any improvement will be unnoticeable.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Ability to set a polyphony beyond the current 16-500 voice limit
Ray890 wrote:
I'd also like to see the option to set the sampling rate to 22050hz ... Is this also a bassmidi-library restriction?

I don't know it, honestly.
I haven't considered 22050Hz because all of the soundfonts I tried were 48000 or 44100Hz.

Will have a look.

Posts: 59
Joined: April 19, 2014 - 06:23
Re: Ability to set a polyphony beyond the current 16-500 voice limit
Ray890 wrote:
Where is the BASS Forum where the dev will see it?

Correction:  Upon further digging, I found it in 4forseen's website

Posts: 59
Joined: April 19, 2014 - 06:23
Re: Ability to set a polyphony beyond the current 16-500 voice limit

alright sweet.  But..  Where is the BASS Forum where the dev will see it?  I see several forum options such as Hydrogen Audio, but no "BASS Forum"

 

Another thing..  I'd also like to see the option to set the sampling rate to 22050hz, as it doesn't reduce sound quality much, yet reduces cpu usage further.  Synthfont has this option, and it makes a huge difference in CPU usage with 22Khz vs 44Khz.  Is this also a bassmidi-library restriction?

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Ability to set a polyphony beyond the current 16-500 voice limit
Ray890 wrote:
I find a 500 voice limit a little too low for me.

That limit is inherited from the underlying BASS libraries used by VirtualMIDISynth for the synth task (see here: http://www.un4seen.com/doc/#bassmidi/BASS_ATTRIB_MIDI_VOICES.html).
You could try to ask them to raise it; Ian Luck (BASS developer) is really active on BASS forum.

VirtualMIDISynth lower limit (16) is higher than the library supported one (1); I choosed to set it to 16 because I thought it was a reasonable value. Still wonder how could a limit of 1 note at a time be useful...

Ray890 wrote:
Additionally, I think it'd also be nice to see a real-time voice count and/or cpu meter (like synthfont does) displayed in the mixer window.

This is a good suggestion, also useful for debugging.
I'll add it to my TODO list.