Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

marf.Preprocessing.BandpassFilter
Class BandpassFilter  view BandpassFilter download BandpassFilter.java

java.lang.Object
  extended bymarf.Storage.StorageManager
      extended bymarf.Preprocessing.Preprocessing
          extended bymarf.Preprocessing.BandpassFilter.BandpassFilter
All Implemented Interfaces:
marf.Preprocessing.IPreprocessing, marf.Storage.IStorageManager, java.io.Serializable

public class BandpassFilter
extends marf.Preprocessing.Preprocessing

Class BandpassFilter

$Header: /cvsroot/marf/marf/src/marf/Preprocessing/BandpassFilter/BandpassFilter.java,v 1.4 2002/12/07 07:54:47 mokhov Exp $


Field Summary
 
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.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
BandpassFilter(marf.Storage.Sample poSample)
           
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Derivatives implement this method to crop arbitrary part of the audio sample.
 void dump()
          An object must know how dump itself or its data structures to a file.
 boolean preprocess()
          Derivatives must implement this method to do general preprocessing and perhaps calling removeNoise() and removeSilence().
 boolean removeNoise()
          Derivatives should implement this method to remove noise from the sample.
 boolean removeSilence()
          Derivatives should implement this method to remove silence.
 void restore()
          An object must know how restore itself or its data structures from a file.
 
Methods inherited from class marf.Preprocessing.Preprocessing
backSynchronizeObject, getMARFSourceCodeRevision, getSample, normalize, normalize, normalize, setSample
 
Methods inherited from class marf.Storage.StorageManager
dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, 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.Storage.Sample poSample)
Method Detail

preprocess

public boolean preprocess()
                   throws marf.Preprocessing.PreprocessingException
Description copied from interface: marf.Preprocessing.IPreprocessing
Derivatives must implement this method to do general preprocessing and perhaps calling removeNoise() and removeSilence().


removeNoise

public boolean removeNoise()
                    throws marf.Preprocessing.PreprocessingException
Description copied from class: marf.Preprocessing.Preprocessing
Derivatives should implement this method to remove noise from the sample.


removeSilence

public boolean removeSilence()
                      throws marf.Preprocessing.PreprocessingException
Description copied from class: marf.Preprocessing.Preprocessing
Derivatives should implement this method to remove silence.


cropAudio

public boolean cropAudio(double pdStartingFrequency,
                         double pdEndFrequency)
Description copied from class: marf.Preprocessing.Preprocessing
Derivatives implement this method to crop arbitrary part of the audio sample.


dump

public void dump()
          throws java.io.IOException
Description copied from class: marf.Storage.StorageManager
An object must know how dump itself or its data structures to a file. Options are: Object serialization, XML, CSV, HTML, SQL. Internally, the method calls all the dump*() methods based on the current dump mode. If the derivatives use only DUMP_GZIP_BINARY or DUMP_BINARY modes, the need not do anything except implementing backSynchronizeObject(). For the rest of modes they only have to override a corresponding dump*() method.


restore

public void restore()
             throws java.io.IOException
Description copied from class: marf.Storage.StorageManager
An object must know how restore itself or its data structures from a file. Options are: Object serialization, XML, CSV, HTML, SQL. Internally, the method calls all the restore*() methods based on the current dump mode. If the derivatives use only DUMP_GZIP_BINARY or DUMP_BINARY modes, the need not do anything except implementing backSynchronizeObject(). For the rest of modes they only have to override a corresponding restore*() method.