com.softsynth.jsyn
Class PinkNoise

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.PinkNoise

public class PinkNoise
extends SynthUnit

PinkNoise unit. This unit uses a pseudo-random number generator to produce pink noise. The energy in a pink noise signal falls off at 3dB per octave with increasing frequency. For more information on Pink Noise, visit "http://www.firstpr.com.au/dsp/pink-noise/".

Version:
JSyn Version 142
Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
See Also:
WhiteNoise, RedNoise

Field Summary
 SynthInput amplitude
           
 SynthOutput output
           
 
Constructor Summary
PinkNoise()
           
PinkNoise(SynthContext synthContext)
          Create a SynthUnit that runs at Synth.RATE_AUDIO.
PinkNoise(SynthContext synthContext, int calculationRate)
           
 
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

amplitude

public SynthInput amplitude

output

public SynthOutput output
Constructor Detail

PinkNoise

public PinkNoise(SynthContext synthContext,
                 int calculationRate)
          throws SynthException
Throws:
SynthException

PinkNoise

public PinkNoise(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.

PinkNoise

public PinkNoise()
          throws SynthException
Throws:
SynthException