public abstract class FilterBiquadShelf extends FilterBiquad
Modifier and Type | Field and Description |
---|---|
protected double |
alpha |
protected double |
AM1 |
protected double |
AM1cs |
protected double |
AP1 |
protected double |
AP1cs |
protected double |
beta_sn |
protected double |
factorA |
UnitInputPort |
gain
Gain of peak.
|
protected static double |
MINIMUM_SLOPE |
UnitInputPort |
slope
Shelf Slope parameter.
|
a0, a1, a2, amplitude, b1, b2, cos_omega, MINIMUM_FREQUENCY, MINIMUM_GAIN, omega, previousFrequency, RATIO_MINIMUM, sin_omega
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 |
---|
FilterBiquadShelf() |
Modifier and Type | Method and Description |
---|---|
void |
recalculate()
Compute coefficients for shelf filter if frequency, gain or slope have changed.
|
abstract void |
updateCoefficients()
Abstract method.
|
calculateOmega, generate, performBiquadFilter
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
protected static final double MINIMUM_SLOPE
public UnitInputPort gain
public UnitInputPort slope
protected double alpha
protected double factorA
protected double AP1
protected double AM1
protected double beta_sn
protected double AP1cs
protected double AM1cs
public abstract void updateCoefficients()
public void recalculate()
recalculate
in class FilterBiquad