marf.Preprocessing.Dummy
Class Dummy

java.lang.Object
  |
  +--marf.Preprocessing.Preprocessing
        |
        +--marf.Preprocessing.Dummy.Dummy
All Implemented Interfaces:
StorageManager

public class Dummy
extends Preprocessing

Class Dummy

Implements dummy preprocessing module for testing purposes

$Header: /cvsroot/marf/marf/src/marf/Preprocessing/Dummy/Dummy.java,v 1.9 2003/01/26 06:10:47 mokhov Exp $


Fields inherited from class marf.Preprocessing.Preprocessing
oSample
 
Constructor Summary
Dummy(Sample poSample)
          Dummy Constructor
 
Method Summary
 boolean cropAudio(double pdStartingFrequency, double pdEndFrequency)
          Dummy implementation of cropAudio() for testing.
 void dump()
          Dummy implementation of dump() for testing.
 boolean preprocess()
          Dummy implementation of preprocess() for testing.
 boolean removeNoise()
          Dummy implementation of removeNoise() for testing.
 boolean removeSilence()
          Dummy implementation of removeSilence() for testing.
 void restore()
          Dummy implementation of restore() for testing.
 
Methods inherited from class marf.Preprocessing.Preprocessing
getSample, normalize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dummy

public Dummy(Sample poSample)
Dummy Constructor
Parameters:
poSample - incomping sample
Method Detail

preprocess

public final boolean preprocess()
                         throws PreprocessingException
Dummy implementation of preprocess() for testing.
Overrides:
preprocess in class Preprocessing
Returns:
true

removeNoise

public final boolean removeNoise()
                          throws PreprocessingException
Dummy implementation of removeNoise() for testing.
Overrides:
removeNoise in class Preprocessing
Returns:
false
Throws:
PreprocessingException -  

removeSilence

public final boolean removeSilence()
                            throws PreprocessingException
Dummy implementation of removeSilence() for testing.
Overrides:
removeSilence in class Preprocessing
Returns:
false
Throws:
PreprocessingException -  

cropAudio

public final boolean cropAudio(double pdStartingFrequency,
                               double pdEndFrequency)
                        throws PreprocessingException
Dummy implementation of cropAudio() for testing.
Overrides:
cropAudio in class Preprocessing
Returns:
false
Throws:
PreprocessingException -  

dump

public final void dump()
                throws java.io.IOException
Dummy implementation of dump() for testing.
Overrides:
dump in class Preprocessing
Throws:
java.io.IOException -  

restore

public final void restore()
                   throws java.io.IOException
Dummy implementation of restore() for testing.
Overrides:
restore in class Preprocessing
Throws:
java.io.IOException -