n statementn Statementn
Repeats a section.
Description
Repeats a section from the referenced m statement.
Syntaxn p1Initializationp1 -- Name of mark to repeat.
Performance
This can be helpful in setting a up verse and chorus structure in the score. Names may contain letters and numerals.
For example, the following score:
m foo
i1 0 1
i1 1 1.5
i1 2.5 2
si1 0 10
sn foo
e
Will be passed from the preprocessor to Csound as:
i1 0 1
i1 1 1.5
i1 2.5 2
si1 0 10
s;; this is named section repeatedi1 0 1
i1 1 1.5
i1 2.5 2
s;; end of named sectioneExamples
See the example for the m statement.
See AlsoScore StatementsCreditsAuthor: &namejohn;University of Bath/Codemist Ltd.Bath, UKApril 1998New in Csound version 3.48