uk.org.toot.audio.filter
Class FIRFilter
java.lang.Object
uk.org.toot.audio.filter.AbstractFilter
uk.org.toot.audio.filter.FIRFilter
- All Implemented Interfaces:
- Filter
public class FIRFilter
- extends AbstractFilter
Method Summary |
void |
filter(float[] signal,
float[] mixBuffer,
int len,
int chan,
boolean doMix)
Filter the source signal to the destination signal. |
float |
filterSample(float sample,
uk.org.toot.audio.filter.FIRFilter.FIRState s)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRFilter
public FIRFilter(FilterSpecification spec)
filterSample
public float filterSample(float sample,
uk.org.toot.audio.filter.FIRFilter.FIRState s)
filter
public void filter(float[] signal,
float[] mixBuffer,
int len,
int chan,
boolean doMix)
- Description copied from interface:
Filter
- Filter the source signal to the destination signal.
If the source and dest are the same a simple in-place filter should result.
If the source and destination are different the Filter should add (or
subtract) a portion of the source to the destination. This portion
should represent the contribution to an equaliser comprising multiple
such filters.
- Specified by:
filter
in interface Filter
- Specified by:
filter
in class AbstractFilter
chan
- permits the Filter to use different States for different
logical filter channels.
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.