Looping parts of the score

Hey, I'm having trouble trying to loop part of my score. If I wanted to loop this section...

i 5 4 12 80 8
i . + 1 50 .
i . . 1 < .
i . . 1 < .
i . . 0.5 85 .
i . . 0.5 85 .

...how might I proceed? Thanks a lot,

J

Re: Looping parts of the score

Hi,

Csound has a number of ways for repeating or looping a group of events in the score. The best answer to your question depends on whether you want to have other events happening alongside of the loop and whether you need to use the looped events again in another section of your piece.

The 'r' score statement begins a new section that can repeat a specified number of times. But you can't overlap that section with anything else.

The '{' and '}' score statements allow to loop arbitrary groups of events and have loops overlap with each other or events not in a loop. These statements are a little bit harder to use though because they do not automatically advance the start times of the events in the loop.

Finally, sometimes score macros are the most convenient way to repeat blocks of score events, but they are also trickier to use.

Check out the descriptions and examples in the manual for more information.

Anthony

generic cialis z pak Canadian pharmacy staxyn buy zithromax zpack Canadian pharmacy viagra generic viagra z-pak cheap generic viagra ed pills kamagra uk z-pack pharmacy uk zpak avanafil buy viagra uk viagra uk z pack viagra online cialis online ed drugs cialis uk