csound-score-file [Class]

An event stream class that implements writing and importing CSound score files. This class is automatcally chosen when you specify a file with a .sco extension.

csound-score-file declares the following slots:

orchestra {filename | nil}
Holds the name (string) of the CSound orchestra file that CSound will use to play the score file. Defaults to nil.
Other public slots are inherited from event-stream.

Stella's import command supports the following options for CSound score files:

start {number}
A start time in the score file to start importing. Defaults to the beginning of the file.
end {number}
The end time in .sco file to stop processing. Defaults to the end of the file.
insmap ({ins class}*)
A list of ins class pairs where each ins is an instrument name found in the .sco file and class is its note class in Common Music. If insmap is not provided each instrument statement in the file is assumed to have a corresponding class with the same name in Common Music.
container {name}
The name of a container to append the imported objects to. Defaults to nil, which causes imports to be placed in a newly created container.
Additional slots are inherited from event-stream.

See Also:

CSound [Syntax], event-stream, Importing


Last Modified: 5-Mar-1998