Csound Csound-dev Csound-tekno Search About

[Cs-dev] Re: (Another) Unresolved bug in FLbutBank

Date2005-07-14 17:55
From"Art Hunkins"
Subject[Cs-dev] Re: (Another) Unresolved bug in FLbutBank
I should add that there is another bug in FLbutBank that applies to *all*
Windows versions of Csound (including AV).

In the following code:

gkrat, irat FLbutBank 1, 11, 1, 414, 25, 35, 129, -1, 0
 FLsetVal_i 0, irat

the default output (button select) of FLbutBank is set to 0 by FLsetVal_i.
However, substituting any other valid output button number for 0 still
results in an output of 0. As a result, the default button must always be
the first one (0).

I'd much appreciate this bug being corrected in all Csounds. I presume that
the problem may well be with FLbutBank correctly responding to the irat
variable being passed from FLsetVal_i.

Thanks much.

Art Hunkins

----- Original Message -----
From: "Art Hunkins" 
To: 
Sent: Thursday, July 14, 2005 12:45 PM
Subject: Unresolved bug in FLbutBank


> There is an unresolved bug in FLbutBank in all Windows versions of Csound
> except for CsoundAV. I brought this up to the list several months ago, but
> the current versions of flCsound/GBS, MyCsound4 and Csound5beta remain
> unfixed.
>
> The following line of code is valid for CsoundAV but not others:
>
> gkrat, irat FLbutBank 1, 11, 1, 414, 25, 35, 129, -1
>
> Other versions require the addition of a further input variable (such as
0)
> at the end of the input list. Note that the problem is only with the
version
> of the opcode (indicated by the -1) that does not trigger a note event.
>
> As I recall, correcting this error only requires changing the number of
> obligatory input variables for this opcode (the list is apparently one
> longer than it should be).
>
> I'd appreciate this error being checked on Csound for other platforms as
> well. It's getting hard to keep up with the various versions - keeping
them
> synced, especially with respect to small bugs like this.
>
> These little items, however, do keep .csd's from working on some platforms
> and versions - unless a certain amount of "defensive programming" is
engaged
> in (which I for one would rather avoid).
>
> Art Hunkins
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net