UGenGraphBuilder

trait UGenGraphBuilder extends NestedUGenGraphBuilder
Companion
object
trait NestedUGenGraphBuilder
trait Builder
class Object
trait Matchable
class Any

Value members

Abstract methods

def addOutput(key: String, numChannels: Int): Unit

This method should only be invoked by the graph.scan.Elem instances. It declares a scan output along with the number of channels written to it.

This method should only be invoked by the graph.scan.Elem instances. It declares a scan output along with the number of channels written to it.

def requestInput[Res <: Value](input: Input[Res]): Res

Called by graph elements during their expansion, this method forwards a request for input specifications to the UGenGraphBuilder.Context. The context should examine the input and return an appropriate value of type input.Value that will then be stored under input.key in the acceptedInputs map of the builder state.

Called by graph elements during their expansion, this method forwards a request for input specifications to the UGenGraphBuilder.Context. The context should examine the input and return an appropriate value of type input.Value that will then be stored under input.key in the acceptedInputs map of the builder state.

Note that the builder will not check whether an entry with the key already exists in the map or not. It is the responsibility of the context to react appropriately to repeated calls with the same input key. For example, the same attribute key for a streaming operation may be used multiple times, perhaps with different streaming speeds.

If an input resource is not ready, the context should throw a MissingIn exception. The builder will catch that exception and add the key to rejectedInputs instead of acceptedInputs instead.

def server: Server

Inherited methods

def addControl(values: IndexedSeq[Float], name: Option[String]): Int
Inherited from
Builder
def addUGen(ugen: UGen): Unit
Inherited from
Builder
def expandIfCase(c: Then[Any]): ExpIfCase
Inherited from
NestedUGenGraphBuilder
def prependUGen(ugen: UGen): Unit
Inherited from
Builder
def thisBranch: GE

Returns gate that is open when this if branch is selected.

Returns gate that is open when this if branch is selected.

Inherited from
NestedUGenGraphBuilder
def visit[U](ref: AnyRef, init: => U): U
Inherited from
Builder