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 <[email protected]> > Hi Fernando! > > 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 => ? > > /Stefan > > > On Mon, Apr 29, 2013 at 12:45 PM, fernando alonso <[email protected]>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 extraction >> >> adc => 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. >> >> >> >> >> >> >> -- >> Fernando Alonso Martín >> [email protected] >> http://roboticnaturalinteraction.com<http://www.roboticNaturalInteraction.com/famartin.html> >> >> >> _______________________________________________ >> chuck-users mailing list >> [email protected] >> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users >> >> > > > -- > Release me, insect, or I will destroy the Cosmos! > > _______________________________________________ > chuck-users mailing list > [email protected] > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > -- Fernando Alonso Martín [email protected] http://roboticnaturalinteraction.com<http://www.roboticNaturalInteraction.com/famartin.html>
AudioFeatureExtractor.ck
Description: Binary data
_______________________________________________ chuck-users mailing list [email protected] https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
