Expander

trait Expander[+U] extends Lazy

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 UGens, use a subtype of UGenSource.

The constructor body of this trait will call SynthGraph.builder.addLazy to automatically register this element when instantiated.

Type Params
U

the type to which this element expands, e.g. Unit or UGenInLike

See also
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Lazy
class SomeOut
class MultiOut
class Control
class SingleOut
class MulAdd
class Sum3
class Sum4
class UGenSource[U]
class ZeroOut

Value members

Abstract methods

protected
def makeUGens: U

Abstract method which must be implemented by creating the actual UGens during expansion. This method is at most called once during graph expansion

Abstract method which must be implemented by creating the actual UGens during expansion. This method is at most called once during graph expansion

Returns

the expanded object (depending on the type parameter U)

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product