Previous Chapter
Table of Contents

Appendix

Tutorial Classes and Slots

Slots available to all objects:

time
The time of the object. The value is interpreted as seconds (the default) or milliseconds depending on the current clock mode of the system. time is normally "read only".

Container Classes

Slots declared by all containers (Thread, Heap, Merge, Algorithm, Generator, Network):
start
The local start time offset of the container in its parent merge. The value is interpreted as seconds or milliseconds depending on the current clock mode of the system.
initializer
The function to call before the object starts output processing.
finalizer
The function to call just after the object finishes output processing.

Slots declared by algorithm and generator:

length
The number of events to compute.
end
The local end time in the parent merge. The value is interpreted as seconds or milliseconds depending on the current clock mode of the system.
count
A "read only" counter that ranges from 0 to length-1.

Rhythmic Classes

Slots declared by note and rest:
rhythm
The time delta to the next event. The value is interpreted as seconds or milliseconds depending on the current clock mode of the system.

MIDI Classes

Slots declared by midi-message:
message
The midi message. See midi.html for more information.
data
A list of additional data bytes.
Slots declared by midi-note:
channel
A MIDI channel number 0<=31. Defaults to 0.
note
The frequency of the midi-note, expressed as a note, degree or pitch in the standard chromatic scale.
duration
The duration of the midi-note. The value is interpreted as seconds or milliseconds depending on the current clock mode of the system. Defaults to rhythm.
amplitude
A logical amplitude 0.0<=1.0 or an integer 0<=127. Defaults to 64.
release
A logical amplitude 0.0<=1.0 or an integer 0<=127. Defaults to 64.

Music Kit Classes

Slots declared by all Music Kit notes (Wave1vi, Wave1i, Pluck, Mixsounds, Mkmidi, Fm2pvi, Fm2pnvi, Fm2cvi, Fm2cnvi, Fm1vi, Fm1i, Dbwave2vi, Dbwave1vi, Dbfm1vi):
type
The Music Kit note type of the note, either :duration, :noteOn, :noteOff, :noteUpdate or :mute. Defaults to :duration.
tag
The Music Kit note tag of the note.
part
The part info defining the Music Kit part of the note. For more information about the various Music Kit note parameters, see "SynthPatchLibrary.rtf" in Common Music's doc/contrib directory.

CMN Classes

Slots declared by cmn:
data
The list of variables and functions to be evaluated in the CMN package.
channel
The staff of the object, expressed as a channel number.

Previous Chapter
Table of Contents


©MCMXCV by hkt@ccrma.stanford.edu