comparison Example VamPy plugins/PyMFCC.py @ 52:d56f48aafb99

Updated some example plugins.
author fazekasgy
date Thu, 08 Oct 2009 08:59:08 +0000
parents 27bab3a16c9a
children 146d14ab15e7
comparison
equal deleted inserted replaced
51:c1e4f706ca9a 52:d56f48aafb99
327 magnitudeSpectrum = abs(complexSpectrum)[0:fftsize/2] 327 magnitudeSpectrum = abs(complexSpectrum)[0:fftsize/2]
328 328
329 # do the frequency warping and MFCC computation 329 # do the frequency warping and MFCC computation
330 melSpectrum = self.warpSpectrum(magnitudeSpectrum) 330 melSpectrum = self.warpSpectrum(magnitudeSpectrum)
331 melCepstrum = self.getMFCCs(melSpectrum,cn=True) 331 melCepstrum = self.getMFCCs(melSpectrum,cn=True)
332 # print melSpectrum,melCepstrum
332 333
333 # returning the values: 334 # returning the values:
334 outputs = FeatureSet() 335 outputs = FeatureSet()
335 336
336 # 1) full initialisation example using a FeatureList 337 # 1) full initialisation example using a FeatureList