com.jsyn.instruments
Class NoiseHit

java.lang.Object
  extended by com.jsyn.unitgen.UnitGenerator
      extended by com.jsyn.unitgen.Circuit
          extended by com.jsyn.instruments.NoiseHit
All Implemented Interfaces:
UnitSource, UnitVoice

public class NoiseHit
extends Circuit
implements UnitVoice

Cheap synthetic cymbal sound.


Field Summary
 
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, TRUE
 
Constructor Summary
NoiseHit()
           
 
Method Summary
 UnitOutputPort getOutput()
           
 void noteOff(TimeStamp timeStamp)
           
 void noteOn(TimeStamp timeStamp, double freq, double ampl)
           
 void setupProgram()
           
 
Methods inherited from class com.jsyn.unitgen.Circuit
add, flattenOutputs, generate, setSynthesisEngine
 
Methods inherited from class com.jsyn.unitgen.UnitGenerator
addPort, convertHalfLifeToMultiplier, generate, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, isEnabled, pullData, setCircuit, setFrameRate, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoiseHit

public NoiseHit()
Method Detail

setupProgram

public void setupProgram()

noteOff

public void noteOff(TimeStamp timeStamp)
Specified by:
noteOff in interface UnitVoice

noteOn

public void noteOn(TimeStamp timeStamp,
                   double freq,
                   double ampl)
Specified by:
noteOn in interface UnitVoice

getOutput

public UnitOutputPort getOutput()
Specified by:
getOutput in interface UnitSource