public final class UGen.UGenInput
extends java.lang.Object
Constructor and Description |
---|
UGenInput()
This constructor generates an AUDIO input.
|
UGenInput(UGen.InputType it)
This constructor generates a UGenInput of the specified type.
|
Modifier and Type | Method and Description |
---|---|
UGen |
getIncomingUGen()
returns the UGen which is giving values to this input.
|
UGen.InputType |
getInputType()
returns the InputType of this UGenInput
|
java.lang.String |
getInputTypeAsString()
return the m_inputType as a string (for debugging)
|
float |
getLastValue()
Returns the first value in the array of last values.
|
float[] |
getLastValues() |
UGen |
getOuterUGen()
returns the outer UGen of which this is an input.
|
boolean |
isPatched()
returns true if this input has an m_incoming UGen
|
void |
printInput()
print information about this UGenInput (for debugging)
|
void |
setChannelCount(int numberOfChannels)
Set the number of channels this input should generate.
|
void |
setIncomingUGen(UGen in)
set the UGen which is giving values to this input
|
void |
setLastValue(float value)
Sets all values in the last values array to the provided value.
|
public UGenInput()
public UGenInput(UGen.InputType it)
it
- public void setChannelCount(int numberOfChannels)
numberOfChannels
- public UGen.InputType getInputType()
public UGen getOuterUGen()
public UGen getIncomingUGen()
public void setIncomingUGen(UGen in)
in
- public boolean isPatched()
public float[] getLastValues()
public float getLastValue()
public void setLastValue(float value)
ugen.anInput.getLastValues()[0] = 1.f; ugen.anInput.getLastValues()[1] = 0.f;
value
- the value to set all last values topublic java.lang.String getInputTypeAsString()
public void printInput()