Mercurial > hg > libxtract
diff examples/puredata/xtract~.c @ 11:81eb5810a301
Added spectral centroid
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Sun, 08 Oct 2006 15:31:40 +0000 |
parents | 90b3a3a25d99 |
children | 1aec087ddfca |
line wrap: on
line diff
--- a/examples/puredata/xtract~.c Sun Oct 08 15:05:02 2006 +0000 +++ b/examples/puredata/xtract~.c Sun Oct 08 15:31:40 2006 +0000 @@ -101,6 +101,7 @@ else if(tmp == gensym("average_deviation")) x->feature = AVERAGE_DEVIATION; else if(tmp == gensym("skewness")) x->feature = SKEWNESS; else if(tmp == gensym("kurtosis")) x->feature = KURTOSIS; + else if(tmp == gensym("centroid")) x->feature = CENTROID; else if(tmp == gensym("irregularity_k")) x->feature = IRREGULARITY_K; else if(tmp == gensym("irregularity_j")) x->feature = IRREGULARITY_J; else if(tmp == gensym("tristimulus_1")) x->feature = TRISTIMULUS_1;