Packages

object Action extends ProductReader[Action] with Serializable

A graph element that executes an action upon receiving a trigger.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Action
  2. Serializable
  3. ProductReader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class GetBuf(trig: GE, key: String, buf: GE, numFrames: GE = -1, startFrame: GE = 0) extends GE.Lazy with ControlRated with Product with Serializable

    A graph element that when triggered sends the contents of a buffer to the client.

    A graph element that when triggered sends the contents of a buffer to the client. The transfer happens asynchronously, and the element outputs a trigger itself when the transfer has completed.

    Note: currently, the behaviour is undefined if another trigger is received before a previous transfer process finishes. The caller should also avoid stopping the enclosing Proc before the transfer process finishes (there is no guarantee that the buffer contents is preserved).

    trig

    a trigger signal that initiate the transfer process.

    key

    the key into the enclosing object's attribute map, where a variable of type Seq[Double] is to be found

    buf

    the identifier of the buffer to transfer

    numFrames

    the number of frames to transfer or -1 (default) to transfer as many frames as possible

    startFrame

    the offset into the buffer to start transferring from, which defaults to zero.

    See also

    WriteBuf

  2. final case class WriteBuf(trig: GE, key: String, buf: GE, numFrames: GE = -1, startFrame: GE = 0, fileType: GE = -1, sampleFormat: GE = 2) extends GE.Lazy with ControlRated with Product with Serializable

    A graph element that when triggered writes the contents of a buffer to an audio file.

    A graph element that when triggered writes the contents of a buffer to an audio file. The writing happens asynchronously, and the element outputs a trigger itself when the writing has completed.

    Note: currently, the behaviour is undefined if another trigger is received before a previous writing process finishes. The caller should also avoid stopping the enclosing Proc before the writing process finishes (there is no guarantee that the buffer contents is preserved).

    An alternative is BufferOut which is slightly less flexible. It writes the buffer contents when the process finishes, and invokes a done-action.

    trig

    a trigger signal that initiate the write process.

    key

    the key into the enclosing object's attribute map, where the output Artifact is to be defined

    buf

    the identifier of the buffer to write

    numFrames

    the number of frames to write or -1 (default) to write as many frames as possible

    startFrame

    the offset into the buffer to start writing from, which defaults to zero.

    fileType

    -1 automatic (default; determined from artifact found), 0 AIFF, 1 Wave, 2 Wave64, 3 IRCAM, 4 NeXT, 5 Raw

    sampleFormat

    0 16-bit integer, 1 24-bit integer, 2 32-bit floating point (default), 3 32-bit integer, 4 8-bit integer

    See also

    BufferOut

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def read(in: RefMapIn, prefix: String, arity: Int): Action
    Definition Classes
    ActionProductReader
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. object GetBuf extends ProductReader[GetBuf] with Serializable
  21. object WriteBuf extends ProductReader[WriteBuf] with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from ProductReader[Action]

Inherited from AnyRef

Inherited from Any

Ungrouped