com.softsynth.jsyn
Class Filter_HighShelf
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_HighShelf
public class Filter_HighShelf
- extends SynthFilter
Filter_HighShelf
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
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 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 |
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
Filter_HighShelf
public Filter_HighShelf(SynthContext synthContext,
int calculationRate)
throws SynthException
- Throws:
SynthException
Filter_HighShelf
public Filter_HighShelf(SynthContext synthContext)
throws SynthException
- Create a Filter_HighShelf that runs at Synth.RATE_AUDIO.
- Throws:
SynthException
- If name does not match list of valid units.
Note that match is case sensitive.
Filter_HighShelf
public Filter_HighShelf()
throws SynthException
- Throws:
SynthException