jmslexamples.jsyn
Class SpeedySynthNote

java.lang.Object
  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 jmslexamples.jsyn.SpeedySynthNote

public class SpeedySynthNote
extends com.softsynth.jsyn.SynthNote

For Speedy example

Author:
Nick Didkovsky, email: didkovn@mail.rockefeller.edu, (c) 2004 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
output
 
Constructor Summary
SpeedySynthNote()
           
 
Method Summary
 void noteOff(int time)
           
 void noteOn(int time, double frq, double ampl)
          Bang the circuit to make a sound
 
Methods inherited from class com.softsynth.jsyn.SynthNote
note, 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, 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

SpeedySynthNote

public SpeedySynthNote()
                throws com.softsynth.jsyn.SynthException
Throws:
com.softsynth.jsyn.SynthException
Method Detail

noteOn

public void noteOn(int time,
                   double frq,
                   double ampl)
Bang the circuit to make a sound

Overrides:
noteOn in class com.softsynth.jsyn.SynthNote

noteOff

public void noteOff(int time)
Overrides:
noteOff in class com.softsynth.jsyn.SynthNote