de.sciss.synth

Ops

object Ops

Importing the contents of this object adds imperative (side-effect) functions to resources such as synths, buses, buffers. In general these reflect the OSC messages defined for each object, and send them straight to the server. For example, a Synth has function newMsg which returns an OSC message to instantiate the synth of the server. After importing Ops, you will be able to directly launch a synth using SynthDef.play or Synth.play. You will be able to directly allocate and read buffers, and so forth.

The reason why these functions are separated from the rest of the API is to allow other frameworks such as SoundProcesses to avoid side-effects which they handle differently (e.g., using STM).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Ops
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class BufferConstructors extends AnyVal

  2. implicit final class BufferOps extends AnyVal

  3. implicit final class ControlBusOps extends AnyVal

  4. implicit final class GroupConstructors extends AnyVal

  5. final class GroupOps extends AnyVal

  6. implicit final class NodeOps extends AnyVal

  7. implicit final class SynthConstructors extends AnyVal

  8. implicit final class SynthDefConstructors extends AnyVal

  9. implicit final class SynthDefOps extends AnyVal

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. implicit def groupOps[G](g: G)(implicit view: (G) ⇒ Group): GroupOps

    This allows conversions to Group so that something like Server.

    This allows conversions to Group so that something like Server.default.freeAll becomes possible.

  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. def play[T](target: Node = Server.default, outBus: Int = 0, fadeTime: Optional[Float] = Some(0.02f), addAction: AddAction = addToHead)(thunk: ⇒ T)(implicit arg0: Result[T]): Synth

    Wraps the body of the thunk argument in a SynthGraph, adds an output UGen, and plays the graph in a synth attached to a given target.

    Wraps the body of the thunk argument in a SynthGraph, adds an output UGen, and plays the graph in a synth attached to a given target.

    target

    the target with respect to which to place the synth

    outBus

    audio bus index which is used for the synthetically generated Out UGen.

    fadeTime

    if defined, specifies the fade-in time for a synthetically added amplitude envelope.

    addAction

    the relation between the new synth and the target

    thunk

    the thunk which produces the UGens to play

    returns

    a reference to the spawned Synth

  19. def play[T](thunk: ⇒ T)(implicit arg0: Result[T]): Synth

    Wraps the body of the thunk argument in a SynthGraph, adds an output UGen, and plays the graph on the default group of the default server.

    Wraps the body of the thunk argument in a SynthGraph, adds an output UGen, and plays the graph on the default group of the default server.

    thunk

    the thunk which produces the UGens to play

    returns

    a reference to the spawned Synth

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

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped