-
public class PassFilter
-
-
Field Summary
Fields Modifier and Type Field Description public static shortlastHighDatapublic static shortlastHighDataFilteredpublic static shortlastLowDatapublic static shortlastLowDataFiltered
-
Method Summary
Modifier and Type Method Description static synchronized voidapplyHighPassFilter(Array<short> audio, double cutoffFreq, double sampleRate, int offset, int length)static voidapplyLowPassFilter(Array<short> audio, double cutoffFrequency, double sampleRate, int offset, int length)static booleancheckFilterable(Array<short> audio, int offset, int length)-
-
Method Detail
-
applyHighPassFilter
static synchronized void applyHighPassFilter(Array<short> audio, double cutoffFreq, double sampleRate, int offset, int length)
-
applyLowPassFilter
static void applyLowPassFilter(Array<short> audio, double cutoffFrequency, double sampleRate, int offset, int length)
-
checkFilterable
static boolean checkFilterable(Array<short> audio, int offset, int length)
-
-
-
-