com.softsynth.jsyn
Class SynthOutput

java.lang.Object
  extended by com.softsynth.jsyn.SynthPort
      extended by com.softsynth.jsyn.SynthScalarPort
          extended by com.softsynth.jsyn.SynthOutput

public class SynthOutput
extends SynthScalarPort

SynthPort class for Java Audio Synthesis

Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved

Method Summary
 void connect(int outIndex, SynthInput inPort, int inIndex)
          Connect output port to an input port of another instrument.
 void connect(SynthInput inPort)
           
 void disconnect()
           
 void disconnect(int index)
          Disconnects all connections made to this port.
 
Methods inherited from class com.softsynth.jsyn.SynthScalarPort
get, get
 
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,
                    SynthInput inPort,
                    int inIndex)
             throws SynthException
Connect 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.

connect

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

disconnect

public void disconnect(int index)
                throws SynthException
Disconnects all connections made to this port. Only one connection can be made to an input port so a connection can be uniquely referenced by naming the input port. Output ports have infinite fan-out.

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

disconnect

public void disconnect()
                throws SynthException
Throws:
SynthException