com.softsynth.jsyn
Class SynthBusInput

java.lang.Object
  extended by com.softsynth.jsyn.SynthPort
      extended by com.softsynth.jsyn.SynthBusInput

public class SynthBusInput
extends SynthPort

SynthBusInput port that can connect to multiple SynthBusOutputs

Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
See Also:
SynthBusOutput, BusWriter

Method Summary
 void connect(int inIndex, SynthBusOutput outPort, int outIndex)
          Connect named output port to an input port of another instrument.
 void connect(SynthBusOutput outPort)
           
 void disconnect()
           
 void disconnect(int index)
          Disconnects all the connections made to this port.
 
Methods inherited from class com.softsynth.jsyn.SynthPort
getAlias, getName, getNumParts, getSignalType, getSignalType, getSound, setAlias, setSignalType, setSignalType, setSignalType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

connect

public void connect(int inIndex,
                    SynthBusOutput outPort,
                    int outIndex)
             throws SynthException
Connect named output port to an input port of another instrument. Each port can have multiple indexed parts. A stereo sample reader would, for example, have an "Output" with two parts.

Throws:
SynthException - If port name is not recognized, or index out of range, or destPort already connected.

connect

public void connect(SynthBusOutput outPort)
             throws SynthException
Throws:
SynthException

disconnect

public void disconnect(int index)
                throws SynthException
Disconnects all the connections made to this port.

Throws:
SynthException - If index out of range.

disconnect

public void disconnect()
                throws SynthException
Throws:
SynthException