- Companion
- object
Value members
Concrete methods
Prints a string representation of this definition to the console output for debugging purposes.
Prints a string representation of this definition to the console output for debugging purposes.
Prints a hexadecimal dump of the encoded synth def to the console output for debugging purposes.
Prints a hexadecimal dump of the encoded synth def to the console output for debugging purposes.
A d_load message with default directory location and without completion package.
A d_load message with default directory location and without completion package.
- See also
A d_load message with an optional completion package.
A d_load message with an optional completion package.
- Value Params
- dir
the directory in which the synth-definition is found. The synth-definition is assumed to be in a file with
nameandextension. this must match with thedirparameter of thewritemethod call.
A d_recv message.
A d_recv message.
- Value Params
- completion
optional completion package
- version
file version, must be 1 or 2
Encodes the synth-definition into a byte-buffer ready to be sent to the server or written to a file.
Encodes the synth-definition into a byte-buffer ready to be sent to the server or written to a file.
- Returns
A newly allocated buffer filled with a fully contained synth-definition file (magic cookie header, following by this one definition). The buffer is read-only with position zero and limit set to the size of the buffer.
Writes this synth-definition into a file. The file name
is the name of the definition followed by the default
extension.
Writes this synth-definition into a file. The file name
is the name of the definition followed by the default
extension.
- Value Params
- dir
the path of the directory in which the file will be created
- overwrite
if
true(default), an existing file will be overwritten, iffalseif the file already exists, this method exists without writing anything.