Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Bug Reports

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Feb 15, 2008, 03:50 PM   #1 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,913
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Soundfont info bug?

It seems that number of Presets, Instruments, and Samples shown for loaded soundfonts is off by 1 (1 extra shown for each) on the Soundfont page of kxmixer.

-Russ
Russ is offline   Reply With Quote
Old Feb 15, 2008, 08:09 PM   #2 (permalink)
Maddogg6
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,595
Maddogg6 will become famous soon enough

confirmed - kX reports 1 more than what Vienna statistics reports - tho, which one is correct - I'll assume Russ is correct and kX is reporting incorrectly..

(maybe kX is incorrectly counting a '0' (zero) position..??)
Maddogg6 is offline   Reply With Quote
Old Feb 15, 2008, 08:59 PM   #3 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,913
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Yeah, I checked with Vienna as well, and it is hard to imagine that Vienna is wrong, when you load a SF with only one instrument/preset and it shows as much, while kX shows two.

Last edited by Russ; Feb 16, 2008 at 07:44 AM.
Russ is offline   Reply With Quote
Old Feb 16, 2008, 07:25 AM   #4 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,913
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Looking in the SDK, it appears that there is a marker at the end of the lists (i.e. EOP at the end of the preset list) that is being counted, and I guess the info on the SF page does not account for this.

Last edited by Russ; Feb 16, 2008 at 07:41 AM.
Russ is offline   Reply With Quote
Old Feb 16, 2008, 01:35 PM   #5 (permalink)
Maddogg6
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,595
Maddogg6 will become famous soon enough

Quote:
Looking in the SDK, it appears that there is a marker at the end of the lists (i.e. EOP at the end of the preset list) that is being counted, and I guess the info on the SF page does not account for this.
Are you saying that the kX Mixer SF page does not use the SDK function you speak of... that seems strange to me... ??

Last edited by Maddogg6; Feb 16, 2008 at 01:42 PM.
Maddogg6 is offline   Reply With Quote
Old Feb 16, 2008, 02:11 PM   #6 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,913
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

No, there is an extra item (i.e. (for presets) a preset called EOP, which is not a real preset) at the end of the list(s), that marks the end of the list(s), and it appears that this extra item is being counted (thus one extra).

I am not talking about any specific function, as we do not see any of the code that actually parses the soundfonts, etc. I am just going by the info in soundfont.h and the fact that Presets, Instruments, and Samples in sfHeader (which I would guess is what is used for the SF page) shows one extra item count for each.

i.e. I am just guessing here at why the count is off, but there is no way for me to know for sure, since I do not have the source code.

Last edited by Russ; Feb 16, 2008 at 02:33 PM.
Russ is offline   Reply With Quote
Old Feb 16, 2008, 07:24 PM   #7 (permalink)
Maddogg6
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,595
Maddogg6 will become famous soon enough

Quote:
Originally Posted by Russ View Post
No, there is an extra item (i.e. (for presets) a preset called EOP, which is not a real preset) at the end of the list(s), that marks the end of the list(s), and it appears that this extra item is being counted (thus one extra).

I am not talking about any specific function, as we do not see any of the code that actually parses the soundfonts, etc. I am just going by the info in soundfont.h and the fact that Presets, Instruments, and Samples in sfHeader (which I would guess is what is used for the SF page) shows one extra item count for each.
ahh ok... gotya...
Maddogg6 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 01:43 AM. Copyright ©2008 DriverHeaven.net