A UGen representation indexed inside the UGen graph.
The current, thread local ugen graph builder instance.
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.
the graph to inspect
the number of wire buffers required to load the graph in the server
Installs a custom ugen graph builder on the current thread, during the invocation of a closure.
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.
the result type of the body
the builder to install on the current thread
the body which is executed with the builder found through UGenGraph.builder
the result of executing the body