[Clam-devel] MFCC Loops

Pau Arumí pau.arumi at barcelonamedia.org
Mon Sep 7 10:24:34 PDT 2009


Hi Paul,
I didn't understand exactly where the problem is.
(However I think the most qualified to answer you is David Garcia who is
currently on holidays. He'll be back in a week or two.)

Cheers
P

El dl 07 de 09 de 2009 a les 16:54 +0200, en/na paul simmons va
escriure:
> Hi,
> I am trying to do MFCC extraction. As far as I get; the steps are
> 
> Read an "Audio"
> Run "SpectralAnalysis" on output of "Audio"
> Run "MelFilterBank" on output of "SpectralAnalysis"
> Run "CepstralTransform" on output of "MelFilterBank"
> 
> right?
> 
> If so; I cannot understand where to do looping, for example if I do:
> 
>     while(mReader.Do(audio))
>     {
>         spectralAnalysis.Do(audio, spectrum);
>         melFilterBank.Do(spectrum, melSpectrum);
>         cepstralTransform.Do(melSpectrum, melCepstrum);
> 
>         CLAM::XMLStorage::Dump(audio,"Audio",a);
>         CLAM::XMLStorage::Dump(spectrum, "Spectrum",s);
>         CLAM::XMLStorage::Dump(melSpectrum, "MelSpectrum",m);
>         CLAM::XMLStorage::Dump(melCepstrum, "MelCepstrum",n);
>     }
> 
> it applies mfcc to each read audio patch (mentioned by Audio.SetSize)
> and got one MFCC feature vector. But I cannot understand how
> WindowSize or HopSize is applied in this fashion. Because since Audio
> is read in non-overlapping windows with mReader.Do(), overlapped
> windows are run only for current audio part
> 
> I think there must be another , more correct way to get overlapping
> windows continuesly in whole audio, but cannot find it. Any ideas?
> 
> Thanks...
> 
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel





More information about the clam-devel mailing list