final case class SynthDef(name: String, graph: UGenGraph) extends Product with Serializable
- Alphabetic
- By Inheritance
- SynthDef
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
debugDump(): Unit
Prints a string representation of this definition to the console output for debugging purposes.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
freeMsg: SynthDefFree
A
d_freemessage. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val graph: UGenGraph
-
def
hexDump(version: Int = 1): Unit
Prints a hexadecimal dump of the encoded synth def to the console output for debugging purposes.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadMsg(dir: String = defaultDir, completion: Optional[Packet] = None): SynthDefLoad
A
d_loadmessage with an optional completion package.A
d_loadmessage with an optional completion package.- 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.
-
def
loadMsg: SynthDefLoad
A
d_loadmessage with default directory location and without completion package.A
d_loadmessage with default directory location and without completion package. - val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
recvMsg(completion: Optional[Packet], version: Int = 1): SynthDefRecv
A
d_recvmessage.A
d_recvmessage.- completion
optional completion package
- version
file version, must be 1 or 2
-
def
recvMsg: SynthDefRecv
A
d_recvmessage without completion package. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBytes(version: Int = 1): ByteBuffer
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.
-
def
toString(): String
- Definition Classes
- SynthDef → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(dir: String = defaultDir, overwrite: Boolean = true): Unit
Writes this synth-definition into a file.
Writes this synth-definition into a file. The file name is the
nameof the definition followed by the defaultextension.- 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.