Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csound5 and skip initialization

Date2005-03-27 21:59
From"Art Hunkins"
SubjectRe: [Cs-dev] csound5 and skip initialization
Being well aware that turnoff doesn't work with fractional instrument
numbers (nor does schedule), I no longer use these opcodes in fractional
situations.

Rather, I use a triggered schedkwhen in an always-on instrument that manages
all other instrument scheduling. (I imagine that event does the same thing.)
I first specify schedkwhen with an infinite duration (negative p3) then turn
it off by calling schedkwhen again with a negative (here fractional)
instrument number and zero duration.

Art Hunkins

----- Original Message -----
From: "Istvan Varga" 
To: 
Sent: Sunday, March 27, 2005 6:45 AM
Subject: Re: [Cs-dev] csound5 and skip initialization


> Iain Duncan wrote:
>
> > Turnoff only turns itself off.
>
> I think I can add a new opcode, something like this (suggestions
> on a better name are welcome):
>
>      turnoff2 kinsno, kinstance, krelease
>
> kinsno: instrument number, can be fractional. If zero or negative,
>    no instrument is turned off, allowing kinsno to be used as a trigger.
>
> kinstance: instance of instrument to be turned off. 0: all, 1: oldest,
>    2: newest, 3: all indefinitely playing, 4: oldest indef, 5: newest
indef
>    (1, 2, 4, and 5 may not always work correctly).
>
> krelease: 0: turn off immediately without release, 1: allow release.
>
>  > Skip initialization is supposed to be available for all opocdes,
>  > but isn't, we have many opcodes right now without that option.
>  > So a legato note or ongoing process that needs to inherit any
>  > ongoing vectors needs to be able to skip the initialization
>  > of any opcode and successfully inherit the previous state.
>
> But you can just skip a block of opcodes with tigoto.
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net