com.softsynth.jsyn.circuits
Class WindSound
java.lang.Object
java.util.Observable
com.softsynth.jsyn.SynthObject
com.softsynth.jsyn.SynthSound
com.softsynth.jsyn.SynthCircuit
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
Method Summary |
void |
setStage(int time,
int stage)
Define a behavior for setStage(). |
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 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 |
noiseAmp
public SynthInput noiseAmp
modRate
public SynthInput modRate
modDepth
public SynthInput modDepth
cutoff
public SynthInput cutoff
resonance
public SynthInput resonance
amplitude
public SynthInput amplitude
WindSound
public WindSound()
throws SynthException
- Throws:
SynthException
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.