cmn-source-file [Class]

An event stream class implementing CMN source files. This class is automatcally chosen when you specify a file with a .cmn extension.

Slots declared by cmn-source-file:

metronome {number}
The parsing tempo for interpreting time values in musical data. Defaults to 60.
size {integer}
The manuscript font size. Defaults to 24.
staves {list}
An optional list of staff descriptions controlling the placement of music in staves. Use the staves macro to specify a value for this slot.
marker {function}
An optional function to call on each musical event to produce manuscript marks.
staffer {function}
The function to call on each musical event to return its CMN staff. Defaults to container-staff, which places each event in a CMN staff corresponding to the event's container. (The staffer function channel-staff can be used to place midi-note objects in a CMN staff corresponding to the channel number of the midi-note.
clm-source-file supports all additional slots declared by CMN's score class. These slot names must be specified as internal symbols in the CMN package. Additional slots are inherited from event-stream.

See Also:

CMN [Syntax], cmn-eps-file


Last Modified: 5-Mar-1998