com.softsynth.jsyn
Class WhiteNoise
java.lang.Object
java.util.Observable
com.softsynth.jsyn.SynthObject
com.softsynth.jsyn.SynthSound
com.softsynth.jsyn.SynthUnit
com.softsynth.jsyn.WhiteNoise
public class WhiteNoise
- extends SynthUnit
WhiteNoise unit.
This unit uses a pseudo-random number generator to produce white noise.
The energy in a white noise signal is distributed evenly across the spectrum.
A new random number is generated every frame.
- Version:
- JSyn Version 005
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
- See Also:
Synth
,
RedNoise
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 |
amplitude
public SynthInput amplitude
output
public SynthOutput output
WhiteNoise
public WhiteNoise(SynthContext synthContext,
int calculationRate)
throws SynthException
- Throws:
SynthException
WhiteNoise
public WhiteNoise(SynthContext synthContext)
throws SynthException
- Create a SynthUnit that runs at Synth.RATE_AUDIO.
- Throws:
SynthException
- If name does not match list of valid units.
Note that match is case sensitive.
WhiteNoise
public WhiteNoise()
throws SynthException
- Throws:
SynthException