|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,561
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
|
|
|
|
|
#2 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
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..??) |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,561
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
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 12:44 PM. |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,561
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
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 12:41 PM. |
|
|
|
|
|
#5 | |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
Quote:
Last edited by Maddogg6; Feb 16, 2008 at 06:42 PM. |
|
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,561
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
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 07:33 PM. |
|
|
|
|
|
#7 | |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|