object Action extends ProductReader[Action] with Serializable
A graph element that executes an action upon receiving a trigger.
- Alphabetic
- By Inheritance
- Action
- Serializable
- ProductReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- 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
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def read(in: RefMapIn, prefix: String, arity: Int): Action
- Definition Classes
- Action → ProductReader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object GetBuf extends ProductReader[GetBuf] with Serializable
- object WriteBuf extends ProductReader[WriteBuf] with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated