|
|||||||||
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.engine.FilterUG jass.generators.OnePoleLowPass
public class OnePoleLowPass
OnePoleLowPass filter Y = H(z) X. H(z) = 1/(1 - g/z) y(t) = x(t) + g*y(t-1)
Field Summary | |
---|---|
protected float |
g
|
protected float |
yt_1
|
Fields inherited from class jass.engine.InOut |
---|
sourceContainer, sourcePassivity, srcBuffers |
Fields inherited from class jass.engine.Out |
---|
buf, bufferSize, bufOld, lock |
Constructor Summary | |
---|---|
OnePoleLowPass(int bufferSize)
Create. |
Method Summary | |
---|---|
protected void |
computeBuffer()
Compute the next buffer and store in member float[] buf. |
float |
getG()
Get filter parameter |
protected void |
reset()
Reset state. |
void |
setG(float g)
Set filter parameter |
Methods inherited from class jass.engine.FilterUG |
---|
addSource |
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 yt_1
protected float g
Constructor Detail |
---|
public OnePoleLowPass(int bufferSize)
bufferSize
- Buffer size used for real-time rendering.Method Detail |
---|
protected void reset()
public void setG(float g)
g
- filter param gpublic float getG()
protected void computeBuffer()
computeBuffer
in class Out
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |