com.softsynth.jsyn
Class SynthOutput
java.lang.Object
com.softsynth.jsyn.SynthPort
com.softsynth.jsyn.SynthScalarPort
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
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 |
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