|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ddf.minim.ugens.UGen ddf.minim.ugens.Reciprocal
public class Reciprocal
A UGen which simply returns the reciprocal value of it's input.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ddf.minim.ugens.UGen |
---|
UGen.InputType, UGen.UGenInput |
Field Summary | |
---|---|
UGen.UGenInput |
denominator
denominator is the default input |
Constructor Summary | |
---|---|
Reciprocal()
|
|
Reciprocal(float fixedDenominator)
Constructor for Reciprocal |
Method Summary | |
---|---|
void |
setReciprocal(float fixedDenominator)
Used to change the fixedDenominator value after instantiation |
protected void |
uGenerate(float[] channels)
Generate the sampleframe |
Methods inherited from class ddf.minim.ugens.UGen |
---|
addInput, getLastValues, patch, patch, patch, printInputs, removeInput, sampleRate, sampleRateChanged, 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 denominator
Constructor Detail |
---|
public Reciprocal()
public Reciprocal(float fixedDenominator)
fixedDenominator
- the denominator value if the input is never connectedMethod Detail |
---|
public void setReciprocal(float fixedDenominator)
fixedDenominator
- the denominator value if the input is never connectedprotected void uGenerate(float[] channels)
uGenerate
in class UGen
channels
- an array representing one sample frame.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |