Part of the Composer's Tool Kit (CTK) system. See Ctk for more details.
CtkSynthDef and CtkProtoNotes are the two prototyping classes for creating instances of CtkNote.
In general, you will not need to create instances of CtkNoteObj. CtkProtoNotes will do it for you. The main purpose of this class is the creation of new instances of CtkNote based on a CtkNoteObject prototype.
Create a new instance of a note object. Used internally by CtkSynthDef or CtkProtoNotes.
synthdef |
An instance of SynthDef to base the new instance on. |
server |
An instance of Server. |
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. |
Get a list of controls and defaults
post |
If 'post' is true, post a list of controls and defaults to the post window. |
The Dictionary containing the argument names as keys and default values.