| A related point: if you plan to "turnoff" any instruments, for example
before starting new ones, be sure that the instruments you "turnoff"
have higher instrument numbers than the one which is executing
"turnoff." The turnoff opcode must be executed earlier in the k-cycle
than the instruments being turned off.
-Lou
On Jun 26, 2012, at 4:21 PM, Rory Walsh wrote:
> I'm sure there are a few ways but one would be to use the active
> opcode to check if the instrument is still active before triggering it
> again. You'd need to use some sort of controlling instrument to
> trigger the other instrument. I'd use event or some such opcode for
> the triggering. Sounds like fun.
>
> On 26 June 2012 21:14, zappfinger wrote:
>> I am having much fun with the Parallax Ping ultrasonic sensor via
>> Arduino to
>> csound, as a sort of theremin.
>> But I would like to trigger an instrument only if its p3 has elapsed
>> (inactive?). Is this possible?
>>
>> Richard
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/test-if-instrument-instance-is-active-Theremin-tp5713925.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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"
>
|