marf.Preprocessing.FFTFilter
Class LowPassFilter

java.lang.Object
  extended by marf.Storage.StorageManager
      extended by marf.Preprocessing.Preprocessing
          extended by marf.Preprocessing.Filter
              extended by marf.Preprocessing.FFTFilter.FFTFilter
                  extended by marf.Preprocessing.FFTFilter.LowPassFilter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IFilter, IPreprocessing, IStorageManager

public class LowPassFilter
extends FFTFilter

LowPassFilter class implements low pass filtering the FFT Filter.

$Id: LowPassFilter.java,v 1.19 2007/12/18 03:45:56 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.19 $
Author:
Serguei Mokhov, Stephen Sinclair
See Also:
Serialized Form

Field Summary
 
Fields inherited from class marf.Preprocessing.FFTFilter.FFTFilter
adFreqResponse, DEFAULT_FREQUENCY_RESPONSE_SIZE
 
Fields inherited from class marf.Preprocessing.Preprocessing
bRemoveNoise, bRemoveSilence, DEFAULT_SILENCE_THRESHOLD, dSilenceThreshold, oSample
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Preprocessing.IFilter
FILTER_DIMENSIONALITY_1D, FILTER_DIMENSIONALITY_2D, FILTER_DIMENSIONALITY_3D, MARF_INTERFACE_CODE_REVISION
 
Fields inherited from interface marf.Preprocessing.IPreprocessing
MARF_INTERFACE_CODE_REVISION
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS
 
Constructor Summary
LowPassFilter()
          Default constructor for reflective creation of Preprocessing clones.
LowPassFilter(IPreprocessing poPreprocessing)
          Preprocessing pipeline constructor.
LowPassFilter(Sample poSample)
          LowPassFilter Constructor.
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Stub implementation of cropAudio().
 void generateResponseCoefficients()
          Creates low-pass frequency response coefficients and sets applies them to the frequency response vector.
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.Preprocessing.FFTFilter.FFTFilter
filter, filter, filter, preprocess, setFrequencyResponse
 
Methods inherited from class marf.Preprocessing.Preprocessing
backSynchronizeObject, clone, compress, compress, extractParameters, getSample, normalize, normalize, normalize, removeNoise, removeSilence, removeSilence, setSample
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, getObjectToSerialize, hashCode, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LowPassFilter

public LowPassFilter()
Default constructor for reflective creation of Preprocessing clones. Typically should not be used unless really necessary for the frameworked modules.

Since:
0.3.0.5

LowPassFilter

public LowPassFilter(IPreprocessing poPreprocessing)
              throws PreprocessingException
Preprocessing pipeline constructor.

Parameters:
poPreprocessing - follow up preprocessing module
Throws:
PreprocessingException
Since:
0.3.0.3

LowPassFilter

public LowPassFilter(Sample poSample)
              throws PreprocessingException
LowPassFilter Constructor.

Parameters:
poSample - incoming sample
Throws:
PreprocessingException
Method Detail

cropAudio

public final boolean cropAudio(double pdStartingFrequency,
                               double pdEndFrequency)
                        throws PreprocessingException
Stub implementation of cropAudio().

Specified by:
cropAudio in interface IPreprocessing
Overrides:
cropAudio in class Preprocessing
Parameters:
pdStartingFrequency - unused
pdEndFrequency - unused
Returns:
false
Throws:
PreprocessingException - never thrown

generateResponseCoefficients

public void generateResponseCoefficients()
Creates low-pass frequency response coefficients and sets applies them to the frequency response vector.

Specified by:
generateResponseCoefficients in class FFTFilter
Since:
0.3.0.2

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo