|
||||||||||
| 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.Pan
public class Pan
A UGen for panning a mono signal in a stereo field
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ddf.minim.ugens.UGen |
|---|
UGen.InputType, UGen.UGenInput |
| Field Summary | |
|---|---|
UGen.UGenInput |
pan
UGens patched to pan should generate values between -1 and +1. |
| Constructor Summary | |
|---|---|
Pan(float panValue)
Construct a Pan UGen with a particular balance and width. |
|
| Method Summary | |
|---|---|
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. |
protected void |
removeInput(UGen input)
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 |
setPan(float panValue)
Set the pan value of this Pan. |
protected void |
uGenerate(float[] channels)
NOTE: Currently only supports stereo audio! |
| Methods inherited from class ddf.minim.ugens.UGen |
|---|
getLastValues, patch, patch, patch, printInputs, sampleRate, 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 pan
| Constructor Detail |
|---|
public Pan(float panValue)
fBalance - a value of 0 means to pan dead center, -1 hard left, and 1 hard right.| Method Detail |
|---|
public void setPan(float panValue)
panValue - protected void addInput(UGen in)
UGen
addInput in class UGenprotected void removeInput(UGen input)
UGen
removeInput in class UGenprotected void sampleRateChanged()
UGen
sampleRateChanged in class UGenprotected void uGenerate(float[] channels)
uGenerate in class UGenchannels - an array representing one sample frame.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||