com.softsynth.jsyn
Class DelayUnit

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.SynthFilter
                      extended by com.softsynth.jsyn.DelayUnit

public class DelayUnit
extends SynthFilter

DelayUnit unit.

DelayUnit provides a simple time delay with an input and output. The internal data format is the same resolution as a SynthTable which is floating point if the sound processor supports it.

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

Field Summary
 
Fields inherited from class com.softsynth.jsyn.SynthFilter
input, output
 
Constructor Summary
DelayUnit(double delayTime)
           
DelayUnit(int calculationRate, double delayTime)
           
DelayUnit(SynthContext synthContext, double delayTime)
          Create a DelayUnit that runs at Synth.RATE_AUDIO.
DelayUnit(SynthContext synthContext, int calculationRate, double delayTime)
           
 
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

DelayUnit

public DelayUnit(SynthContext synthContext,
                 int calculationRate,
                 double delayTime)
          throws SynthException
Throws:
SynthException

DelayUnit

public DelayUnit(int calculationRate,
                 double delayTime)
          throws SynthException
Throws:
SynthException

DelayUnit

public DelayUnit(SynthContext synthContext,
                 double delayTime)
          throws SynthException
Create a DelayUnit that runs at Synth.RATE_AUDIO.

Throws:
SynthException - If delayTime negative or exceeds memory.

DelayUnit

public DelayUnit(double delayTime)
          throws SynthException
Throws:
SynthException