com.softsynth.jsyn
Class StateVariableFilter

java.lang.Object
  extended by java.util.Observable
      extended by com.softsynth.jsyn.SynthObject
          extended by com.softsynth.jsyn.SynthSound
              extended by com.softsynth.jsyn.SynthUnit
                  extended by com.softsynth.jsyn.SynthFilter
                      extended by com.softsynth.jsyn.StateVariableFilter

Deprecated. Use Filter_StateVariable instead.

public class StateVariableFilter
extends SynthFilter

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.

Note that this entire class is depracated because the "frequency" port required the use of SIGNAL_TYPE_SVF_FREQ when making connections.

The "output" port of this filter is the "lowPass" output multiplied by the "amplitude".

Version:
JSyn Version 005
Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
See Also:
Synth, SynthUnit, Filter_101z

Field Summary
 SynthInput amplitude
          Deprecated. Amplitude of Output in the range of 0.0 to 1.0.
 SynthOutput bandPass
          Deprecated. Band pass filtered signal.
 SynthInput frequency
          Deprecated. Frequency of filter cutoff in Hertz.
 SynthOutput highPass
          Deprecated. High pass filtered signal.
 SynthOutput lowPass
          Deprecated. Low pass filtered signal.
 SynthInput resonance
          Deprecated. Controls feedback that causes self oscillation.
 
Fields inherited from class com.softsynth.jsyn.SynthFilter
input, output
 
Constructor Summary
StateVariableFilter()
          Deprecated.  
StateVariableFilter(SynthContext synthContext)
          Deprecated. Create a StateVariableFilter that runs at Synth.RATE_AUDIO.
StateVariableFilter(SynthContext synthContext, int calculationRate)
          Deprecated.  
 
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

frequency

public SynthInput frequency
Deprecated. 
Frequency of filter cutoff in Hertz. SIGNAL_TYPE_SVF_FREQ


resonance

public SynthInput resonance
Deprecated. 
Controls feedback that causes self oscillation. Actually 1/Q - SIGNAL_TYPE_RAW_SIGNED in the range of 0.0 to 1.0. Defaults to 0.125.


amplitude

public SynthInput amplitude
Deprecated. 
Amplitude of Output in the range of 0.0 to 1.0. SIGNAL_TYPE_RAW_SIGNED Defaults to 1.0

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.


lowPass

public SynthOutput lowPass
Deprecated. 
Low pass filtered signal. SIGNAL_TYPE_RAW_SIGNED

Note that this signal is not affected by the amplitude port.


bandPass

public SynthOutput bandPass
Deprecated. 
Band pass filtered signal. SIGNAL_TYPE_RAW_SIGNED

Note that this signal is not affected by the amplitude port.


highPass

public SynthOutput highPass
Deprecated. 
High pass filtered signal. SIGNAL_TYPE_RAW_SIGNED

Note that this signal is not affected by the amplitude port.

Constructor Detail

StateVariableFilter

public StateVariableFilter(SynthContext synthContext,
                           int calculationRate)
                    throws SynthException
Deprecated. 
Throws:
SynthException

StateVariableFilter

public StateVariableFilter(SynthContext synthContext)
                    throws SynthException
Deprecated. 
Create a StateVariableFilter that runs at Synth.RATE_AUDIO.

Throws:
SynthException - If name does not match list of valid units. Note that match is case sensitive.

StateVariableFilter

public StateVariableFilter()
                    throws SynthException
Deprecated. 
Throws:
SynthException