Csound Csound-dev Csound-tekno Search About

[Csnd] Re: R: Re: Re: Infinite Duration Proposal

Date2010-01-23 15:59
From"vallste@libero.it"
Subject[Csnd] Re: R: Re: Re: Infinite Duration Proposal
As far as I know infinite duration is impossible, csound will run until f0 or 
the last instrument are "on".
My f 0 with negative duration was only meant as a proposal to the developers 
but I don't know if it's possible to implement.
Ciao

>----Messaggio originale----
>Da: stevenyi@gmail.com
>Data: 23/01/2010 16.28
>A: 
>Ogg: [Csnd] Re: R: Re: Infinite Duration Proposal
>
>Hi All,
>
>I already knew about both ihold and negative duration and neither
>works.  I looked at the source code of the alwayson opcode and all it
>does is use -1 for duration.  I have attached examples that use ihold
>and negative duration as well as a normal running project.
>
>As far as I understand, held notes are only held for the duration of a
>score.  If the only notes are held, the score duration is considered 0
>and csound immediately turns off the project (as far as I understand).
> This is why I implied changing the engine to change its exit
>criteria.
>
>So, unless there's some other way I'm unaware of, there is still no
>other way except to specify a very long duration for a project.
>
>steven
>
>On Sat, Jan 23, 2010 at 8:47 AM, vallste@libero.it  wrote:
>> Why not creating a "f 0 -1"?
>>
>> Maybe it has been already discussed... in this case sorry for this 
question...
>>
>>>----Messaggio originale----
>>>Da: michael.gogins@gmail.com
>>>Data: 23/01/2010 12.55
>>>A: 
>>>Ogg: [Csnd] Re: Infinite Duration Proposal
>>>
>>>-1 duration in the score is indefinite.
>>>
>>>alwayson opcode in the orchestra header is indefinite.
>>>
>>>Regards,
>>>Mike
>>>
>>>On Fri, Jan 22, 2010 at 10:49 PM, Steven Yi  wrote:
>>>> Hi All,
>>>>
>>>> I'm thinking of a change to allow instruments of infinite duration.
>>>> The idea would be to have something like this:
>>>>
>>>> i1 0 x 0 1 2 3 4 5
>>>> i2 0 x 0 1 2 3 4 5
>>>>
>>>> where the x would denote that this instrument instance is meant to be
>>>> infinite in duration.  There would be a change to the engine then to
>>>> have a flag on the instrument instance and to keep running while
>>>> either there is no more score as well as no more instrument instances
>>>> with unending duration.  This seems like it would be useful for
>>>> projects that are going to be run more like an application (i.e. a
>>>> QuteCsound project) or any kind of long running installation.
>>>>
>>>> As far as I'm aware, the only way to specify long running projects up
>>>> until now has been to use a really long duration.  This has worked but
>>>> has always seemed strange to me to look at "i1 0 336000000 1 2 3 4 5"
>>>> or something like that.
>>>>
>>>> Any thoughts?  Suggestions for better syntax than 'x'?  Or perhaps is
>>>> this altogether unnecessary?
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>>>
>>>
>>>
>>>
>>>--
>>>Michael Gogins
>>>Irreducible Productions
>>>http://www.michael-gogins.com
>>>Michael dot Gogins at gmail dot com
>>>
>>>
>>>Send bugs reports to this list.
>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"