aubio.git
14 years agotests/python/examples/aubionotes.py: do not assume the error is known
Paul Brossier [Thu, 8 Oct 2009 02:30:11 +0000 (04:30 +0200)]
tests/python/examples/aubionotes.py: do not assume the error is known

14 years agotests/python/template.py: factorise
Paul Brossier [Thu, 8 Oct 2009 02:24:19 +0000 (04:24 +0200)]
tests/python/template.py: factorise

14 years agotests/python/src/spectral/fft.py: remove abs, test passes in double precision
Paul Brossier [Thu, 8 Oct 2009 01:11:30 +0000 (03:11 +0200)]
tests/python/src/spectral/fft.py: remove abs, test passes in double precision

14 years agoconfigure.ac: add option to compile in double precision
Paul Brossier [Thu, 8 Oct 2009 01:09:43 +0000 (03:09 +0200)]
configure.ac: add option to compile in double precision

14 years agosrc/mathutils.c: indent, add parenthesis and initialise pos in fvec_min_elem needed
Paul Brossier [Thu, 8 Oct 2009 01:08:06 +0000 (03:08 +0200)]
src/mathutils.c: indent, add parenthesis and initialise pos in fvec_min_elem needed

14 years agoexamples/utils.c: remove unused variable
Paul Brossier [Thu, 8 Oct 2009 01:05:44 +0000 (03:05 +0200)]
examples/utils.c: remove unused variable

14 years agotests/python/src/temporal/c_weighting.py: add test for c_weighting
Paul Brossier [Thu, 8 Oct 2009 00:48:37 +0000 (02:48 +0200)]
tests/python/src/temporal/c_weighting.py: add test for c_weighting

14 years agotests/python/src/pitch/pitchdetection.py: update prototypes
Paul Brossier [Thu, 8 Oct 2009 00:42:21 +0000 (02:42 +0200)]
tests/python/src/pitch/pitchdetection.py: update prototypes

14 years agosrc/utils/hist.py: kill print
Paul Brossier [Thu, 8 Oct 2009 00:37:08 +0000 (02:37 +0200)]
src/utils/hist.py: kill print

14 years agotests/python/src/onset/peakpick.py: update to interpolated peak position
Paul Brossier [Thu, 8 Oct 2009 00:35:50 +0000 (02:35 +0200)]
tests/python/src/onset/peakpick.py: update to interpolated peak position

14 years agotests/python/src/temporal/: update a_weighting tests
Paul Brossier [Thu, 8 Oct 2009 00:13:38 +0000 (02:13 +0200)]
tests/python/src/temporal/: update a_weighting tests

14 years agotests/python: update template.py
Paul Brossier [Thu, 8 Oct 2009 00:10:10 +0000 (02:10 +0200)]
tests/python: update template.py

14 years agotests/python/src/temporal/filter.py: update imports
Paul Brossier [Thu, 8 Oct 2009 00:03:37 +0000 (02:03 +0200)]
tests/python/src/temporal/filter.py: update imports

14 years agosrc/spectral/filterbank.c: make sure we don't read outside of boundaries
Paul Brossier [Thu, 8 Oct 2009 00:02:11 +0000 (02:02 +0200)]
src/spectral/filterbank.c: make sure we don't read outside of boundaries

14 years agotests/python: updated filterbank test
Paul Brossier [Thu, 8 Oct 2009 00:00:52 +0000 (02:00 +0200)]
tests/python: updated filterbank test

14 years agotests/python: update imports
Paul Brossier [Wed, 7 Oct 2009 23:23:31 +0000 (01:23 +0200)]
tests/python: update imports

14 years agotests/python/localaubio.py: simplify, also import template
Paul Brossier [Wed, 7 Oct 2009 23:19:48 +0000 (01:19 +0200)]
tests/python/localaubio.py: simplify, also import template

14 years agosrc/spectral/filterbank_mel.{c,h}: rename _set_mel_coeffs to _set_triangle_bands...
Paul Brossier [Wed, 7 Oct 2009 21:32:42 +0000 (23:32 +0200)]
src/spectral/filterbank_mel.{c,h}: rename _set_mel_coeffs to _set_triangle_bands, add some warnings, setters return uint_t,

14 years agosrc/pitch/pitchmcomb.c: hide aubio_pitch_cands
Paul Brossier [Wed, 7 Oct 2009 21:27:41 +0000 (23:27 +0200)]
src/pitch/pitchmcomb.c: hide aubio_pitch_cands

14 years agosrc/onset/onset.c: rename aubio_onset to aubio_onset_do
Paul Brossier [Wed, 7 Oct 2009 21:24:54 +0000 (23:24 +0200)]
src/onset/onset.c: rename aubio_onset to aubio_onset_do

14 years agoplugins/puredata/aubioonset~.c: update peakpicker prototype
Paul Brossier [Wed, 7 Oct 2009 21:23:30 +0000 (23:23 +0200)]
plugins/puredata/aubioonset~.c: update peakpicker prototype

14 years agosrc/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do
Paul Brossier [Wed, 7 Oct 2009 21:21:15 +0000 (23:21 +0200)]
src/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do

14 years agosrc/utils/scale.c: rename aubio_scale_set to aubio_scale_set_limits
Paul Brossier [Wed, 7 Oct 2009 21:19:36 +0000 (23:19 +0200)]
src/utils/scale.c: rename aubio_scale_set to aubio_scale_set_limits

14 years agosrc/onset: rename aubio_onsetdetection to aubio_onsetdetection_do
Paul Brossier [Wed, 7 Oct 2009 20:58:25 +0000 (22:58 +0200)]
src/onset: rename aubio_onsetdetection to aubio_onsetdetection_do

14 years agosrc/onset/onsetdetection.c: remove unused variable
Paul Brossier [Wed, 7 Oct 2009 20:45:30 +0000 (22:45 +0200)]
src/onset/onsetdetection.c: remove unused variable

14 years agosrc/spectral/mfcc.c: add missing include
Paul Brossier [Wed, 7 Oct 2009 20:43:12 +0000 (22:43 +0200)]
src/spectral/mfcc.c: add missing include

14 years agosrc/tempo/tempo.{c,h}: rename aubio_tempo to aubio_tempo_do
Paul Brossier [Wed, 7 Oct 2009 20:34:07 +0000 (22:34 +0200)]
src/tempo/tempo.{c,h}: rename aubio_tempo to aubio_tempo_do

14 years agoplugins/puredata/aubioonset~.c: rename peakpicker
Paul Brossier [Wed, 7 Oct 2009 18:33:15 +0000 (20:33 +0200)]
plugins/puredata/aubioonset~.c: rename peakpicker

14 years agosrc/onset/peakpick.c: rename aubio_pickpeak_t to aubio_peakpicker_t
Paul Brossier [Wed, 7 Oct 2009 18:31:43 +0000 (20:31 +0200)]
src/onset/peakpick.c: rename aubio_pickpeak_t to aubio_peakpicker_t

14 years agotests/src/test-filter.c: avoid redefining o
Paul Brossier [Wed, 7 Oct 2009 18:11:00 +0000 (20:11 +0200)]
tests/src/test-filter.c: avoid redefining o

14 years agosrc/spectral/filterbank.{c,h}: add function to set coefficients
Paul Brossier [Wed, 7 Oct 2009 17:55:08 +0000 (19:55 +0200)]
src/spectral/filterbank.{c,h}: add function to set coefficients

14 years agotests/src/test-filter.c: improve, indent
Paul Brossier [Wed, 7 Oct 2009 17:39:11 +0000 (19:39 +0200)]
tests/src/test-filter.c: improve, indent

14 years agotests/src/test-pitch*: update pitch prototypes
Paul Brossier [Wed, 7 Oct 2009 17:36:31 +0000 (19:36 +0200)]
tests/src/test-pitch*: update pitch prototypes

14 years agosrc/pitch/: change all _detect prototypes to _do
Paul Brossier [Wed, 7 Oct 2009 17:33:51 +0000 (19:33 +0200)]
src/pitch/: change all _detect prototypes to _do

14 years agosrc/onset/onsetdetection.{c,h}: no need for function specific prototypes to be public
Paul Brossier [Wed, 7 Oct 2009 16:28:53 +0000 (18:28 +0200)]
src/onset/onsetdetection.{c,h}: no need for function specific prototypes to be public

14 years agosrc/mathutils.c: add aubio_is_power_of_two and aubio_next_power_of_two
Paul Brossier [Wed, 7 Oct 2009 16:26:59 +0000 (18:26 +0200)]
src/mathutils.c: add aubio_is_power_of_two and aubio_next_power_of_two

14 years agotests/src/test-peakpick.c: update peakpicker prototype
Paul Brossier [Tue, 6 Oct 2009 15:28:19 +0000 (17:28 +0200)]
tests/src/test-peakpick.c: update peakpicker prototype

14 years agoexamples/aubionotes.c: update peakpicker prototype
Paul Brossier [Tue, 6 Oct 2009 15:06:54 +0000 (17:06 +0200)]
examples/aubionotes.c: update peakpicker prototype

14 years agoexamples/aubioonset.c: use interpolated onset position
Paul Brossier [Tue, 6 Oct 2009 15:06:30 +0000 (17:06 +0200)]
examples/aubioonset.c: use interpolated onset position

14 years agopython/aubio/task/onset.py: isonset > 0., not == 1
Paul Brossier [Tue, 6 Oct 2009 15:04:45 +0000 (17:04 +0200)]
python/aubio/task/onset.py: isonset > 0., not == 1

14 years agopython/aubio/aubioclass.py: update peakpicker class
Paul Brossier [Tue, 6 Oct 2009 15:04:18 +0000 (17:04 +0200)]
python/aubio/aubioclass.py: update peakpicker class

14 years agoswig/aubio.i: update peakpicker interface, escape #if as needed
Paul Brossier [Tue, 6 Oct 2009 15:03:23 +0000 (17:03 +0200)]
swig/aubio.i: update peakpicker interface, escape #if as needed

14 years agosrc/onset/peakpick.h: clean up peakpicker object
Paul Brossier [Tue, 6 Oct 2009 15:02:54 +0000 (17:02 +0200)]
src/onset/peakpick.h: clean up peakpicker object

14 years agosrc/temporal/resample.c: include config,h before checking HAVE_SAMPLERATE
Paul Brossier [Tue, 6 Oct 2009 15:01:55 +0000 (17:01 +0200)]
src/temporal/resample.c: include config,h before checking HAVE_SAMPLERATE

14 years agointerfaces/python: add cvec and filter types
Paul Brossier [Tue, 6 Oct 2009 00:50:49 +0000 (02:50 +0200)]
interfaces/python: add cvec and filter types

14 years agointerfaces/python: add cvec and filter types
Paul Brossier [Tue, 6 Oct 2009 00:49:53 +0000 (02:49 +0200)]
interfaces/python: add cvec and filter types

14 years agoswig/aubio.i: update prototype
Paul Brossier [Mon, 5 Oct 2009 17:41:48 +0000 (19:41 +0200)]
swig/aubio.i: update prototype

14 years agosrc/onset/peakpick.c: use quadint in peakpick to get interpolated peak position,...
Paul Brossier [Mon, 5 Oct 2009 17:40:45 +0000 (19:40 +0200)]
src/onset/peakpick.c: use quadint in peakpick to get interpolated peak position, real in the range [0,2] in number of hop size

14 years agoswig/aubio.i: update set_a,c_weighting prototypes
Paul Brossier [Sun, 4 Oct 2009 22:31:37 +0000 (00:31 +0200)]
swig/aubio.i: update set_a,c_weighting prototypes

14 years agosrc/temporal/{a,c}_weighting.{c,h}: set_a,c_weighting return 1 on error, 0 on success
Paul Brossier [Sun, 4 Oct 2009 22:30:32 +0000 (00:30 +0200)]
src/temporal/{a,c}_weighting.{c,h}: set_a,c_weighting return 1 on error, 0 on success

14 years agopython/aubiomodule.c: move PyAubio_ArrayToFvec to py-fvec.c
Paul Brossier [Fri, 2 Oct 2009 13:39:33 +0000 (15:39 +0200)]
python/aubiomodule.c: move PyAubio_ArrayToFvec to py-fvec.c

14 years agopython/test_aubio.py: update unit tests
Paul Brossier [Fri, 2 Oct 2009 13:38:30 +0000 (15:38 +0200)]
python/test_aubio.py: update unit tests

14 years agopython/aubiomodule.c: add zero_crossing_rate and min_removal
Paul Brossier [Fri, 2 Oct 2009 09:24:08 +0000 (11:24 +0200)]
python/aubiomodule.c: add zero_crossing_rate and min_removal

14 years agopython/aubiomodule.c: PyAubio_ArrayToFvec to convert numpy array to a Py_fvec, no...
Paul Brossier [Fri, 2 Oct 2009 09:20:31 +0000 (11:20 +0200)]
python/aubiomodule.c: PyAubio_ArrayToFvec to convert numpy array to a Py_fvec, no copy

14 years agopython/py-fvec.c, python/aubio-types.g: define AUBIO_FLOAT, move default length and...
Paul Brossier [Fri, 2 Oct 2009 09:19:48 +0000 (11:19 +0200)]
python/py-fvec.c, python/aubio-types.g: define AUBIO_FLOAT, move default length and channels here, rename fvec to aubio.fvec

14 years agosrc/mathutils.{c,h}: loop over channels when possible, improve documentation, indent
Paul Brossier [Fri, 2 Oct 2009 04:11:07 +0000 (06:11 +0200)]
src/mathutils.{c,h}: loop over channels when possible, improve documentation, indent

14 years agosrc/mathutils.c: fix fvec_min_removal
Paul Brossier [Fri, 2 Oct 2009 00:14:06 +0000 (02:14 +0200)]
src/mathutils.c: fix fvec_min_removal

14 years agosrc/mathutils.c and co: use 0.0, not 0.0f
Paul Brossier [Fri, 2 Oct 2009 00:10:25 +0000 (02:10 +0200)]
src/mathutils.c and co: use 0.0, not 0.0f

14 years agosrc/mathutils.c: rename fvec_dc_removal to fvec_min_removal
Paul Brossier [Fri, 2 Oct 2009 00:05:23 +0000 (02:05 +0200)]
src/mathutils.c: rename fvec_dc_removal to fvec_min_removal

14 years agotests/src/: various updates
Paul Brossier [Thu, 1 Oct 2009 23:26:08 +0000 (01:26 +0200)]
tests/src/: various updates

14 years agosrc/mathutils.{c,h}: rename all vec_ to fvec_
Paul Brossier [Thu, 1 Oct 2009 23:19:10 +0000 (01:19 +0200)]
src/mathutils.{c,h}: rename all vec_ to fvec_

14 years agorename vec_min and vec_min_elem to fvec_min and fvec_max_elem
Paul Brossier [Thu, 1 Oct 2009 23:11:37 +0000 (01:11 +0200)]
rename vec_min and vec_min_elem to fvec_min and fvec_max_elem

14 years agorename vec_max and vec_max_elem to fvec_max fvec_max_elem
Paul Brossier [Thu, 1 Oct 2009 23:09:46 +0000 (01:09 +0200)]
rename vec_max and vec_max_elem to fvec_max fvec_max_elem

14 years agotests/src/test-filterbank.c: print coeffs
Paul Brossier [Thu, 1 Oct 2009 23:07:29 +0000 (01:07 +0200)]
tests/src/test-filterbank.c: print coeffs

14 years agosrc/mathutils.c: rename vec_mean to fvec_mean
Paul Brossier [Thu, 1 Oct 2009 23:05:26 +0000 (01:05 +0200)]
src/mathutils.c: rename vec_mean to fvec_mean

14 years agotests/src/test-phasevoc.c add missing stdio.h
Paul Brossier [Thu, 1 Oct 2009 23:00:53 +0000 (01:00 +0200)]
tests/src/test-phasevoc.c add missing stdio.h

14 years agosrc/temporal/[ac]_weighting.[ch]: add 11025 Hz
Paul Brossier [Thu, 1 Oct 2009 22:56:31 +0000 (00:56 +0200)]
src/temporal/[ac]_weighting.[ch]: add 11025 Hz

14 years agosrc/temporal/[ac]_weighting.c: update error message
Paul Brossier [Thu, 1 Oct 2009 22:51:50 +0000 (00:51 +0200)]
src/temporal/[ac]_weighting.c: update error message

14 years agosrc/temporal/[ac]_weighting.[ch]: add coeffs for 24, 32, 48 and 88.2 kHz
Paul Brossier [Thu, 1 Oct 2009 22:49:59 +0000 (00:49 +0200)]
src/temporal/[ac]_weighting.[ch]: add coeffs for 24, 32, 48 and 88.2 kHz

14 years agoexamples/utils.c: use fvec_zeros()
Paul Brossier [Thu, 1 Oct 2009 22:30:05 +0000 (00:30 +0200)]
examples/utils.c: use fvec_zeros()

14 years agosrc/spectral/fft.{c,h}: move fftw3.h include inside fft.c
Paul Brossier [Thu, 1 Oct 2009 15:41:07 +0000 (17:41 +0200)]
src/spectral/fft.{c,h}: move fftw3.h include inside fft.c

14 years agosrc/spectral/filterbank.{c,h}: aubio_filterbank_t_ -> _aubio_filterbank_t
Paul Brossier [Thu, 1 Oct 2009 15:38:37 +0000 (17:38 +0200)]
src/spectral/filterbank.{c,h}: aubio_filterbank_t_ -> _aubio_filterbank_t

14 years agosrc/onset/onsetdetection.c: simplify complex domain computation
Paul Brossier [Thu, 1 Oct 2009 15:36:01 +0000 (17:36 +0200)]
src/onset/onsetdetection.c: simplify complex domain computation

14 years agoMakefile.am: update java location
Paul Brossier [Thu, 1 Oct 2009 13:44:48 +0000 (15:44 +0200)]
Makefile.am: update java location

14 years agoconfigure.ac: do not use AM_SILENT_RULES for now, wait for automake 1.11 to reach...
Paul Brossier [Thu, 1 Oct 2009 13:44:03 +0000 (15:44 +0200)]
configure.ac: do not use AM_SILENT_RULES for now, wait for automake 1.11 to reach most systems

14 years agosrc/Makefile.am: update a- and c-weighting filter filenames
Paul Brossier [Thu, 1 Oct 2009 13:02:22 +0000 (15:02 +0200)]
src/Makefile.am: update a- and c-weighting filter filenames

14 years agosrc/onset/onsetdetection.c: fix off by one error in complexdomain without complex.h
Paul Brossier [Thu, 1 Oct 2009 07:04:35 +0000 (09:04 +0200)]
src/onset/onsetdetection.c: fix off by one error in complexdomain without complex.h

14 years agoswig/aubio.i: update filter interface
Paul Brossier [Thu, 1 Oct 2009 06:24:00 +0000 (08:24 +0200)]
swig/aubio.i: update filter interface

14 years agotests/src: include stdio.h as needed, add HAVE_LIBSAMPLERATE
Paul Brossier [Thu, 1 Oct 2009 06:22:29 +0000 (08:22 +0200)]
tests/src: include stdio.h as needed, add HAVE_LIBSAMPLERATE

14 years agointerfaces/python: improve draft wrapper alpha_norm example, add some unit tests
Paul Brossier [Wed, 30 Sep 2009 15:42:13 +0000 (17:42 +0200)]
interfaces/python: improve draft wrapper alpha_norm example, add some unit tests

14 years agomoved cpp to interfaces/
Paul Brossier [Wed, 30 Sep 2009 01:54:34 +0000 (03:54 +0200)]
moved cpp to interfaces/

14 years agoadded new python interface draft, work in progress
Paul Brossier [Wed, 30 Sep 2009 01:46:35 +0000 (03:46 +0200)]
added new python interface draft, work in progress

14 years agocreated interfaces directory, moved java there and added new python draft interface
Paul Brossier [Wed, 30 Sep 2009 01:45:12 +0000 (03:45 +0200)]
created interfaces directory, moved java there and added new python draft interface

14 years agowscript: updated for waf r6742
Paul Brossier [Wed, 30 Sep 2009 00:44:52 +0000 (02:44 +0200)]
wscript: updated for waf r6742

14 years agotests/python/src/temporal/a_weighting.py: moved from adesign.py
Paul Brossier [Tue, 29 Sep 2009 23:24:56 +0000 (01:24 +0200)]
tests/python/src/temporal/a_weighting.py: moved from adesign.py

14 years agowscript: move test build rules from tests/src/wscript_build, use new unit test system
Paul Brossier [Tue, 29 Sep 2009 18:45:41 +0000 (20:45 +0200)]
wscript: move test build rules from tests/src/wscript_build, use new unit test system

14 years agosrc/temporal/filter.h: 80 characters maximum per line
Paul Brossier [Tue, 29 Sep 2009 18:14:26 +0000 (20:14 +0200)]
src/temporal/filter.h: 80 characters maximum per line

14 years agosrc/temporal/filter.{c,h}: indent, update copyright and license
Paul Brossier [Tue, 29 Sep 2009 18:08:10 +0000 (20:08 +0200)]
src/temporal/filter.{c,h}: indent, update copyright and license

14 years agosrc/temporal/filter.c: fix aubio_filter_do and aubio_filter_do_outplace
Paul Brossier [Tue, 29 Sep 2009 17:58:43 +0000 (19:58 +0200)]
src/temporal/filter.c: fix aubio_filter_do and aubio_filter_do_outplace

14 years agosrc/aubio_priv.h: add alias from AUBIO_ERR to AUBIO_ERROR
Paul Brossier [Tue, 29 Sep 2009 06:01:01 +0000 (08:01 +0200)]
src/aubio_priv.h: add alias from AUBIO_ERR to AUBIO_ERROR

14 years agosrc/aubio.h: update header names
Paul Brossier [Tue, 29 Sep 2009 06:00:12 +0000 (08:00 +0200)]
src/aubio.h: update header names

14 years agosrc/temporal: rename adesign/adsgn to a_weighting, idem for c_weighting
Paul Brossier [Tue, 29 Sep 2009 05:58:03 +0000 (07:58 +0200)]
src/temporal: rename adesign/adsgn to a_weighting, idem for c_weighting

14 years agosrc/temporal: revamp filter object, clarify API for A- and C-weighting filters,
Paul Brossier [Tue, 29 Sep 2009 05:43:12 +0000 (07:43 +0200)]
src/temporal: revamp filter object, clarify API for A- and C-weighting filters,
add coefficients for 8000 16000 22050 44100 96000 192000, improve documentation,
remove unneeded filter_priv.h, add A and C weighting tests.

14 years agosrc/spectral/spectral_centroid.h: protect with #ifndef _FOO_H and #ifdef __cplusplus
Paul Brossier [Mon, 28 Sep 2009 20:02:20 +0000 (22:02 +0200)]
src/spectral/spectral_centroid.h: protect with #ifndef _FOO_H and #ifdef __cplusplus

14 years agosrc/temporal/: avoid include in .h, protect with #ifndef _FOO_H and #ifdef __cplusplus
Paul Brossier [Mon, 28 Sep 2009 19:57:10 +0000 (21:57 +0200)]
src/temporal/: avoid include in .h, protect with #ifndef _FOO_H and #ifdef __cplusplus

14 years agosrc/pitch/pitchdetection.c: include filter.h
Paul Brossier [Mon, 28 Sep 2009 19:55:45 +0000 (21:55 +0200)]
src/pitch/pitchdetection.c: include filter.h

14 years agosrc/spectral/: remove include from filterbank_mel.h, modify mfcc.c to include filterb...
Paul Brossier [Mon, 28 Sep 2009 19:54:59 +0000 (21:54 +0200)]
src/spectral/: remove include from filterbank_mel.h, modify mfcc.c to include filterbank.h

14 years agosrc/vecutils.{c,h}: expand header and add documentation, add cvec_pow, fix SAFE_LOG...
Paul Brossier [Mon, 28 Sep 2009 19:27:10 +0000 (21:27 +0200)]
src/vecutils.{c,h}: expand header and add documentation, add cvec_pow, fix SAFE_LOG macros

14 years agosrc/spectral/filterbank.c: move log10 to mfcc.c
Paul Brossier [Mon, 28 Sep 2009 19:19:40 +0000 (21:19 +0200)]
src/spectral/filterbank.c: move log10 to mfcc.c

14 years agosrc/spectral/fft.c: add a warning if using fftw3 with aubio single
Paul Brossier [Mon, 28 Sep 2009 19:17:53 +0000 (21:17 +0200)]
src/spectral/fft.c: add a warning if using fftw3 with aubio single