com.softsynth.jsyn
Class PulseOscillatorBL
java.lang.Object
java.util.Observable
com.softsynth.jsyn.SynthObject
com.softsynth.jsyn.SynthSound
com.softsynth.jsyn.SynthUnit
com.softsynth.jsyn.SynthOscillator
com.softsynth.jsyn.PulseOscillatorBL
public class PulseOscillatorBL
- extends SynthOscillator
PulseOscillatorBL unit that is bandlimited to prevent aliasing artifacts.
This will sound better then PulseOscillator, particularly at higher frequencies.
It will also take more CPU power to calculate
- Version:
- JSyn Version 014
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
- See Also:
Synth
,
SynthChannelData
Field Summary |
SynthInput |
width
Level for comparator used to generate pulse wave. |
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 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 |
width
public SynthInput width
- Level for comparator used to generate pulse wave. 0 gives a 50% duty cycle
pulse wave. Positive values cause the positive portion of the pulse to
be wider than the negative. Negative values cause the negative portion
of the pulse to be wider than the positive. The range is -1.0 to +1.0,
defaults to 0.0.
PulseOscillatorBL
public PulseOscillatorBL(SynthContext synthContext,
int calculationRate)
throws SynthException
- Throws:
SynthException
PulseOscillatorBL
public PulseOscillatorBL(SynthContext synthContext)
throws SynthException
- Create a PulseOscillatorBL that runs at Synth.RATE_AUDIO.
- Throws:
SynthException
- If out of memory.
PulseOscillatorBL
public PulseOscillatorBL()
throws SynthException
- Throws:
SynthException