com.softsynth.jsyn
Class SynthScalarPort

java.lang.Object
  extended by com.softsynth.jsyn.SynthPort
      extended by com.softsynth.jsyn.SynthScalarPort
Direct Known Subclasses:
SynthOutput, SynthVariable

public class SynthScalarPort
extends SynthPort

SynthScalarPort are ports that have a simple scalar signal value. It is the root class for SynthVariable, SynthInput, SynthOutput

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

Method Summary
 double get()
           
 double get(int partIndex)
           
 
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

get

public double get(int partIndex)
           throws SynthException
Returns:
current instantaneous value of port.
Throws:
SynthException - If port name is not recognized, or index out of range.

get

public double get()
           throws SynthException
Throws:
SynthException