18 lines
483 B
Java
18 lines
483 B
Java
// interfaces/filters/BandPass.java
|
|
// (c)2017 MindView LLC: see Copyright.txt
|
|
// We make no guarantees that this code is fit for any purpose.
|
|
// Visit http://OnJava8.com for more book information.
|
|
package interfaces.filters;
|
|
|
|
public class BandPass extends Filter {
|
|
double lowCutoff, highCutoff;
|
|
public BandPass(double lowCut, double highCut) {
|
|
lowCutoff = lowCut;
|
|
highCutoff = highCut;
|
|
}
|
|
@Override
|
|
public Waveform process(Waveform input) {
|
|
return input;
|
|
}
|
|
}
|