public class TickRate extends UGen
UGen.InputType, UGen.UGenInput| Modifier and Type | Field and Description |
|---|---|
UGen.UGenInput |
value |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInput(UGen in)
If you want to do something other than the default behavior when your
UGen is patched to, you can override this method in your derived class.
|
boolean |
isInterpolating() |
protected void |
removeInput(UGen in)
If you need to do something specific when something is unpatched from
your UGen, you can override this method.
|
protected void |
sampleRateChanged()
Override this method in your derived class to receive a notification when
the sample rate of your UGen has changed.
|
void |
setAudioChannelCount(int numberOfChannels)
Let this UGen know how many channels of audio you will be asking it for.
|
void |
setInterpolation(boolean doInterpolate) |
protected void |
uGenerate(float[] channels)
Implement this method when you extend UGen.
|
getLastValues, patch, patch, patch, printInputs, sampleRate, setSampleRate, tick, unpatch, unpatchpublic UGen.UGenInput value
public final void setInterpolation(boolean doInterpolate)
public final boolean isInterpolating()
protected void addInput(UGen in)
UGenprotected void removeInput(UGen in)
UGenremoveInput in class UGenprotected void sampleRateChanged()
UGensampleRateChanged in class UGenpublic void setAudioChannelCount(int numberOfChannels)
UGensetAudioChannelCount in class UGennumberOfChannels - how many channels of audio you will be generating with this
UGenprotected void uGenerate(float[] channels)
UGengetLastValues method of your audio UGenInput to
retrieve the audio you want to modify, which you will then modify however
you need to, assigning the result to the values in channels.