com.softsynth.jsyn
Class RedNoise

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.SynthOscillator
                      extended by com.softsynth.jsyn.RedNoise

public class RedNoise
extends SynthOscillator

RedNoise unit. This unit interpolates straight line segments between pseudo-random numbers to produce "red" noise. It is a grittier alternative to the white generator Noise_White. It is also useful as a slowly changing random control generator for natural sounds. Frequency port controls the number of times per second that a new random number is chosen.

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

Field Summary
 
Fields inherited from class com.softsynth.jsyn.SynthOscillator
amplitude, frequency, output, phase
 
Constructor Summary
RedNoise()
           
RedNoise(SynthContext synthContext)
          Create a SynthUnit that runs at Synth.RATE_AUDIO.
RedNoise(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
 

Constructor Detail

RedNoise

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

RedNoise

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

RedNoise

public RedNoise()
         throws SynthException
Throws:
SynthException