marf.Preprocessing.FFTFilter
Class HighPassFilter

java.lang.Object
  extended bymarf.Storage.StorageManager
      extended bymarf.Preprocessing.Preprocessing
          extended bymarf.Preprocessing.FFTFilter.FFTFilter
              extended bymarf.Preprocessing.FFTFilter.HighPassFilter
All Implemented Interfaces:
java.lang.Cloneable, IFilter, IPreprocessing, IStorageManager, java.io.Serializable

public class HighPassFilter
extends FFTFilter

HighPassFilter class implements high-pass filtering the FFT Filter.

$Id: HighPassFilter.java,v 1.15 2005/12/31 23:17:37 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.15 $
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
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Preprocessing.IFilter
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
HighPassFilter()
          Default constructor for reflective creation of Preprocessing clones.
HighPassFilter(IPreprocessing poPreprocessing)
          Preprocessing pipeline constructor.
HighPassFilter(Sample poSample)
          HighPassFilter Constructor.
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Stub implementation of cropAudio().
 void genereateResponseCoefficients()
          Creates high-pass frequency response coefficients and sets applies them to the frequency response vector.
static java.lang.String getMARFSourceCodeRevision()
          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, clone, compress, compress, getSample, normalize, normalize, normalize, setSample
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, 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

HighPassFilter

public HighPassFilter()
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

HighPassFilter

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

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

HighPassFilter

public HighPassFilter(Sample poSample)
               throws PreprocessingException
HighPassFilter Constructor.

Parameters:
poSample - incoming sample
Throws:
PreprocessingException
Method Detail

removeNoise

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

Specified by:
removeNoise in interface IPreprocessing
Overrides:
removeNoise in class Preprocessing
Returns:
false
Throws:
PreprocessingException - never thrown

removeSilence

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

Specified by:
removeSilence in interface IPreprocessing
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().

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

genereateResponseCoefficients

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

Specified by:
genereateResponseCoefficients in class FFTFilter
Since:
0.3.0

getMARFSourceCodeRevision

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

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo