public class LiveInput extends UGen
UGen.InputType, UGen.UGenInput
Constructor and Description |
---|
LiveInput(AudioStream inputStream)
Constructs a LiveInput that will read from inputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Calling close will close the AudioStream that this wraps,
which is proper cleanup for using the stream.
|
protected void |
uGenerate(float[] channels)
Implement this method when you extend UGen.
|
addInput, getLastValues, patch, patch, patch, printInputs, removeInput, sampleRate, sampleRateChanged, setAudioChannelCount, setSampleRate, tick, unpatch, unpatch
public LiveInput(AudioStream inputStream)
inputStream
- public void close()
protected void uGenerate(float[] channels)
UGen
getLastValues
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
.