QUICK-REF - CsoundManual
- Top of this section - Previous
- Contents - Index
- Next Section
The EXTRACT feature
This feature will extract a segment of a sorted numeric score file according
to instructions taken from a control file. The control file contains an
instrument list and two time points, from and to, in the form:
instruments 1 2 from 1:27.5 to 2:2
The component labels may be abbreviated as i, f and t. The time points
denote the beginning and end of the extract in terms of:
[section no.] : [beat no.].
each of the three parts is also optional. The default values for missing
i, f or t are:
all instruments, beginning of score, end of score.
extract reads an orchestra-readable score file and produces an orchestra-readable
result. Comments, tabs and extra spaces are flushed, w and a
statements are added and an f0 reflecting the extract length is appended
to the output. Following an extract process, the abbreviated score will
contain all function table statements, together with just those note statements
that occur in the from-to interval specified. Notes lying completely in
the interval will be unmodified; notes that lie only partly within will
have their p3 durations truncated as necessary.