aubio.git
15 years agosrc/aubio_priv.h: add macro for ATAN2
Paul Brossier [Sun, 11 Oct 2009 10:33:04 +0000 (12:33 +0200)]
src/aubio_priv.h: add macro for ATAN2

15 years agosrc/aubio_priv.h: IS_DENORMAL also for negative ones, CEIL_DENORMAL for anything...
Paul Brossier [Sun, 11 Oct 2009 10:32:05 +0000 (12:32 +0200)]
src/aubio_priv.h: IS_DENORMAL also for negative ones, CEIL_DENORMAL for anything below 2.e-42

15 years agotests/python/template.py: also print the command when failing
Paul Brossier [Thu, 8 Oct 2009 19:07:23 +0000 (21:07 +0200)]
tests/python/template.py: also print the command when failing

15 years agotests/python/localaubio.py: swith location
Paul Brossier [Thu, 8 Oct 2009 19:04:33 +0000 (21:04 +0200)]
tests/python/localaubio.py: swith location

15 years agotests/python/examples/aubiopitch.py: do not fail if file is missing, print out where...
Paul Brossier [Thu, 8 Oct 2009 19:03:35 +0000 (21:03 +0200)]
tests/python/examples/aubiopitch.py: do not fail if file is missing, print out where to find it

15 years agotests/python/src/pitch/pitchdetection.py: update to latest pitch prototypes
Paul Brossier [Thu, 8 Oct 2009 19:00:53 +0000 (21:00 +0200)]
tests/python/src/pitch/pitchdetection.py: update to latest pitch prototypes

15 years agopython/aubio: update to latest pitch prototypes
Paul Brossier [Thu, 8 Oct 2009 18:59:23 +0000 (20:59 +0200)]
python/aubio: update to latest pitch prototypes

15 years agoexamples plugins: update to latest pitch prototypes
Paul Brossier [Thu, 8 Oct 2009 18:54:49 +0000 (20:54 +0200)]
examples plugins: update to latest pitch prototypes

15 years agoswig/aubio.i: update pitch prototypes
Paul Brossier [Thu, 8 Oct 2009 18:52:07 +0000 (20:52 +0200)]
swig/aubio.i: update pitch prototypes

15 years agosrc/pitch/pitchdetection.{c,h}: clean and update prototypes, sync with latest pitch...
Paul Brossier [Thu, 8 Oct 2009 18:51:06 +0000 (20:51 +0200)]
src/pitch/pitchdetection.{c,h}: clean and update prototypes, sync with latest pitch objects

15 years agosrc/pitch/pitchyinfft.{c,h}: add get/set for tolerance, clean and update prototypes...
Paul Brossier [Thu, 8 Oct 2009 18:49:10 +0000 (20:49 +0200)]
src/pitch/pitchyinfft.{c,h}: add get/set for tolerance, clean and update prototypes, make multichannel

15 years agosrc/pitch/pitchyin.{c,h}: add proper aubio_pitchyin_t object, clean and update protot...
Paul Brossier [Thu, 8 Oct 2009 18:24:43 +0000 (20:24 +0200)]
src/pitch/pitchyin.{c,h}: add proper aubio_pitchyin_t object, clean and update prototypes, make multichannel

15 years agosrc/pitch/pitchschmitt.c: remove unneeded samplerate parameter, update prototypes...
Paul Brossier [Thu, 8 Oct 2009 18:20:19 +0000 (20:20 +0200)]
src/pitch/pitchschmitt.c: remove unneeded samplerate parameter, update prototypes, make multichannel

15 years agosrc/pitch/pitchmcomb.{c,h}: remove unused samplerate parameter, make multichannel...
Paul Brossier [Thu, 8 Oct 2009 18:07:20 +0000 (20:07 +0200)]
src/pitch/pitchmcomb.{c,h}: remove unused samplerate parameter, make multichannel, update prototypes

15 years agosrc/pitch/pitchfcomb.c: update prototypes, make multichannel, remove unneeded sampler...
Paul Brossier [Thu, 8 Oct 2009 17:46:46 +0000 (19:46 +0200)]
src/pitch/pitchfcomb.c: update prototypes, make multichannel, remove unneeded samplerate parameter, now returns bin

15 years agosrc/Makefile.am: update resampler filename
Paul Brossier [Thu, 8 Oct 2009 16:14:45 +0000 (18:14 +0200)]
src/Makefile.am: update resampler filename

15 years agoswig/aubio.i: update aubio_resampler_do
Paul Brossier [Thu, 8 Oct 2009 10:28:56 +0000 (12:28 +0200)]
swig/aubio.i: update aubio_resampler_do

15 years agorename src/temporal/resample.c to src/temporal/resampler.c
Paul Brossier [Thu, 8 Oct 2009 10:27:41 +0000 (12:27 +0200)]
rename src/temporal/resample.c to src/temporal/resampler.c

15 years agotests/src/test-resample.c: run 10 times, update defines
Paul Brossier [Thu, 8 Oct 2009 10:07:12 +0000 (12:07 +0200)]
tests/src/test-resample.c: run 10 times, update defines

15 years agosrc/temporal/resample.{c,h}: _do function returns void
Paul Brossier [Thu, 8 Oct 2009 10:03:08 +0000 (12:03 +0200)]
src/temporal/resample.{c,h}: _do function returns void

15 years agoplugins/puredata/aubioonset~.c: update peakpicker
Paul Brossier [Thu, 8 Oct 2009 03:50:27 +0000 (05:50 +0200)]
plugins/puredata/aubioonset~.c: update peakpicker

15 years agotests/python/examples/aubioonset.py: do not check onset is actually detected with...
Paul Brossier [Thu, 8 Oct 2009 02:31:11 +0000 (04:31 +0200)]
tests/python/examples/aubioonset.py: do not check onset is actually detected with all functions

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

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

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

15 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

15 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,

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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_

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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()

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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