marf.Preprocessing.FFTFilter
Class LowPassFilter

java.lang.Object
  |
  +--marf.Storage.StorageManager
        |
        +--marf.Preprocessing.Preprocessing
              |
              +--marf.Preprocessing.FFTFilter.FFTFilter
                    |
                    +--marf.Preprocessing.FFTFilter.LowPassFilter
All Implemented Interfaces:
IStorageManager, java.io.Serializable

public class LowPassFilter
extends FFTFilter

LowPassFilter class implements low pass filtering the FFT Filter.

$Id: LowPassFilter.java,v 1.7 2005/05/21 18:38:40 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.7 $
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
oSample
 
Fields inherited from class marf.Storage.StorageManager
iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, INTERFACE_CODE_REVISION, sastrExtensionsMap
 
Constructor Summary
LowPassFilter(marf.Preprocessing.Preprocessing poPreprocessing)
          Preprocessing pipeline constructor.
LowPassFilter(marf.Storage.Sample poSample)
          LowPassFilter Constructor.
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Stub implementation of cropAudio().
 void genereateResponseCoefficients()
          Creates low-pass frequency response coefficients and sets applies them to the frequency response vector.
static java.lang.String getRevision()
          Returns source code revision information.
 boolean removeNoise()
          Stub implementation of removeNoise().
 boolean removeSilence()
          Stub implementation of removeSilence().
 
Methods inherited from class marf.Preprocessing.FFTFilter.FFTFilter
filter, preprocess, setFrequencyResponse
 
Methods inherited from class marf.Preprocessing.Preprocessing
backSynchronizeObject, getSample, normalize, normalize, normalize
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowPassFilter

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

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

LowPassFilter

public LowPassFilter(marf.Storage.Sample poSample)
              throws PreprocessingException
LowPassFilter Constructor.

Parameters:
poSample - incoming sample
Throws:
PreprocessingException
Method Detail

removeNoise

public final boolean removeNoise()
                          throws PreprocessingException
Stub implementation of removeNoise().

Overrides:
removeNoise in class Preprocessing
Returns:
false
Throws:
PreprocessingException - never thrown

removeSilence

public final boolean removeSilence()
                            throws PreprocessingException
Stub implementation of removeSilence().

Overrides:
removeSilence in class Preprocessing
Returns:
false
Throws:
PreprocessingException - never thrown

cropAudio

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

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

genereateResponseCoefficients

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

Specified by:
genereateResponseCoefficients in class FFTFilter
Since:
0.3.0

getRevision

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

Returns:
revision string
Since:
0.3.0