| turnoff works at perf-time, isamp at init-time.
try this:
if ksamp < 48 then
turnoff
printk 1, ksamp
endif
it should not print ksamp.
Victor
On 6 Aug 2010, at 14:20, Joel Ross wrote:
> I am trying to turn an instrument off with turnoff.
> However it doesn't seem to be having any effect.
>
> The code I am using is:
>
> if isamp < 48 then
> turnoff
> print isamp
> endif
>
> When this is true, the instrument continues to run, and the value of
> isamp is printed.
>
> Am I missing something?
>
> Thanks,
> -Joel
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|