Csound Csound-dev Csound-tekno Search About

[Csnd] if statement in score...

Date2012-06-16 21:39
FromMook
Subject[Csnd] if statement in score...
just wonderin...

is this or something similar possible? perhaps some sort of looping 
statements as well?



Date2012-06-16 21:40
FromSteven Yi
SubjectRe: [Csnd] if statement in score...
Both are possible, you may want to look at these:

http://csounds.com/manual/html/if.html
http://csounds.com/manual/html/until.html

On Sat, Jun 16, 2012 at 1:39 PM, Mook  wrote:
> just wonderin...
>
> is this or something similar possible? perhaps some sort of looping
> statements as well?
>
>
>
>
> 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"
>


Date2012-06-16 22:03
FromAdam Puckett
SubjectRe: [Csnd] if statement in score...
Those are for the orchestra. Scores do have loop statements, but not
conditional branching. However, have a look at the event opcodes for a
way to conditionally branch the score (see
http://csounds.com/journal/issue8/dseq.html for an example).

Hope this helps.

On 6/16/12, Steven Yi  wrote:
> Both are possible, you may want to look at these:
>
> http://csounds.com/manual/html/if.html
> http://csounds.com/manual/html/until.html
>
> On Sat, Jun 16, 2012 at 1:39 PM, Mook 
> wrote:
>> just wonderin...
>>
>> is this or something similar possible? perhaps some sort of looping
>> statements as well?
>>
>>
>>
>>
>> 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"
>
>


Date2012-06-16 22:09
FromSteven Yi
SubjectRe: [Csnd] if statement in score...
Ah, didn't catch that this was for scores.  There's the {} for score loops:

http://csounds.com/manual/html/leftbrace.html

also, Jim Aikin did a nice article about Phrase Loops in the Csound Journal:

http://www.csounds.com/journal/issue15/phrase_loops.html

that covers a number of different ways to do loops in score.  For
conditional branching, I'm not aware of any particular way to do that.

On Sat, Jun 16, 2012 at 2:03 PM, Adam Puckett  wrote:
> Those are for the orchestra. Scores do have loop statements, but not
> conditional branching. However, have a look at the event opcodes for a
> way to conditionally branch the score (see
> http://csounds.com/journal/issue8/dseq.html for an example).
>
> Hope this helps.
>
> On 6/16/12, Steven Yi  wrote:
>> Both are possible, you may want to look at these:
>>
>> http://csounds.com/manual/html/if.html
>> http://csounds.com/manual/html/until.html
>>
>> On Sat, Jun 16, 2012 at 1:39 PM, Mook 
>> wrote:
>>> just wonderin...
>>>
>>> is this or something similar possible? perhaps some sort of looping
>>> statements as well?
>>>
>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"
>


Date2012-06-17 01:38
FromAdam Puckett
SubjectRe: [Csnd] if statement in score...
Use event with if statements in the orchestra.

On 6/16/12, Steven Yi  wrote:
> Ah, didn't catch that this was for scores.  There's the {} for score loops:
>
> http://csounds.com/manual/html/leftbrace.html
>
> also, Jim Aikin did a nice article about Phrase Loops in the Csound Journal:
>
> http://www.csounds.com/journal/issue15/phrase_loops.html
>
> that covers a number of different ways to do loops in score.  For
> conditional branching, I'm not aware of any particular way to do that.
>
> On Sat, Jun 16, 2012 at 2:03 PM, Adam Puckett 
> wrote:
>> Those are for the orchestra. Scores do have loop statements, but not
>> conditional branching. However, have a look at the event opcodes for a
>> way to conditionally branch the score (see
>> http://csounds.com/journal/issue8/dseq.html for an example).
>>
>> Hope this helps.
>>
>> On 6/16/12, Steven Yi  wrote:
>>> Both are possible, you may want to look at these:
>>>
>>> http://csounds.com/manual/html/if.html
>>> http://csounds.com/manual/html/until.html
>>>
>>> On Sat, Jun 16, 2012 at 1:39 PM, Mook 
>>> wrote:
>>>> just wonderin...
>>>>
>>>> is this or something similar possible? perhaps some sort of looping
>>>> statements as well?
>>>>
>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>