Hi users,I am writting a program to extract audio features but the autoCorr, xCorr always give me a 0 value. ZeroX always give me 0.5 value.This is a brief of the source code://Definitions for features extractionadc => FFT fft =^ RMS rms => blackhole;fft =^ RollOff rolloff => blackhole;fft =^ Centroid centroid => blackhole;fft =^ Flux flux => blackhole;fft =^ ZeroX zerox => blackhole;adc => AutoCorr autoCorr => blackhole;fft =^ XCorr xCorr => blackhole;//Feauture extraction
fft.upchuck() @=> UAnaBlob blobFFT;rms.upchuck() @=> UAnaBlob blobRMS;(blobRMS.fval(0) * 100000) => volumenInst;rolloff.upchuck() @=> UAnaBlob blobRollOff;(blobRollOff.fval(0)*srate )/2 => rollOffInst ;centroid.upchuck() @=> UAnaBlob blobCentroid;(blobCentroid.fval(0)*srate)/2=> centroideInst;flux.upchuck() @=> UAnaBlob blobFlux;blobFlux.fval(0) => similitudInst;zerox.upchuck() @=> UAnaBlob blobZeroX;blobZeroX.fval(0) => zeroXInst; ///<-----------xCorr.upchuck() @=> UAnaBlob blobxCorr;blobxCorr.fval(0) => correlacionCruzadaInst; ///<-----------autoCorr.upchuck() @=> UAnaBlob blobAutocorrelacion;blobAutocorrelacion.fval(0) => autocorrelacionInst; ///<-----------Kindy Regards.
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users