|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectddf.minim.ugens.UGen
ddf.minim.ugens.EnvelopeFollower
public class EnvelopeFollower
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ddf.minim.ugens.UGen |
---|
UGen.InputType, UGen.UGenInput |
Field Summary | |
---|---|
UGen.UGenInput |
audio
|
Constructor Summary | |
---|---|
EnvelopeFollower(float attackInSeconds,
float releaseInSeconds,
int bufferSize)
|
Method Summary | |
---|---|
protected void |
sampleRateChanged()
Override this method in your derived class to receive a notification when the sample rate of your UGen has changed. |
protected void |
uGenerate(float[] out)
Implement this method when you extend UGen. |
Methods inherited from class ddf.minim.ugens.UGen |
---|
addInput, getLastValues, patch, patch, patch, printInputs, removeInput, sampleRate, setAudioChannelCount, setSampleRate, tick, unpatch, unpatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public UGen.UGenInput audio
Constructor Detail |
---|
public EnvelopeFollower(float attackInSeconds, float releaseInSeconds, int bufferSize)
Method Detail |
---|
protected void sampleRateChanged()
UGen
sampleRateChanged
in class UGen
protected void uGenerate(float[] out)
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
.
uGenerate
in class UGen
out
- an array representing one sample frame.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |