Object

de.sciss.synth

Ops

Related Doc: package synth

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class BufferConstructors extends AnyVal

    Permalink
  2. implicit final class BufferOps extends AnyVal

    Permalink
  3. implicit final class ControlBusOps extends AnyVal

    Permalink
  4. implicit final class GroupConstructors extends AnyVal

    Permalink
  5. final class GroupOps extends AnyVal

    Permalink
  6. implicit final class NodeOps extends AnyVal

    Permalink
  7. implicit final class SynthConstructors extends AnyVal

    Permalink
  8. implicit final class SynthDefConstructors extends AnyVal

    Permalink
  9. implicit final class SynthDefOps extends AnyVal

    Permalink
  10. implicit final class SynthOps extends AnyVal

    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. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def graph[A](thunk: ⇒ A)(implicit result: Result[A]): GraphFunction[A]

    Permalink

    Constructs a GraphFunction, on which then for example play can be called.

  11. implicit def groupOps[G](g: G)(implicit view: (G) ⇒ Group): GroupOps

    Permalink

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

  12. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def play[A](target: Node = Server.default, outBus: Int = 0, fadeTime: Double = 0.02, addAction: AddAction = addToHead)(thunk: ⇒ A)(implicit result: Result[A]): Synth

    Permalink

    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 >= 0, specifies the fade-in time for a synthetically added amplitude envelope. if negative, avoids building an 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

  18. def play[A](thunk: ⇒ A)(implicit arg0: Result[A]): Synth

    Permalink

    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

  19. implicit def stringToControl(name: String): ControlProxyFactory

    Permalink

    Allows the construction or named controls, for example via "freq".kr.

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped