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.
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
this must match with the
dir parameter of the
write method call.
d_load message with default directory location and without completion package.
optional completion package
file version, must be 1 or 2
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.
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 path of the directory in which the file will be created
true (default), an existing file will be overwritten,
false if the file already exists, this method exists
without writing anything.