marf.Preprocessing.FFTFilter
Class HighFrequencyBoost

java.lang.Object
  extended bymarf.Preprocessing.Preprocessing
      extended bymarf.Preprocessing.FFTFilter.FFTFilter
          extended bymarf.Preprocessing.FFTFilter.HighFrequencyBoost
All Implemented Interfaces:
StorageManager

public class HighFrequencyBoost
extends FFTFilter

HighFrequencyBoost Class

Implements filtering using high frequency booster on top of the FFT Filter

$Header: /cvsroot/marf/marf/src/marf/Preprocessing/FFTFilter/HighFrequencyBoost.java,v 1.8 2003/02/09 19:02:26 mokhov Exp $


Field Summary
 
Fields inherited from class marf.Preprocessing.FFTFilter.FFTFilter
DEFAULT_FREQUENCY_RESPONSE_SIZE, freqResponse
 
Fields inherited from class marf.Preprocessing.Preprocessing
oSample
 
Fields inherited from interface marf.Storage.StorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_XML
 
Constructor Summary
HighFrequencyBoost(Sample poSample)
          HighFrequencyBoost Constructor
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Stub implementation of cropAudio()
 boolean preprocess()
          Overrides FFTFilter's preprocess with extra normalization after boost.
 boolean removeNoise()
          Stub implementation of removeNoise()
 boolean removeSilence()
          Stub implementation of removeSilence()
 
Methods inherited from class marf.Preprocessing.FFTFilter.FFTFilter
filter, setFrequencyResponse
 
Methods inherited from class marf.Preprocessing.Preprocessing
dump, getSample, normalize, restore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighFrequencyBoost

public HighFrequencyBoost(Sample poSample)
HighFrequencyBoost Constructor

Parameters:
poSample - incoming sample
Method Detail

preprocess

public final boolean preprocess()
                         throws PreprocessingException
Overrides FFTFilter's preprocess with extra normalization after boost.

Overrides:
preprocess in class FFTFilter
Returns:
true if there were changes to the sample
Throws:
PreprocessingException
Since:
0.2.0

removeNoise

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

Overrides:
removeNoise in class Preprocessing
Returns:
false
Throws:
PreprocessingException

removeSilence

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

Overrides:
removeSilence in class Preprocessing
Returns:
false
Throws:
PreprocessingException

cropAudio

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

Overrides:
cropAudio in class Preprocessing
Parameters:
pdStartingFrequency - double Fequency to start to crop from
pdEndFrequency - double Frequency to crop the sample to
Returns:
false
Throws:
PreprocessingException