UGenGraph

object UGenGraph
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

trait Builder
final
class IndexedUGen(val ugen: RawUGen, val inputSpecs: Seq[(Int, Int)])

A UGen representation indexed inside the UGen graph.

A UGen representation indexed inside the UGen graph.

Value Params
inputSpecs

the ugen's inputs indexed as pairs (ugen-index, output-index)

ugen

the ugen

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

The current, thread local ugen graph builder instance. When called outside of an explicit building process, a dummy object will be returned which ignores any calls for adding ugens, but will throw an exception when trying to actually expand any graph element.

The current, thread local ugen graph builder instance. When called outside of an explicit building process, a dummy object will be returned which ignores any calls for adding ugens, but will throw an exception when trying to actually expand any graph element.

Calculates the number of wire-buffers needed on the server to represent a given ugen-graph.

Calculates the number of wire-buffers needed on the server to represent a given ugen-graph.

Value Params
in

the graph to inspect

Returns

the number of wire buffers required to load the graph in the server

def read(dis: DataInputStream, version: Int): UGenGraph
def use[A](builder: Builder)(body: => A): A

Installs a custom ugen graph builder on the current thread, during the invocation of a closure. This method is typically called from other libraries which wish to provide a graph builder other than the default.

Installs a custom ugen graph builder on the current thread, during the invocation of a closure. This method is typically called from other libraries which wish to provide a graph builder other than the default.

When the method returns, the previous graph builder has automatically been restored. During the execution of the body, calling UGenGraph.builder will return the given builder argument.

Type Params
A

the result type of the body

Value Params
body

the body which is executed with the builder found through UGenGraph.builder

builder

the builder to install on the current thread

Returns

the result of executing the body