public class UGenSignal extends java.lang.Object implements AudioSignal
Modifier and Type | Method and Description |
---|---|
void |
generate(float[] mono)
Generates a buffer of samples by ticking the wrapped UGen mono.length times.
|
void |
generate(float[] left,
float[] right)
Generates a buffer of samples by ticking the wrapped UGen left.length times.
|
UGen |
getUGen()
Returns the UGen that is being wrapped by this UGenSignal.
|
void |
setUGen(UGen ugen)
Sets the UGen that this UGenSignal wraps.
|
public void setUGen(UGen ugen)
ugen
- public UGen getUGen()
public void generate(float[] mono)
generate
in interface AudioSignal
mono
- the float array to fillpublic void generate(float[] left, float[] right)
generate
in interface AudioSignal
left
- the left channelright
- the right channel