|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jass.engine.Out jass.engine.InOut jass.patches.AllPass
public class AllPass
Allpass with delay M Used in Moorers reverb. See e.g.
Field Summary | |
---|---|
protected float |
a
|
protected float |
del
|
protected Delay |
delay1
|
protected Delay |
delay2
|
protected Mixer |
mixer
|
protected float |
srate
|
Fields inherited from class jass.engine.InOut |
---|
sourceContainer, sourcePassivity, srcBuffers |
Fields inherited from class jass.engine.Out |
---|
buf, bufferSize, bufOld, lock |
Constructor Summary | |
---|---|
AllPass(int bufferSize)
Create. |
|
AllPass(int bufferSize,
float srate)
Create. |
Method Summary | |
---|---|
java.lang.Object |
addSource(Source s)
Add source to Sink. |
protected void |
computeBuffer()
Compute the next buffer and store in member float[] buf. |
protected void |
init()
Init and allocate. |
void |
setA(float a)
Set filter parameter a. |
void |
setM(float del)
Set delay del. |
Methods inherited from class jass.engine.InOut |
---|
addSource, getBuffer, getSources, removeSource, resetTime |
Methods inherited from class jass.engine.Out |
---|
clearBuffer, copyToOld, getBuffer, getBufferSize, getTime, peekAtBuffer, setBufferSize, setTime, setTimeAndNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float srate
protected float del
protected float a
protected Mixer mixer
protected Delay delay1
protected Delay delay2
Constructor Detail |
---|
public AllPass(int bufferSize)
bufferSize
- Buffer size used for real-time rendering.public AllPass(int bufferSize, float srate)
bufferSize
- Buffer size used for real-time rendering.srate
- sampling rate in HzMethod Detail |
---|
protected void init()
public java.lang.Object addSource(Source s) throws SinkIsFullException
addSource
in interface Sink
addSource
in class InOut
s
- Source to add.
SinkIsFullException
public void setM(float del) throws java.lang.IllegalArgumentException
del
- delay in seconds
java.lang.IllegalArgumentException
public void setA(float a)
a
- allpas parameterprotected void computeBuffer()
computeBuffer
in class Out
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |