com.softsynth.jsyn
Class ImpulseOscillator
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.ImpulseOscillator
public class ImpulseOscillator
- extends SynthOscillator
ImpulseOscillator unit.
This unit is a simple impulse generator. The output is either zero or the
Amplitude value. The width of the impulse is one sample. This is useful
for pinging filters.
- Version:
- JSyn Version 005
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
- See Also:
SawtoothOscillator
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 |
ImpulseOscillator
public ImpulseOscillator(SynthContext synthContext,
int calculationRate)
throws SynthException
- Throws:
SynthException
ImpulseOscillator
public ImpulseOscillator(SynthContext synthContext)
throws SynthException
- Create a ImpulseOscillator that runs at Synth.RATE_AUDIO.
- Throws:
SynthException
- If out of memory.
ImpulseOscillator
public ImpulseOscillator()
throws SynthException
- Throws:
SynthException