com.softsynth.jsyn
Class BusReader

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

public class BusReader
extends SynthUnit

BusReader unit. This unit can be used to mix multiple signals together. It has a SynthBusInput that can be connected to multiple SynthBusOutputs. All the inputs are summed and then passed to the output port.

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

Field Summary
 SynthInput amplitude
           
 SynthBusInput busInput
           
 SynthOutput output
           
 
Constructor Summary
BusReader()
           
BusReader(SynthContext synthContext)
          Create one that runs at Synth.RATE_AUDIO.
BusReader(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

busInput

public SynthBusInput busInput

amplitude

public SynthInput amplitude

output

public SynthOutput output
Constructor Detail

BusReader

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

BusReader

public BusReader(SynthContext synthContext)
          throws SynthException
Create one that runs at Synth.RATE_AUDIO.

Throws:
SynthException - If resource allocation fails.

BusReader

public BusReader()
          throws SynthException
Throws:
SynthException