com.jsyn.unitgen
Class SquareOscillatorBL

java.lang.Object
  extended by com.jsyn.unitgen.UnitGenerator
      extended by com.jsyn.unitgen.UnitOscillator
          extended by com.jsyn.unitgen.SawtoothOscillatorBL
              extended by com.jsyn.unitgen.SquareOscillatorBL
All Implemented Interfaces:
UnitSource, UnitVoice

public class SquareOscillatorBL
extends SawtoothOscillatorBL

Band-limited square wave oscillator. This requires more CPU than a SquareOscillator but is less noisy at high frequencies.


Field Summary
 
Fields inherited from class com.jsyn.unitgen.UnitOscillator
amplitude, DEFAULT_AMPLITUDE, DEFAULT_FREQUENCY, frequency, output, phase
 
Fields inherited from class com.jsyn.unitgen.UnitGenerator
FALSE, TRUE
 
Constructor Summary
SquareOscillatorBL()
           
 
Method Summary
 
Methods inherited from class com.jsyn.unitgen.SawtoothOscillatorBL
generate
 
Methods inherited from class com.jsyn.unitgen.UnitOscillator
convertFrequencyToPhaseIncrement, getOutput, noteOff, noteOff, noteOn, noteOn
 
Methods inherited from class com.jsyn.unitgen.UnitGenerator
addPort, convertHalfLifeToMultiplier, flattenOutputs, generate, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, isEnabled, pullData, setCircuit, setFrameRate, setSynthesisEngine, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareOscillatorBL

public SquareOscillatorBL()