m Statement (Mark Statement)

m — Sets a named mark in the score.

Description

Sets a named mark in the score, which can be used by an n statement.

Syntax

m p1

Initialization

p1 -- Name of mark.

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
s
i1 0 10
s
n foo
e

Will be passed from the preprocessor to Csound as:

i1 0 1
i1 1 1.5
i1 2.5 2
s
i1 0 10
s
;; this is named section repeated
i1 0 1
i1 1 1.5
i1 2.5 2
s
;; end of named section
e

Credits

Author: John ffitch
University of Bath/Codemist Ltd.
Bath, UK
April, 1998

New in Csound version 3.48