com.softsynth.jmsl.jsyn.circuits
Class SynthNoteWithHoldPort

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 com.softsynth.jmsl.jsyn.circuits.SynthNoteWithHoldPort

public class SynthNoteWithHoldPort
extends com.softsynth.jsyn.SynthNote

This SynthNote has the "hold" input inversely mapped to the frequency of a squarewvae that modulates the frequency of a carrier osc. So a hold time of n seconds will result in a single cycle of the modulator being hear over the course of the sustain since its cps will be set to 1/n Wire is available from: http://www.softsynth.com/wire/


Field Summary
 com.softsynth.jsyn.SynthInput freqModDespth
           
 com.softsynth.jsyn.SynthInput hold
           
 
Fields inherited from class com.softsynth.jsyn.SynthNote
amplitude, frequency
 
Fields inherited from class com.softsynth.jsyn.SynthCircuit
output
 
Constructor Summary
SynthNoteWithHoldPort()
           
SynthNoteWithHoldPort(com.softsynth.jsyn.SynthContext synthContext)
           
 
Method Summary
 void setStage(int time, int stage)
           
 
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
 

Field Detail

hold

public com.softsynth.jsyn.SynthInput hold

freqModDespth

public com.softsynth.jsyn.SynthInput freqModDespth
Constructor Detail

SynthNoteWithHoldPort

public SynthNoteWithHoldPort()

SynthNoteWithHoldPort

public SynthNoteWithHoldPort(com.softsynth.jsyn.SynthContext synthContext)
Method Detail

setStage

public void setStage(int time,
                     int stage)
Overrides:
setStage in class com.softsynth.jsyn.SynthSound