Part of the Composer's Tool Kit (CTK) system. See Ctk for more details.
CtkNotes are most easily created through the use of CtkProtoNotes and CtkSynthDef (CtkNoteObjects). Rarely will you create them directly (since it would be difficult to enable all of the functionality available). Examples below show the intended use.
In addition, getter and setter arguments are created for each instance of CtkNote based on the SynthDef's arguments.
Note: This is not the usual way of creating new instances of CtkNotes. New instances are best created through instances of CtkNoteObject or CtkProtoNotes (see the examples)
starttime |
In NRT or CtkScore rendering mode, the starttime of an CtkNote event. In real-time mode, this parameter will schedule the event for starttime seconds in the future. |
duration |
If not nil, schedules the release of an CtkNote (works in both real-time and non-real-time) |
addAction |
A symbol (\head, \tail, \before, \after or \replace) or an addAction id (see Server Command Reference: /s_new for a more in-depth description) |
target |
A node ID (synth or group) or an instance of CtkGroup or CtkNote |
server |
The server to execute the node on. Defaults to Server.default for real-time performance |
synthdefname | |
noMaps |
an instance of CtkNote
Intended use - creating CtkNote from CtkSynthDef or CtkProtoNotes
Play an instance of CtkNote, for real-time use.
0
will result in processing the messages as soon as possible (but printing the "late" messages from the server as well).group |
Schedule with a given group. |
Releases CtkNote by setting its 'key' argument to 0.
time |
In real-time mode,'time' schedules the release in the future (in seconds). In non-real-time mode, a message to release an instance of CtkNote is created at CtkNotes starttime + time. |
key |
'key' defaults to \gate for use in sustained envelopes. |
frees an instance of CtkNote.
time |
In real-time mode, 'time' schedules the freeing of a node in the future. In non-real-time mode, a message to free the node is created at starttime + time. |
addMsg |
Add a message to send to the server. |
show the args
argdict |
CtkNote's args
Examples that populate an instance of CtkScore. The CtkScore can then be rendered in NRT, played or saved as a file. See CtkScore for more examples.