|Modifier and Type||Method and Description|
Returns an AudioInputStream that supplies the filtered audio signal.
public static AudioInputStream getAudioInputStream(AudioInputStream in, FilterPassType filterPassType, int filterOrder, double fcf1, double fcf2)
in- The input AudioInputStream.
filterPassType- The filter pass type (lowpass, highpass, bandpass or bandstop).
filterOrder- The filter order.
fcf1- The filter cutoff frequency in Hz for lowpass / highpass, lower cutoff frequency in Hz for bandpass / bandstop.
fcf2- The upper cutoff frequency in Hz for bandpass / bandstop, ignored for lowpass / highpass.