Prints a string representation of this definition to the console output for debugging purposes.
A d_free message.
Prints a hexadecimal dump of the encoded synth def to the console output for debugging purposes.
A d_load message with an optional completion package.
A d_load message with an optional completion package.
the directory in which the synth-definition is found. The synth-definition
is assumed to be in a file with name and extension.
this must match with the dir parameter of the write method call.
A d_load message with default directory location and without completion package.
A d_load message with default directory location and without completion package.
A d_recv message.
A d_recv message.
optional completion package
file version, must be 1 or 2
A d_recv message without completion package.
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.
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.
Writes this synth-definition into a file. The file name
is the name of the definition followed by the default
extension.
the path of the directory in which the file will be created
if true (default), an existing file will be overwritten,
if false if the file already exists, this method exists
without writing anything.