com.softsynth.jsyn.circuits
Class RingModBell
java.lang.Object
java.util.Observable
com.softsynth.jsyn.SynthObject
com.softsynth.jsyn.SynthSound
com.softsynth.jsyn.SynthCircuit
com.softsynth.jsyn.SynthNote
com.softsynth.jsyn.circuits.RingModBell
public class RingModBell
- extends SynthNote
Bell generated by ring modulating two triangle waves.
Ring modulation simply involves multiplying two signals together.
Output = Osc2.output * ( (Osc1.output * ExpLag.output) + ExpLag.output);
Osc1.Frequency = Osc2.frequency * modIndex;
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
Method Summary |
void |
setStage(int time,
int stage)
Set stage of multi-stage sound. |
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 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 |
osc1
public TriangleOscillator osc1
osc2
public TriangleOscillator osc2
expLag
public ExponentialLag expLag
freqScalar
public MultiplyUnit freqScalar
ringMod
public MultiplyUnit ringMod
ampMixer
public AddUnit ampMixer
modIndex
public SynthInput modIndex
halfLife
public SynthVariable halfLife
RingModBell
public RingModBell()
throws SynthException
- Throws:
SynthException
RingModBell
public RingModBell(SynthContext synthContext)
throws SynthException
- Throws:
SynthException
setStage
public void setStage(int time,
int stage)
throws SynthException
- Description copied from class:
SynthSound
- Set stage of multi-stage sound.
Typically noteOn will be stage 0, off will be 1.
- Overrides:
setStage
in class SynthSound
- Throws:
SynthException
- If an error occurs.