com.softsynth.jsyn
Class TunableFilter

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.TunableFilter
Direct Known Subclasses:
Filter_BandPass, Filter_BandStop, Filter_HighPass, Filter_LowPass, Filter_PeakingEQ

public class TunableFilter
extends SynthFilter

TunableFilter Base class for filters with frequency, Q and amplitude ports.

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

Field Summary
 SynthInput amplitude
          Amplitude of Output
 SynthInput frequency
          Frequency of filter cutoff in Hertz.
 SynthInput Q
          Q controls resonance of filter.
 
Fields inherited from class com.softsynth.jsyn.SynthFilter
input, output
 
Constructor Summary
TunableFilter(java.lang.String unitName, int calculationRate, int param)
           
TunableFilter(SynthContext synthContext, java.lang.String unitName, int calculationRate, int param)
           
 
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


Q

public SynthInput Q
Q controls resonance of filter. A value greater than 1.0 will cause the filter to resonate, or "self-oscillate", with a peak at the specified frequency. A value from 1.0 to 50.0 is typical with higher values being more resonant.


amplitude

public SynthInput amplitude
Amplitude of Output

Constructor Detail

TunableFilter

public TunableFilter(SynthContext synthContext,
                     java.lang.String unitName,
                     int calculationRate,
                     int param)
              throws SynthException
Throws:
SynthException

TunableFilter

public TunableFilter(java.lang.String unitName,
                     int calculationRate,
                     int param)
              throws SynthException
Throws:
SynthException