marf.Preprocessing.FFTFilter
Class BandpassFilter

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

public class BandpassFilter
extends FFTFilter

Bandpass Filter Implementation based on the FFTFilter.

$Id: BandpassFilter.java,v 1.16 2005/06/05 00:13:52 mokhov Exp $

Since:
0.2.0
Version:
$Revision: 1.16 $
Author:
Serguei Mokhov
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
BandpassFilter(marf.Preprocessing.Preprocessing poPreprocessing)
          Implements preprocessing pipeline.
BandpassFilter(marf.Storage.Sample poSample)
          BandpassFilter Constructor.
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Stub implementation of cropAudio().
 void genereateResponseCoefficients()
          Creates band-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

BandpassFilter

public BandpassFilter(marf.Preprocessing.Preprocessing poPreprocessing)
               throws PreprocessingException
Implements preprocessing pipeline.

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

BandpassFilter

public BandpassFilter(marf.Storage.Sample poSample)
               throws PreprocessingException
BandpassFilter 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 band-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