|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.PanControl
public class PanControl
PanControl unit.
Generates control signals that can be used to control a mixer or the amplitude ports of two units.
temp = (pan * 0.5) + 0.5; output[0] = temp; output[1] = 1.0 - temp;
Field Summary | |
---|---|
UnitOutputPort |
output
|
UnitInputPort |
pan
|
Fields inherited from class com.jsyn.unitgen.UnitGenerator |
---|
FALSE, TRUE |
Constructor Summary | |
---|---|
PanControl()
|
Method Summary | |
---|---|
void |
generate(int start,
int limit)
Perform essential synthesis function. |
Methods inherited from class com.jsyn.unitgen.UnitGenerator |
---|
addPort, convertHalfLifeToMultiplier, flattenOutputs, generate, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, isEnabled, pullData, setCircuit, setFrameRate, setSynthesisEngine, start, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public UnitInputPort pan
public UnitOutputPort output
Constructor Detail |
---|
public PanControl()
Method Detail |
---|
public void generate(int start, int limit)
UnitGenerator
generate
in class UnitGenerator
start
- offset into port bufferslimit
- limit offset into port buffers for loop
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |