public class EQFilter extends AudioProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
EQFilter.EQType
An enumerator for various audio filters.
|
static class |
EQFilter.EQVars
A class that represents the bi-quad coefficients for a filter.
|
| Constructor and Description |
|---|
EQFilter(AudioStream as,
EQFilter.EQType type,
double f)
Chainable constructor for stream processing.
|
EQFilter(EQFilter.EQType type,
double f)
Default constructor for ad-hoc processing.
|
| Modifier and Type | Method and Description |
|---|---|
SampleChunk |
process(SampleChunk sample)
Function that takes a sample chunk and processes the chunk.
|
getLength, getUnderlyingStream, nextSampleChunk, process, processingComplete, reset, setUnderlyingStreamiterator, seekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic EQFilter(EQFilter.EQType type, double f)
type - The type of EQf - The frequency of the filterpublic EQFilter(AudioStream as, EQFilter.EQType type, double f)
as - The audio stream to processtype - The type of EQf - The frequency of the filterpublic SampleChunk process(SampleChunk sample) throws Exception
process in class AudioProcessorsample - The sample chunk to process.Exception - If the processing could not take placeAudioProcessor.process(org.openimaj.audio.SampleChunk)