|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--marf.Storage.StorageManager | +--marf.Preprocessing.Preprocessing | +--marf.Preprocessing.Dummy.Dummy
Implements dummy preprocessing module for testing purposes that does only normalization.
$Id: Dummy.java,v 1.18 2005/06/04 23:52:52 mokhov Exp $
Field Summary |
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 | |
Dummy(marf.Preprocessing.Preprocessing poPreprocessing)
Implementation of the preprocessing pipeline. |
|
Dummy(marf.Storage.Sample poSample)
Dummy Constructor. |
Method Summary | |
boolean |
cropAudio(double pdStartingFrequency,
double pdEndFrequency)
Dummy implementation of cropAudio() for testing. |
static java.lang.String |
getRevision()
Returns source code revision information. |
boolean |
preprocess()
Dummy implementation of preprocess() for testing. |
boolean |
removeNoise()
Dummy implementation of removeNoise() for testing. |
boolean |
removeSilence()
Dummy implementation of removeSilence() for testing. |
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 |
public Dummy(marf.Preprocessing.Preprocessing poPreprocessing) throws PreprocessingException
poPreprocessing
- successor preprocessing module
PreprocessingException
public Dummy(marf.Storage.Sample poSample) throws PreprocessingException
poSample
- incomping sample
PreprocessingException
Method Detail |
public boolean preprocess() throws PreprocessingException
preprocess()
for testing.
preprocess
in class Preprocessing
true
PreprocessingException
- never thrownPreprocessing.removeNoise()
,
Preprocessing.removeSilence()
public final boolean removeNoise() throws PreprocessingException
removeNoise()
for testing.
removeNoise
in class Preprocessing
false
PreprocessingException
- never thrownpublic final boolean removeSilence() throws PreprocessingException
removeSilence()
for testing.
removeSilence
in class Preprocessing
false
PreprocessingException
- never thrownpublic final boolean cropAudio(double pdStartingFrequency, double pdEndFrequency) throws PreprocessingException
cropAudio()
for testing.
cropAudio
in class Preprocessing
pdStartingFrequency
- unusedpdEndFrequency
- unused
false
PreprocessingException
- never thrownpublic static java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |