com.softsynth.jsyn.circuits
Class FilteredSawtoothBL

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.SynthCircuit
                  extended by com.softsynth.jsyn.SynthNote
                      extended by com.softsynth.jsyn.circuits.FilteredSawtoothBL

public class FilteredSawtoothBL
extends SynthNote

Band limited sawtooth wave table played through a state variable resonant filter.

Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved

Field Summary
 SynthInput cutoff
           
 MultiplyUnit freqScalar
           
 EnvelopePlayer myEnv
           
 SynthEnvelope myEnvData
           
 Filter_StateVariable myFilter
           
 SynthInput rate
           
 SynthInput resonance
           
 SawtoothOscillatorBL sawBL
           
 
Fields inherited from class com.softsynth.jsyn.SynthNote
amplitude, frequency
 
Fields inherited from class com.softsynth.jsyn.SynthCircuit
output
 
Constructor Summary
FilteredSawtoothBL()
           
FilteredSawtoothBL(SynthContext synthContext)
           
 
Method Summary
 void setStage(int time, int stage)
          Set stage of multi-stage sound.
 
Methods inherited from class com.softsynth.jsyn.SynthNote
note, noteOff, noteOn, noteOnFor
 
Methods inherited from class com.softsynth.jsyn.SynthCircuit
add, compile, delete, getPeer, loadByName
 
Methods inherited from class com.softsynth.jsyn.SynthSound
addPort, addPort, findNamedPort, getName, getNumPorts, getPortAt, getPriority, setPriority, setStage, start, start, stop, stop
 
Methods inherited from class com.softsynth.jsyn.SynthObject
deleteAll, enableDeletionByGarbageCollector, enableTracking, 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

myFilter

public Filter_StateVariable myFilter

myEnv

public EnvelopePlayer myEnv

myEnvData

public SynthEnvelope myEnvData

freqScalar

public MultiplyUnit freqScalar

sawBL

public SawtoothOscillatorBL sawBL

cutoff

public SynthInput cutoff

resonance

public SynthInput resonance

rate

public SynthInput rate
Constructor Detail

FilteredSawtoothBL

public FilteredSawtoothBL()
                   throws SynthException
Throws:
SynthException

FilteredSawtoothBL

public FilteredSawtoothBL(SynthContext synthContext)
                   throws SynthException
Throws:
SynthException
Method Detail

setStage

public void setStage(int time,
                     int stage)
              throws SynthException
Description copied from class: SynthSound
Set stage of multi-stage sound. Typically noteOn will be stage 0, off will be 1.

Overrides:
setStage in class SynthSound
Throws:
SynthException - If an error occurs.