Class SineSynthNote

  extended by java.util.Observable
      extended by com.softsynth.jsyn.SynthObject
          extended by com.softsynth.jsyn.SynthSound
              extended by com.softsynth.jsyn.SynthCircuit
                  extended by com.softsynth.jsyn.SynthNote
                      extended by jmsltutorial.SineSynthNote

public class SineSynthNote
extends com.softsynth.jsyn.SynthNote

A SineOscillator SynthNote with an amplitude envelope. noteOn() sustains, noteOff() releases.

Nick Didkovsky, 11/21/2000 10:12AM, copyright (c) 2000 Nick Didkovsky, all rights reserved.

Field Summary
Fields inherited from class com.softsynth.jsyn.SynthNote
amplitude, frequency
Fields inherited from class com.softsynth.jsyn.SynthCircuit
Constructor Summary
Method Summary
static void main(java.lang.String[] args)
          Play some noteOn / noteOff()'s to test the SynthNote
 void setStage(int time, int stage)
          setStage will be called by noteOn after freq and ampo are set.
Methods inherited from class com.softsynth.jsyn.SynthNote
note, noteOff, noteOn, noteOnFor
Methods inherited from class com.softsynth.jsyn.SynthCircuit
add, compile, delete, getPeer, loadByName
Methods inherited from class com.softsynth.jsyn.SynthSound
addPort, addPort, findNamedPort, getName, getNumPorts, getPortAt, getPriority, setPriority, setStage, start, start, stop, stop
Methods inherited from class com.softsynth.jsyn.SynthObject
deleteAll, enableDeletionByGarbageCollector, enableTracking, getSynthContext, isTrackingEnabled, toString, track
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public SineSynthNote()
Method Detail


public void setStage(int time,
                     int stage)
setStage will be called by noteOn after freq and ampo are set. setStage(1) will be called by noteOff()

setStage in class com.softsynth.jsyn.SynthSound


public static void main(java.lang.String[] args)
Play some noteOn / noteOff()'s to test the SynthNote