public class PanControl extends UnitGenerator
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;
| Modifier and Type | Field and Description |
|---|---|
UnitOutputPort |
output |
UnitInputPort |
pan |
FALSE, TRUE| Constructor and Description |
|---|
PanControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(int start,
int limit)
Perform essential synthesis function.
|
addPort, addPort, convertHalfLifeToMultiplier, flattenOutputs, generate, getCircuit, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, isEnabled, pullData, setCircuit, setEnabled, setFrameRate, setPort, setSynthesisEngine, start, start, stop, stoppublic UnitInputPort pan
public UnitOutputPort output
public void generate(int start,
int limit)
UnitGeneratorgenerate in class UnitGeneratorstart - offset into port bufferslimit - limit offset into port buffers for loop