| Yes, Istvan is correct.
Indeed, it has always bothered me that button type 1 didn't put out a simple
trigger - a single 1 when the button is pressed, otherwise zero. And, yes,
I'm making this as a possible feature request.
I guess I'd currently call this a "non-feature." Of course, you work around
this by using the button to trigger an instrument - even if the only thing
that instrument does is to set gkstop == 1.
Art Hunkins
----- Original Message -----
From: "Istvan Varga"
To:
Sent: Tuesday, May 30, 2006 2:16 AM
Subject: Re: [Csnd] Should FLbutton behave like this?
> On Tuesday 30 May 2006 05:10, Andres Cabrera wrote:
>
> > In this example, I think the second FLbutton should turnoff the
> > instrument, producing gkstop ==1, but it seems to never happen....
> > However, if the button type (4th argument is set to 2 instead of 1) it
> > now works, any ideas? Am I doing something wrong?
>
> I think only those button types that toggle between on/off state
> set the k-rate output, button type 1 can only trigger an event
> when pushed.
> --
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk |