Expander
A convenient implementation of the Lazy
trait for elements which typically expand
to ugens. This will be typically used for elements which do not directly need to
generate ugens but rather spawn more graph elements. For the direct generation of
UGen
s, use a subtype of UGenSource
.
The constructor body of this trait will call Graph.builder.addLazy
to automatically
register this element when instantiated.
- Type parameters:
- U
the type to which this element expands, e.g.
Unit
orUGenInLike
- See also:
Value members
Abstract methods
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
- Returns:
the expanded object (depending on the type parameter
U
)