com.softsynth.jsyn
Class SynthBusOutput

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

public class SynthBusOutput
extends SynthPort

SynthBusOutput port that can connect to one SynthBusInputs

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

Method Summary
 void connect(int outIndex, SynthBusInput inPort, int inIndex)
          Connect SynthBusOutput port to a SynthBusInput port of another instrument.
 void connect(SynthBusInput inPort)
           
 void disconnect()
           
 void disconnect(int index)
          Disconnects 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 outIndex,
                    SynthBusInput inPort,
                    int inIndex)
             throws SynthException
Connect SynthBusOutput port to a SynthBusInput port of another instrument. Each port can have multiple indexed parts.

Throws:
SynthException - If index out of range, or already connected, or connection attempted to non-bus signal.

connect

public void connect(SynthBusInput inPort)
             throws SynthException
Throws:
SynthException

disconnect

public void disconnect(int index)
                throws SynthException
Disconnects the connections made to this port. Only one connection can be made to an SynthBusOutput port so a connection can be uniquely referenced by just naming this port.

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

disconnect

public void disconnect()
                throws SynthException
Throws:
SynthException