|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable com.softsynth.jsyn.SynthObject com.softsynth.jsyn.SynthSound com.softsynth.jsyn.SynthCircuit com.softsynth.jsyn.circuits.MultiTapDelay
public class MultiTapDelay
Field Summary | |
---|---|
SynthInput |
feedback
Determines the amount of low pass filtered output that is fed back into the input. |
SynthInput |
input
|
SynthOutput |
output
|
Constructor Summary | |
---|---|
MultiTapDelay(double[] tapDelays,
double[] tapGains)
Multitap delays are constructed by passing an array of delay times and gains. |
Method Summary |
---|
Methods inherited from class com.softsynth.jsyn.SynthCircuit |
---|
add, compile, delete, getPeer, loadByName |
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 com.softsynth.jsyn.SynthObject |
---|
deleteAll, enableDeletionByGarbageCollector, enableTracking, getSynthContext, isTrackingEnabled, toString, track |
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 |
Field Detail |
---|
public SynthInput input
public SynthInput feedback
public SynthOutput output
Constructor Detail |
---|
public MultiTapDelay(double[] tapDelays, double[] tapGains) throws SynthException
double[] delays = { 0.457, 0.719, 0.901, 1.0, 1.17 }; double[] gains = {0.1, -0.3, -0.2, 0.1, 0.3}; myReverb = new MultiTapDelay( delays, gains );When sound reflects off of a wall, the waveforms are inverted. So you can think of taps with negative gains as signals that have reflected an odd number of times.
In order to prevent a DC (zero frequency) offset from building up in the circuit, the gains should add up to zero.
In order to prevent clipping, the absolute value of the gains should add up to a number less than 1.0.
SynthException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |