jmsltutorial
Class SineCircuit

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 jmsltutorial.SineCircuit

public class SineCircuit
extends com.softsynth.jsyn.SynthNote


Field Summary
 
Fields inherited from class com.softsynth.jsyn.SynthNote
amplitude, frequency
 
Fields inherited from class com.softsynth.jsyn.SynthCircuit
output
 
Constructor Summary
SineCircuit()
           
 
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

SineCircuit

public SineCircuit()
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