19 Jun '13 - 06:15 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: BASS 2.3 IT virtual channel settings  (Read 1389 times)
Sub-Zero
Posts: 49


« on: 29 Apr '07 - 03:03 »
Reply with quoteQuote

Hello.  I am using bass for tracker playback in a C project and it sounds like bass seems to cap virtual channel playback on heavily polyphonic modules while xmplay does not.  Is this fixable?  I looked through the help file and found no calls to related to this.  I uploaded samples and the original it to your ftp as vchanneltest.zip. In bass.mp3, note the ugly clipping and chopping along with occasional muting of the lead synth.

I realize the standard is 64 vchannels this file may be modplug bastardized, but if allowances were made in xmplay, couldn't they be done for bass as well?  Something like

BASS_MusicSetAttribute(handle,BASS_MUSIC_ATTRIB_MAX_VCHAN, int max_vchan)

where 0 implies unlimited (which it sounds like xmplay is doing, but you tell me) and the default could be 64.

Thanks for your help.
Logged
Ian @ un4seen
Administrator
Posts: 15363


« Reply #1 on: 30 Apr '07 - 15:41 »
Reply with quoteQuote

Yep, BASS does currently have a 64 virtual channel limit, but here's an update to try...

   www.un4seen.com/stuff/bass.dll

It includes this new BASS_SetConfig option to set the number of virtual channels (1-256), which should be set before loading the IT file (doesn't affect already loaded files)...

#define BASS_CONFIG_MUSIC_VIRTUAL 22

The virtual channel assignment has also been tweaked, so you may not even need to increase the channel count for improved results Smiley
Logged
Sub-Zero
Posts: 49


« Reply #2 on: 2 May '07 - 09:12 »
Reply with quoteQuote

Tried it and it works as expected.  However, you might want to consider increasing the max limit a bit. If 'unlimited' isn't an option, perhaps simply increasing it to 512 or 1024 would be enough for pretty much any module.  As an example, check out 300vchan.zip.  I have several modules that behave this way and I can still hear differences.  In all honesty, I only really notice when listening carefully, but it would be cool to have the accuracy.

Thanks for your help and responsiveness.  I appreciate it.
Logged
Ian @ un4seen
Administrator
Posts: 15363


« Reply #3 on: 2 May '07 - 16:26 »
Reply with quoteQuote

When there are no virtual channels free, the quietest one is killed to make way. That means any extra channels (due to raised limit) will be quieter ones, and when you've already got 256 louder channels playing, I think it'll be quite a struggle to hear them Smiley

But here's an update with the limit increased to 512 anyway...

   www.un4seen.com/stuff/bass.dll

Btw, note that the virtual channel count/limit is in addition to the normal channels, so the total number of playing channels can be higher than the virtual limit.
Logged
Sub-Zero
Posts: 49


« Reply #4 on: 3 May '07 - 23:15 »
Reply with quoteQuote

Well I will say after swapping this new dll with the old one a few times, modules that hit the limit sound fuller, like they do in xmplay.  Maybe it's because all the voices are allowed to fall off naturally?  Anyway thanks again, you fixed my problem.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines