com.jsyn.unitgen
Class Select
java.lang.Object
com.jsyn.unitgen.UnitGenerator
com.jsyn.unitgen.Select
public class Select
- extends UnitGenerator
SelectUnit unit.
Select InputA or InputB based on value on Select port.
output = ( select > 0.0 ) ? inputB : inputA;
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 |
inputA
public UnitInputPort inputA
inputB
public UnitInputPort inputB
select
public UnitInputPort select
output
public UnitOutputPort output
Select
public Select()
generate
public void generate(int start,
int limit)
- Description copied from class:
UnitGenerator
- Perform essential synthesis function.
- Specified by:
generate
in class UnitGenerator
- Parameters:
start
- offset into port bufferslimit
- limit offset into port buffers for loop