- Companion
- class
Type members
Classlikes
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
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