Interface ARSV1FilterType
- All Known Implementing Classes:
ARSV1Filter, ARSV1Filter4x
public interface ARSV1FilterType
The type of state variable filters.
-
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublecutoff()doubledoublevoidprocessOneFrame(double input) Process a single frame of input.doubleq()voidreset()Reset all internal state variables, leavingcutoffandquntouched.voidsetCutoff(double newCutoff) Specify a new frequency cutoff value.voidsetQ(double newQ) Specify a new Q value.
-
Method Details
-
setCutoff
void setCutoff(double newCutoff) Specify a new frequency cutoff value.
- Parameters:
newCutoff- The cutoff
-
setQ
void setQ(double newQ) Specify a new Q value.
- Parameters:
newQ- The Q
-
cutoff
double cutoff()- Returns:
- The current cutoff value
-
q
double q()- Returns:
- The current Q value
-
reset
void reset()Reset all internal state variables, leavingcutoffandquntouched. -
lowPassOutput
double lowPassOutput()- Returns:
- The low pass output of the most recent filter evaluation
-
highPassOutput
double highPassOutput()- Returns:
- The high pass output of the most recent filter evaluation
-
bandPassOutput
double bandPassOutput()- Returns:
- The band pass output of the most recent filter evaluation
-
bandRejectOutput
double bandRejectOutput()- Returns:
- The band reject output of the most recent filter evaluation
-
processOneFrame
void processOneFrame(double input) Process a single frame of input.- Parameters:
input- The input
-