I don't understand you Stefan. In fact, the Wekinator's creator, that is the father of UAna implements similar in her source code. I attach it.2013/4/29 Stefan Blixt <stefan.blixt@gmail.com>
Hi Fernando!/Stefan
All the usages of =^ (disconnect operator) at the top of your code don't make sense. Maybe you want to replace all of those with => ?
On Mon, Apr 29, 2013 at 12:45 PM, fernando alonso <lualobus@gmail.com> wrote:
_______________________________________________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
--
Release me, insect, or I will destroy the Cosmos!
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
--
Fernando Alonso Martín
Lualobus@gmail.com
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users