aboutsummaryrefslogtreecommitdiff
path: root/examples/puredata/xtract~.c
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2006-12-15 21:17:12 +0000
committerJamie Bullock <jamie@postlude.co.uk>2006-12-15 21:17:12 +0000
commit18fc7723fd66941f394c1657c48bb996670d4ac5 (patch)
treea86ad8b11263af74875dd979f7d94315a4ae49ed /examples/puredata/xtract~.c
parent251e328008d541478aba71c46a7444ee2283bcbf (diff)
downloadLibXtract-18fc7723fd66941f394c1657c48bb996670d4ac5.tar.gz
LibXtract-18fc7723fd66941f394c1657c48bb996670d4ac5.tar.bz2
LibXtract-18fc7723fd66941f394c1657c48bb996670d4ac5.zip
Numerous fixes and enhancements, see ChangeLog.
Diffstat (limited to 'examples/puredata/xtract~.c')
-rw-r--r--examples/puredata/xtract~.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/puredata/xtract~.c b/examples/puredata/xtract~.c
index 77945f8..04d1079 100644
--- a/examples/puredata/xtract~.c
+++ b/examples/puredata/xtract~.c
@@ -141,7 +141,7 @@ static void *xtract_new(t_symbol *me, t_int argc, t_atom *argv) {
else if(tmp == gensym("slope")) x->feature = SLOPE;
else if(tmp == gensym("f0")) x->feature = F0;
else if(tmp == gensym("hps"))x->feature = HPS;
- else if(tmp == gensym("lowest_match"))x->feature = LOWEST_MATCH;
+ else if(tmp == gensym("lowest"))x->feature = LOWEST;
else if(tmp == gensym("dct")) x->feature = DCT;
else if(tmp == gensym("magnitude_spectrum"))
x->feature = MAGNITUDE_SPECTRUM;
@@ -168,7 +168,7 @@ static void *xtract_new(t_symbol *me, t_int argc, t_atom *argv) {
case AVERAGE_DEVIATION:
case ROLLOFF:
case INHARMONICITY:
- case LOWEST_MATCH:
+ case ODD_EVEN_RATIO:
case F0:
case TONALITY:
floatargs = 1;
@@ -176,6 +176,7 @@ static void *xtract_new(t_symbol *me, t_int argc, t_atom *argv) {
case SKEWNESS:
case KURTOSIS:
case PEAKS:
+ case LOWEST:
case HARMONICS:
floatargs = 2;
break;
@@ -194,7 +195,6 @@ static void *xtract_new(t_symbol *me, t_int argc, t_atom *argv) {
case NOISINESS:
case RMS_AMPLITUDE:
case POWER:
- case ODD_EVEN_RATIO:
case SHARPNESS:
case SLOPE:
case HPS: