com.softsynth.jsyn.circuits
Class WindSound

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.circuits.WindSound

public class WindSound
extends SynthCircuit

Wind Sound Create a wind-like sound by feeding white noise "shshshshsh" through a randomly varying state filter to make a "whooowhoosh" sound. The cuttoff frequency of the low pass filter is controlled by a RedNoise unit which creates a slowly varying random control signal.

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

Field Summary
 SynthInput amplitude
           
 SynthInput cutoff
           
 SynthInput modDepth
           
 SynthInput modRate
           
 SynthInput noiseAmp
           
 SynthInput resonance
           
 
Fields inherited from class com.softsynth.jsyn.SynthCircuit
output
 
Constructor Summary
WindSound()
           
 
Method Summary
 void setStage(int time, int stage)
          Define a behavior for setStage().
 
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

noiseAmp

public SynthInput noiseAmp

modRate

public SynthInput modRate

modDepth

public SynthInput modDepth

cutoff

public SynthInput cutoff

resonance

public SynthInput resonance

amplitude

public SynthInput amplitude
Constructor Detail

WindSound

public WindSound()
          throws SynthException
Throws:
SynthException
Method Detail

setStage

public void setStage(int time,
                     int stage)
              throws SynthException
Define a behavior for setStage(). This is a flexible way to do something like ON/OFF control of a circuit.

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