com.softsynth.jsyn
Class SynthUnit

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
Direct Known Subclasses:
AddUnit, AddUnsignedUnit, BusReader, BusWriter, ChannelIn, ChannelOut, CompareUnit, CrossFade, DivideUnit, DualInTwoOutUnit, EnvelopePlayer, ExponentialLag, FourWayFade, LatchUnit, LinearLag, LineIn, LineOut, MaximumUnit, MinimumUnit, MultiplyAddUnit, MultiplyAddUnsignedUnit, MultiplyUnit, MultiplyUnsignedUnit, PanControlUnit, PanUnit, ParabolicEnvelope, PeakFollower, PinkNoise, PitchDetector, SampleReader, SampleWriter, SchmidtTrigger, SelectUnit, SubtractUnit, SynthFilter, SynthOscillator, TwoInDualOutUnit, WhiteNoise

public class SynthUnit
extends SynthSound

SynthUnits are the root class class for unit generators. Units are functional building blocks for doing audio synthesis. SynthUnits include oscillators, filters, multipliers, etc.

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

Constructor Summary
SynthUnit(java.lang.String unitName, int calculationRate)
           
SynthUnit(java.lang.String unitName, int calculationRate, int param)
           
SynthUnit(SynthContext synthContext, java.lang.String unitName, int calculationRate)
           
SynthUnit(SynthContext context, java.lang.String unitName, int calculationRate, int param)
          Construct a unit generator of the given type.
 
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

SynthUnit

public SynthUnit(SynthContext context,
                 java.lang.String unitName,
                 int calculationRate,
                 int param)
          throws SynthException
Construct a unit generator of the given type.

Throws:
SynthException - If name does not match list of valid units. Note that match is case sensitive.

SynthUnit

public SynthUnit(SynthContext synthContext,
                 java.lang.String unitName,
                 int calculationRate)
          throws SynthException
Throws:
SynthException

SynthUnit

public SynthUnit(java.lang.String unitName,
                 int calculationRate,
                 int param)
          throws SynthException
Throws:
SynthException

SynthUnit

public SynthUnit(java.lang.String unitName,
                 int calculationRate)
          throws SynthException
Throws:
SynthException