de.dfki.lt.signalproc.effects
Class FilterEffectBase

java.lang.Object
  extended by de.dfki.lt.signalproc.effects.BaseAudioEffect
      extended by de.dfki.lt.signalproc.effects.FilterEffectBase
All Implemented Interfaces:
AudioEffect
Direct Known Subclasses:
JetPilotEffect

public class FilterEffectBase
extends BaseAudioEffect


Field Summary
static int BANDPASS_FILTER
           
static int BANDREJECT_FILTER
           
static double DEFAULT_CUTOFF1
           
static double DEFAULT_CUTOFF2
           
static int DEFAULT_FILTER
           
static int HIGHPASS_FILTER
           
static int LOWPASS_FILTER
           
static int NULL_FILTER
           
 
Fields inherited from class de.dfki.lt.signalproc.effects.BaseAudioEffect
chEffectParamEnd, chEffectParamStart, chParamEquals, chParamSeparator, fs, NULL_DOUBLE_PARAM, NULL_FLOAT_PARAM, NULL_INT_PARAM, NULL_STRING_PARAM, paramNames, paramVals, strEffectName, strExampleParameters, strHelpText, strLineBreak, strParams
 
Constructor Summary
FilterEffectBase()
           
FilterEffectBase(double cutOffHz1, double cutOffHz2, int samplingRate)
           
FilterEffectBase(double cutOffHz1, double cutOffHz2, int samplingRate, int type)
           
FilterEffectBase(double cutOffHz, int samplingRate)
           
FilterEffectBase(double cutOffHz, int samplingRate, int type)
           
FilterEffectBase(int samplingRate)
           
 
Method Summary
 java.lang.String getHelpText()
           
 java.lang.String getName()
           
 void initialise()
           
 void parseParameters(java.lang.String param)
           
 DoubleDataSource process(DoubleDataSource input)
           
 
Methods inherited from class de.dfki.lt.signalproc.effects.BaseAudioEffect
apply, apply, checkParameters, expectDoubleParameter, expectFloatParameter, expectIntParameter, getExampleParameters, getFullEffectAsString, getFullEffectWithExampleParametersAsString, getParamsAsString, getParamsAsString, isHMMEffect, main, preprocessParams, setExampleParameters, setHMMEffect, setName, setParams, setParamsFromFullName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_FILTER

public static int NULL_FILTER

LOWPASS_FILTER

public static int LOWPASS_FILTER

HIGHPASS_FILTER

public static int HIGHPASS_FILTER

BANDPASS_FILTER

public static int BANDPASS_FILTER

BANDREJECT_FILTER

public static int BANDREJECT_FILTER

DEFAULT_FILTER

public static int DEFAULT_FILTER

DEFAULT_CUTOFF1

public static double DEFAULT_CUTOFF1

DEFAULT_CUTOFF2

public static double DEFAULT_CUTOFF2
Constructor Detail

FilterEffectBase

public FilterEffectBase()

FilterEffectBase

public FilterEffectBase(double cutOffHz,
                        int samplingRate,
                        int type)

FilterEffectBase

public FilterEffectBase(double cutOffHz,
                        int samplingRate)

FilterEffectBase

public FilterEffectBase(double cutOffHz1,
                        double cutOffHz2,
                        int samplingRate,
                        int type)

FilterEffectBase

public FilterEffectBase(double cutOffHz1,
                        double cutOffHz2,
                        int samplingRate)

FilterEffectBase

public FilterEffectBase(int samplingRate)
Method Detail

parseParameters

public void parseParameters(java.lang.String param)
Specified by:
parseParameters in interface AudioEffect
Overrides:
parseParameters in class BaseAudioEffect

initialise

public void initialise()

process

public DoubleDataSource process(DoubleDataSource input)
Specified by:
process in interface AudioEffect
Overrides:
process in class BaseAudioEffect

getHelpText

public java.lang.String getHelpText()
Specified by:
getHelpText in interface AudioEffect
Overrides:
getHelpText in class BaseAudioEffect

getName

public java.lang.String getName()
Specified by:
getName in interface AudioEffect
Overrides:
getName in class BaseAudioEffect