Class BandPassFilter
java.lang.Object
com.blackrook.gloop.openal.OALObject
com.blackrook.gloop.openal.OALFilter
com.blackrook.gloop.openal.filter.BandPassFilter
Band-pass filter object for band-pass filtering.
- Author:
- Matthew Tropiano
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OALObject
clearError, destroy, equals, equals, errorCheck, getName, hashCode, requestContext, toString
-
Field Details
-
gain
protected float gainBand-pass gain. -
gainLF
protected float gainLFLow-frequency band-pass gain. -
gainHF
protected float gainHFHigh-frequency band-pass gain.
-
-
Constructor Details
-
BandPassFilter
-
-
Method Details
-
getGain
public float getGain()- Returns:
- this filter's gain.
-
setGain
public void setGain(float gain) Sets this filter's gain.- Parameters:
gain- the gain value (0.0 to 1.0).
-
getLFGain
public float getLFGain()- Returns:
- this filter's low-frequency gain.
-
setLFGain
public void setLFGain(float gain) Sets this filter's low-frequency gain.- Parameters:
gain- the gain value (0.0 to 1.0).
-
getHFGain
public float getHFGain()- Returns:
- this filter's high-frequency gain.
-
setHFGain
public void setHFGain(float gain) Sets this filter's high-frequency gain.- Parameters:
gain- the gain value (0.0 to 1.0).
-