Class/Object

de.sciss.synth

SynthDef

Related Docs: object SynthDef | package synth

Permalink

final case class SynthDef(name: String, graph: UGenGraph) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SynthDef
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SynthDef(name: String, graph: UGenGraph)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debugDump(): Unit

    Permalink

    Prints a string representation of this definition to the console output for debugging purposes.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def freeMsg: SynthDefFree

    Permalink

    A d_free message.

  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val graph: UGenGraph

    Permalink
  12. def hexDump(version: Int = 1): Unit

    Permalink

    Prints a hexadecimal dump of the encoded synth def to the console output for debugging purposes.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def loadMsg(dir: String = defaultDir, completion: Optional[Packet] = None): SynthDefLoad

    Permalink

    A d_load message with an optional completion package.

    A d_load message 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 name and extension. this must match with the dir parameter of the write method call.

  15. def loadMsg: SynthDefLoad

    Permalink

    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

    de.sciss.synth.SynthDef.defaultDir

  16. val name: String

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def recvMsg(completion: Optional[Packet], version: Int = 1): SynthDefRecv

    Permalink

    A d_recv message.

    A d_recv message.

    completion

    optional completion package

    version

    file version, must be 1 or 2

  21. def recvMsg: SynthDefRecv

    Permalink

    A d_recv message without completion package.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toBytes(version: Int = 1): ByteBuffer

    Permalink

    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.

  24. def toString(): String

    Permalink
    Definition Classes
    SynthDef → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def write(dir: String = defaultDir, overwrite: Boolean = true): Unit

    Permalink

    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.

    dir

    the path of the directory in which the file will be created

    overwrite

    if true (default), an existing file will be overwritten, if false if the file already exists, this method exists without writing anything.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped