Hi,
I am a baginner with MARF.
I want normalize, remove noise and remove Silence in a wav file.
I have write this code:
Preprocessing oPreprocessing = new LowPassFilter(sample);
oPreprocessing.normalize();
oPreprocessing.removeNoise();
oPreprocessing.removeSilence();
//then I saved file
double[] data = oPreprocessing.getSample().getSampleArray();
File proprocessedFile;
proprocessedFile = new File("C:/marf/test/result.wav");
SampleLoader sw;
sw = new WAVLoader();
sw.writeAudioData(data, data.length);
sw.saveSample(proprocessedFile);
But , at the end, the spectogram of "result.wav" remains unchanged.
Nothing happens...
Why? My code is not right?
Thanks
Rino
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to:
http://p.sf.net/sfu/opensolaris-get_______________________________________________
marf-devel mailing list
marf-devel@...
https://lists.sourceforge.net/lists/listinfo/marf-devel