changeset 34:29e2738a376d

Various minor fixes
author Jamie Bullock <jamie@postlude.co.uk>
date Tue, 24 Oct 2006 07:37:43 +0000
parents b073ffc3b17e
children 3af08ec9091a
files ChangeLog configure.in src/libxtract.c src/vector.c xtract/libxtract.h xtract/xtract_macros.h
diffstat 6 files changed, 17 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Oct 20 14:25:41 2006 +0000
+++ b/ChangeLog	Tue Oct 24 07:37:43 2006 +0000
@@ -1,14 +1,19 @@
-2006-18-10 Jamie Bullock <jamie@postlude.co.uk>
+2006-10-24 Jamie Bullock <jamie@postlude.co.uk>
+    * version 0.2.1
+	* Fixed _xtract and _xtract_help_strings memory alloc bug
+	* Added new macro
+	_
+2006-10-18 Jamie Bullock <jamie@postlude.co.uk>
     * version 0.2.0
 	* added PD help files
 	* added simple help system
 
-2006-12-10 Jamie Bullock <jamie@postlude.co.uk>
+2006-10-12 Jamie Bullock <jamie@postlude.co.uk>
     * version 0.1.2
 	* improved xtract_f0
 	* changed versioning scheme
 
-2006-09-10 Jamie Bullock <jamie@postlude.co.uk>
+2006-10-09 Jamie Bullock <jamie@postlude.co.uk>
     * Released version 0.11
 	
 
--- a/configure.in	Fri Oct 20 14:25:41 2006 +0000
+++ b/configure.in	Tue Oct 24 07:37:43 2006 +0000
@@ -4,7 +4,7 @@
 # Increment for feature additions and enhancements
 m4_define(libxtract_minor_version, 2)
 # Increment for fixes 
-m4_define(libxtract_fix_version, 0)
+m4_define(libxtract_fix_version, 1)
 
 m4_define(libxtract_version, libxtract_major_version.libxtract_minor_version.libxtract_fix_version)
 		
--- a/src/libxtract.c	Fri Oct 20 14:25:41 2006 +0000
+++ b/src/libxtract.c	Tue Oct 24 07:37:43 2006 +0000
@@ -105,7 +105,7 @@
    "xtract_flux",
    "xtract_attack_time",
    "xtract_decay_time",
-   "xtract_delta_feature"
+   "xtract_delta_feature",
    "xtract_autocorrelation",
    "xtract_amdf",
    "xtract_asdf",
@@ -114,5 +114,5 @@
    "xtract_magnitude_spectrum",
    "xtract_autocorrelation_fft",
    "xtract_mfcc",
-   "xtract_dct",
+   "xtract_dct"
    };
--- a/src/vector.c	Fri Oct 20 14:25:41 2006 +0000
+++ b/src/vector.c	Tue Oct 24 07:37:43 2006 +0000
@@ -108,25 +108,25 @@
 
 int xtract_magnitude_spectrum(float *data, int N, void *argv, float *result){
 
-    NOT_IMPLEMENTED;
+    NEEDS_FFTW;
 
 }
 
 int xtract_autocorrelation_fft(float *data, int N, void *argv, float *result){
 
-    NOT_IMPLEMENTED;
+    NEEDS_FFTW;
 
 }
 
 int xtract_mfcc(float *data, int N, void *argv, float *result){
 
-    NOT_IMPLEMENTED;
+    NEEDS_FFTW;
 
 }
 
 int xtract_dct(float *data, int N, void *argv, float *result){
 
-    NOT_IMPLEMENTED;
+    NEEDS_FFTW;
 
 }
 
--- a/xtract/libxtract.h	Fri Oct 20 14:25:41 2006 +0000
+++ b/xtract/libxtract.h	Tue Oct 24 07:37:43 2006 +0000
@@ -53,7 +53,7 @@
   * @{
   */
 
-#define XTRACT_FEATURES 42
+#define XTRACT_FEATURES 43
     
 #define LOG_LIMIT 10e-10
 #define VERY_BIG_NUMBER 2e10
--- a/xtract/xtract_macros.h	Fri Oct 20 14:25:41 2006 +0000
+++ b/xtract/xtract_macros.h	Tue Oct 24 07:37:43 2006 +0000
@@ -35,6 +35,7 @@
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
 #define NOT_IMPLEMENTED printf("Feature not implemented yet.\n")
+#define NEEDS_FFTW printf("LibXtract must be compiled with fftw support to use this function.\n")
 
 #ifdef __cplusplus
 }