public class FilterStateVariable extends TunableFilter
FilterLowPass
,
FilterHighPass
Modifier and Type | Field and Description |
---|---|
UnitInputPort |
amplitude
Amplitude of Output in the range of 0.0 to 1.0.
|
UnitOutputPort |
bandPass
Band pass filtered signal.
|
UnitOutputPort |
highPass
High pass filtered signal.
|
UnitOutputPort |
lowPass
Low pass filtered signal.
|
UnitInputPort |
resonance
Controls feedback that causes self oscillation.
|
frequency
input, output
FALSE, PORT_NAME_AMPLITUDE, PORT_NAME_CUTOFF, PORT_NAME_FREQUENCY, PORT_NAME_FREQUENCY_SCALER, PORT_NAME_INPUT, PORT_NAME_OUTPUT, PORT_NAME_PAN, PORT_NAME_PHASE, PORT_NAME_PRESSURE, PORT_NAME_TIMBRE, PORT_NAME_TIME, synthesisEngine, TRUE, VERY_SMALL_FLOAT
Constructor and Description |
---|
FilterStateVariable()
No-argument constructor instantiates the Biquad common and adds an amplitude port to this
filter.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(int start,
int limit)
Perform essential synthesis function.
|
getInput, getOutput
addPort, addPort, autoStop, convertHalfLifeToMultiplier, convertTimeToRate, flattenOutputs, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, incrementWrapPhase, isEnabled, isStartRequired, printConnections, printConnections, printConnections, pullData, setCircuit, setEnabled, setFrameRate, setPort, setSynthesisEngine, start, start, start, stop, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnitGenerator, start, start, stop, stop
getUnitGenerator
public UnitInputPort amplitude
Note that the amplitude only affects the "output" port and not the lowPass, bandPass or highPass signals. Use a MultiplyUnit if you need to scale those signals.
public UnitInputPort resonance
public UnitOutputPort lowPass
Note that this signal is not affected by the amplitude port.
public UnitOutputPort bandPass
Note that this signal is not affected by the amplitude port.
public UnitOutputPort highPass
Note that this signal is not affected by the amplitude port.
public FilterStateVariable()
public void generate(int start, int limit)
UnitGenerator
generate
in class UnitGenerator
start
- offset into port bufferslimit
- limit offset into port buffers for loop