com.softsynth.jsyn
Class Filter_LowShelf

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.Filter_LowShelf

public class Filter_LowShelf
extends SynthFilter

Filter_LowShelf This filter is based on the BiQuad filter. Coefficients are updated whenever the frequency, gain or slope changes.

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

Field Summary
 SynthInput amplitude
          Amplitude of Output
 SynthInput frequency
          Frequency of filter cutoff in Hertz.
 SynthInput gain
          Gain of peak.
 SynthInput slope
          Shelf Slope parameter.
 
Fields inherited from class com.softsynth.jsyn.SynthFilter
input, output
 
Constructor Summary
Filter_LowShelf()
           
Filter_LowShelf(SynthContext synthContext)
          Create a Filter_LowShelf that runs at Synth.RATE_AUDIO.
Filter_LowShelf(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

frequency

public SynthInput frequency
Frequency of filter cutoff in Hertz. SIGNAL_TYPE_FULL_RANGE


gain

public SynthInput gain
Gain of peak. Use 1.0 for flat response.


slope

public SynthInput slope
Shelf Slope parameter. When S = 1, the shelf slope is as steep as you can get it and remain monotonically increasing or decreasing gain with frequency.


amplitude

public SynthInput amplitude
Amplitude of Output

Constructor Detail

Filter_LowShelf

public Filter_LowShelf(SynthContext synthContext,
                       int calculationRate)
                throws SynthException
Throws:
SynthException

Filter_LowShelf

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

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

Filter_LowShelf

public Filter_LowShelf()
                throws SynthException
Throws:
SynthException