aboutsummaryrefslogtreecommitdiff
path: root/src/vector.c
AgeCommit message (Collapse)Author
2014-11-07Remove unmaintainable relative pathsJamie Bullock
2014-03-27add VC2012 project to compile static and dynamic lib, also fix some CQ
issues
2013-07-01Remove spurious print statementJamie Bullock
2013-06-19Offset peak interpolation by one spectral bin. Fixes #20Jamie Bullock
2013-06-19Uncomment free(), fixing memory leakJamie Bullock
2013-06-19Don't read past end of spectral data arrayJamie Bullock
2013-06-18Copy out input values for Ooura so the in-place transform doesn't overwrite ↵Jamie Bullock
*data
2013-04-24Provide relative include path for libxtract.h for compatibility with ↵Jamie Bullock
non-autotools builds
2013-01-10fixed Linux bugsJamie Bullock
2013-01-09implemented optimised FFT via the Accelerate framework. closes #5Jamie Bullock
2013-01-09fixed bug in xtract_dct where data wasn't being copied to result vectorJamie Bullock
2013-01-09run FFT in place on the data vectorJamie Bullock
2013-01-09switched from single to double precision througout. closes #9Jamie Bullock
2013-01-07changed license from GPL to MIT. closes #6Jamie Bullock
2013-01-07added Ooura implementation to repositoryJamie Bullock
2010-02-03- fixed DC/Nyquist inclusion bug in xtract_spectrum() and refactored a bitJamie Bullock
2008-11-11- Committed patch by Chris Cannam to avoid reading past the end of an array ↵Jamie Bullock
in peak detection routine in xtract_peak_spectrum()
2008-05-04Fixed bug in peak interpolation algorithm in xtract_peak_spectrum()Jamie Bullock
2008-02-16- Added to pd example the ability to differentiate between differentJamie Bullock
argv types (XTRACT_FLOAT, XTRACT_INT) and pass the correct data type to the xtract[]() function - Added xtract_flatness_db() details to descriptors.c - Fixes to tonality and xtract_subbands descriptors - Added Pd examples for 'subband mean' and tonality calculated using subbands
2008-02-15Added new extraction function: xtract_subbands()Jamie Bullock
2008-02-15- Fixed bugs in xtract_flatness(), or at least added necessaryJamie Bullock
documentation and error checking to avoid problems - Added xtract_is_denormal() helper function and XTRACT_DENORMAL_FOUND return code - Replaced all instances of log, sqrt, exp etc. with respective floating point counterparts (logf etc.) - Added check for architecture endianness to configure script - Bug fix to PD example, now no longer crashes if no arguments are given - Minor documentation updates
2008-01-02- Minor fix in xtract_lpc... or at least think it's a fixJamie Bullock
2008-01-02- Re-factoring in xtract_spectrum and fixed normalisation bugJamie Bullock
- Fixed bug in xtract_lnorm
2008-01-01- Improvements to SWIG bindings generation scriptJamie Bullock
- Fixed omission in xtract_bark_coefficients that was causing the output to be complete b/s! This fixed bark_coeffs and loudness feature which depends on it - Changes to descriptor API: added is_delta and id. id corresponds to value in xtract_features_ enum and is useful for programmatic conversions between id and name string.
2007-12-27- Added extra argument to xtract_spectrum to give the option of normalising ↵Jamie Bullock
the magnitude/power coeffificients - Removed duplicate code block (argc assignment) from descriptors.c - Added some extra documentation to libxtract.h
2007-12-24- Fixes to descriptors.c where no break statement was given for certain ↵Jamie Bullock
cases is switch conditionals - Added LPC and LPCC extraction functions. LPC implements Durbin method as described in Rabiner and Juang and implemented in Dr. Dobbs 1994 edition by Jutta Degener
2007-10-16Fix for 'multiple symbol definitions' vs 'symbol not defined' dilemna. I ↵Jamie Bullock
think the solution is to wrap the globals in a struct, declare it in a header, and wrap with a definition guard, then define _once_ at library init time. (Sounds like a recipe for something...)
2007-10-06Removed fftw_plan from xtraction functions. Created new init function ↵Jamie Bullock
xtract_init_fft() for creating plans, which have global scope. Updated examples to reflect the change. New configure option: --with-fft_optimisation (0 = FFTW_ESTIMATE, 1 = FFTW_MEASURE, 2 = FFTW_PATIENT).
2007-10-03Dan Stowell: Removed strange "zeroing" part of xtract_mfcc() which was ↵Dan Stowell
zeroing a load of elements despite the fact that they're ignored by the DCT process called next, and never used for anything. This was writing to an assumed large result array (same size as number of FFT bins) despite the fact that only a small number of MFCCs (typically less than 50) are required, therefore either wasting memory or writing to memory it shouldn't do!
2007-09-03Checked ANSI C89 compliance (basically a few ifndefs for the C99 math ↵Jamie Bullock
functions: powf, roundf etc). Added a few PD examples/tests.
2007-04-20Minor update to autocorrelation_fft()Jamie Bullock
2007-04-20Fixed autocorrelation_fft() it now gives comparable output to autocorrelation()Jamie Bullock
2007-04-04Small changes thanks to compiler warnings (no change to behaviour)Dan Stowell
2007-03-20Removed spurious mallocs and frees in xtract_mfcc and xtract_dctJamie Bullock
2007-03-19Further updated xtract_spectrum() to hopefully fix fft iteration bug and ↵Jamie Bullock
nyquist/DC inclusion. Added new boolean argument 'withDC' to select whether the DC component is required in the output
2007-03-19xtract_mfcc(): Slightly different way of limiting to XTRACT_LOG_LIMIT. It's ↵Dan Stowell
the same in theory, but saves on one assignment operation. But the real reason I did it was because my compiler (gcc 4.0.1, Apple intel edition) was getting it wrong (presumably during some optimisation). It does save on the assignment though.
2007-03-19xtract_mfcc failed to initialise its result values to zero - now fixed.Dan Stowell
2007-03-14Fixed bug in xtract_spectrum() FFTW_R2HC now interpreted correctly. Updated ↵Jamie Bullock
ChangeLog and AUTHORS files.
2007-03-13Fixed incorrect symbols in FFTless placeholder functions, and made them ↵Dan Stowell
return a value.
2007-02-12Various minor fixesJamie Bullock
2007-01-29Added namespacing to enumerations and defines. Made most macros private.Jamie Bullock
2007-01-21Finished the essentials of descriptors.cJamie Bullock
2007-01-11Fleshed out function descriptors.Jamie Bullock
2007-01-10Rationalised spectral data format. Added spectral_mean et alJamie Bullock
2006-12-21Added xtract_sharpness() Jamie Bullock
2006-12-21xtract_magnitude_spectrum() and xtract_peaks() share format of N/2 frequency ↵Jamie Bullock
values and N/2 magnitude coefficients. 'Fixed' xtract_loudness() so that N=1 can be used for specific loudness.
2006-12-20Added bin frequencies to second half of xtract_magnitude_spectrum()Jamie Bullock
2006-12-20Added new features: sum, highest_value, crest and noisinessJamie Bullock
2006-12-15Numerous fixes and enhancements, see ChangeLog.Jamie Bullock
2006-12-12Numerous fixes, see ChangeLogJamie Bullock