|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable com.softsynth.jsyn.SynthObject com.softsynth.jsyn.SynthSound com.softsynth.jsyn.SynthUnit com.softsynth.jsyn.SynthFilter com.softsynth.jsyn.Filter_StateVariable
public class Filter_StateVariable
State Variable Filter This filter is based on the State Variable Filter described in Hal Chamberlain's "Musical Applications of MicroProcessors". It is convenient because its frequency and resonance can each be controlled by a single value.
The "output" port of this filter is the "lowPass" output multiplied by the "amplitude".
Synth
,
SynthUnit
,
Filter_101z
Field Summary | |
---|---|
SynthInput |
amplitude
Amplitude of Output in the range of 0.0 to 1.0. |
SynthOutput |
bandPass
Band pass filtered signal. |
SynthInput |
frequency
Frequency of filter cutoff in Hertz. |
SynthOutput |
highPass
High pass filtered signal. |
SynthOutput |
lowPass
Low pass filtered signal. |
SynthInput |
resonance
Controls feedback that causes self oscillation. |
Fields inherited from class com.softsynth.jsyn.SynthFilter |
---|
input, output |
Constructor Summary | |
---|---|
Filter_StateVariable()
|
|
Filter_StateVariable(SynthContext synthContext)
Create a StateVariableFilter that runs at Synth.RATE_AUDIO. |
|
Filter_StateVariable(SynthContext synthContext,
int calculationRate)
|
Method Summary |
---|
Methods inherited from class com.softsynth.jsyn.SynthSound |
---|
addPort, addPort, findNamedPort, getName, getNumPorts, getPortAt, getPriority, setPriority, setStage, setStage, start, start, stop, stop |
Methods inherited from class com.softsynth.jsyn.SynthObject |
---|
delete, deleteAll, enableDeletionByGarbageCollector, enableTracking, getPeer, getSynthContext, isTrackingEnabled, toString, track |
Methods inherited from class java.util.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public SynthInput frequency
public SynthInput resonance
public SynthInput 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 SynthOutput lowPass
Note that this signal is not affected by the amplitude port.
public SynthOutput bandPass
Note that this signal is not affected by the amplitude port.
public SynthOutput highPass
Note that this signal is not affected by the amplitude port.
Constructor Detail |
---|
public Filter_StateVariable(SynthContext synthContext, int calculationRate) throws SynthException
SynthException
public Filter_StateVariable(SynthContext synthContext) throws SynthException
SynthException
- If name does not match list of valid units.
Note that match is case sensitive.public Filter_StateVariable() throws SynthException
SynthException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |