|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.engine.Out
jass.engine.InOut
jass.generators.FilterContainer
public class FilterContainer
Filter UG. One input only. Processes input through filter. Output is mix of filtered and dry signal.
| Field Summary | |
|---|---|
protected float |
dryLevel
Mix. |
| Fields inherited from class jass.engine.InOut |
|---|
sourceContainer, sourcePassivity, srcBuffers |
| Fields inherited from class jass.engine.Out |
|---|
buf, bufferSize, bufOld, lock |
| Constructor Summary | |
|---|---|
FilterContainer(float srate,
int bufferSize,
Filter f)
Create container around Filter. |
|
| 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. |
float |
getDrylevel()
Get mix level. |
Filter |
getFilter()
Return Filter object contained. |
void |
setDryLevel(float level)
Mix level (default = 0) |
void |
setFilter(Filter f)
SetFilter contained. |
| 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 dryLevel
| Constructor Detail |
|---|
public FilterContainer(float srate,
int bufferSize,
Filter f)
srate - sampling rate in Hertz.bufferSize - Buffer size used for real-time rendering.f - Filter contained.| Method Detail |
|---|
public java.lang.Object addSource(Source s)
throws SinkIsFullException
addSource in interface SinkaddSource in class InOuts - Source to add.
SinkIsFullExceptionpublic void setDryLevel(float level)
level - mix level. 0 is only filtered, 1 is only dry signalpublic float getDrylevel()
public Filter getFilter()
public void setFilter(Filter f)
f - Filter contained.protected void computeBuffer()
computeBuffer in class Out
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||