|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauditory.sampled.FIRFilter
public class FIRFilter
An encapsulation of a Finite Impulse Response (FIR) filter
Constructor Summary | |
---|---|
FIRFilter(double[] weights)
Explicit Value Constructor |
Method Summary | |
---|---|
int |
getLength()
Get the number of weights (i.e., coefficients) in this FIR filter |
double |
getWeight(int index)
Get a particular weight (i.e., coefficient) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FIRFilter(double[] weights)
weights
- The weights to applyMethod Detail |
---|
public int getLength()
public double getWeight(int index)
index
- The index of the weight
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |