aubio.git
15 years agotests/src/: update to use samplerate
Paul Brossier [Fri, 16 Oct 2009 19:57:29 +0000 (21:57 +0200)]
tests/src/: update to use samplerate

15 years agosrc/onset/: use samplerate
Paul Brossier [Fri, 16 Oct 2009 19:56:26 +0000 (21:56 +0200)]
src/onset/: use samplerate

15 years agosrc/tempo: use samplerate
Paul Brossier [Fri, 16 Oct 2009 19:55:02 +0000 (21:55 +0200)]
src/tempo: use samplerate

15 years agoplugins/puredata/aubioonset~.c: indent
Paul Brossier [Fri, 16 Oct 2009 19:54:10 +0000 (21:54 +0200)]
plugins/puredata/aubioonset~.c: indent

15 years agoplugins/puredata/aubioonset~.c: use onset driver
Paul Brossier [Fri, 16 Oct 2009 19:53:17 +0000 (21:53 +0200)]
plugins/puredata/aubioonset~.c: use onset driver

15 years agosrc/temporal/resampler.h: only defined if HAVE_SAMPLERATE
Paul Brossier [Fri, 16 Oct 2009 19:51:31 +0000 (21:51 +0200)]
src/temporal/resampler.h: only defined if HAVE_SAMPLERATE

15 years agotests/src/test-{hist,window}.c: remove unused argc argv
Paul Brossier [Fri, 16 Oct 2009 19:28:59 +0000 (21:28 +0200)]
tests/src/test-{hist,window}.c: remove unused argc argv

15 years agosrc/tempo/beattracking.c: default to no warnings
Paul Brossier [Fri, 16 Oct 2009 17:56:10 +0000 (19:56 +0200)]
src/tempo/beattracking.c: default to no warnings

15 years agopython/aubio: utils.py removed
Paul Brossier [Fri, 16 Oct 2009 17:40:32 +0000 (19:40 +0200)]
python/aubio: utils.py removed

15 years agoconfigure.ac: when compiling with --enable-double, default to fftw3
Paul Brossier [Fri, 16 Oct 2009 15:55:58 +0000 (17:55 +0200)]
configure.ac: when compiling with --enable-double, default to fftw3

15 years agosrc/onset/peakpick.{c,h}: setters to return uint
Paul Brossier [Fri, 16 Oct 2009 02:26:05 +0000 (04:26 +0200)]
src/onset/peakpick.{c,h}: setters to return uint

15 years agosrc/tempo/tempo.{c,h}: setters to return unsigned ints
Paul Brossier [Fri, 16 Oct 2009 02:16:42 +0000 (04:16 +0200)]
src/tempo/tempo.{c,h}: setters to return unsigned ints

15 years agosrc/onset/onset.c: setters to return unsigned ints
Paul Brossier [Fri, 16 Oct 2009 02:03:03 +0000 (04:03 +0200)]
src/onset/onset.c: setters to return unsigned ints

15 years agosrc/spectral/tss.c: simplify new_ method, add setters for threshold, alpha, and beta
Paul Brossier [Fri, 16 Oct 2009 02:02:01 +0000 (04:02 +0200)]
src/spectral/tss.c: simplify new_ method, add setters for threshold, alpha, and beta

15 years agosrc/utils/scale.{c,h}: set method to return int
Paul Brossier [Thu, 15 Oct 2009 19:09:38 +0000 (21:09 +0200)]
src/utils/scale.{c,h}: set method to return int

15 years agosrc/pitch/pitchdetection.{c,h}: update documentation, return ints in set methods
Paul Brossier [Thu, 15 Oct 2009 19:06:56 +0000 (21:06 +0200)]
src/pitch/pitchdetection.{c,h}: update documentation, return ints in set methods

15 years agosrc/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints
Paul Brossier [Thu, 15 Oct 2009 18:50:51 +0000 (20:50 +0200)]
src/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints

15 years agopython/: remove task.utils, not used anymore
Paul Brossier [Thu, 15 Oct 2009 18:46:32 +0000 (20:46 +0200)]
python/: remove task.utils, not used anymore

15 years agosrc/pitch: use a string to set pitch method, add a new function to set pitch unit...
Paul Brossier [Thu, 15 Oct 2009 16:54:23 +0000 (18:54 +0200)]
src/pitch: use a string to set pitch method, add a new function to set pitch unit, keep pitch enums private, update pitch methods where they are used

15 years agosrc/onset/onsetdetection.c: add 'default' method, set it to hfc, set method to defaul...
Paul Brossier [Thu, 15 Oct 2009 16:49:47 +0000 (18:49 +0200)]
src/onset/onsetdetection.c: add 'default' method, set it to hfc, set method to default when parsing the string fails

15 years agosrc/onset: use a string to set onset mode, keeping onset types enum private, update...
Paul Brossier [Thu, 15 Oct 2009 15:09:34 +0000 (17:09 +0200)]
src/onset: use a string to set onset mode, keeping onset types enum private, update everywhere onsets are used

15 years agosrc/types.h: added a typedef for char to help wrappers
Paul Brossier [Thu, 15 Oct 2009 14:07:36 +0000 (16:07 +0200)]
src/types.h: added a typedef for char to help wrappers

15 years agosrc/tempo/beattracking.h: fix typo
Paul Brossier [Thu, 15 Oct 2009 13:52:18 +0000 (15:52 +0200)]
src/tempo/beattracking.h: fix typo

15 years agosrc/temporal/resampler.{c,h}: use smpl_t, and convet that to a double for libsamplerate
Paul Brossier [Thu, 15 Oct 2009 13:37:08 +0000 (15:37 +0200)]
src/temporal/resampler.{c,h}: use smpl_t, and convet that to a double for libsamplerate

15 years agosrc/spectral: cosmetic changes
Paul Brossier [Thu, 15 Oct 2009 13:12:19 +0000 (15:12 +0200)]
src/spectral: cosmetic changes

15 years agosrc/pitch: cosmetic changes
Paul Brossier [Thu, 15 Oct 2009 13:09:07 +0000 (15:09 +0200)]
src/pitch: cosmetic changes

15 years agosrc/spectral/mfcc.c: also loop over channels
Paul Brossier [Sun, 11 Oct 2009 10:49:49 +0000 (12:49 +0200)]
src/spectral/mfcc.c: also loop over channels

15 years agosrc/spectral/fft.c: fix imag boundaries, including for odd fft sizes
Paul Brossier [Sun, 11 Oct 2009 10:47:43 +0000 (12:47 +0200)]
src/spectral/fft.c: fix imag boundaries, including for odd fft sizes

15 years agosrc/spectral/fft.c: make sure we set allocated vectors to 0
Paul Brossier [Sun, 11 Oct 2009 10:40:04 +0000 (12:40 +0200)]
src/spectral/fft.c: make sure we set allocated vectors to 0

15 years agosrc/spectral/fft.c: 0 and N/2 + 1 phase must carry the sign of respective real components
Paul Brossier [Sun, 11 Oct 2009 10:38:43 +0000 (12:38 +0200)]
src/spectral/fft.c: 0 and N/2 + 1 phase must carry the sign of respective real components

15 years agosrc/spectral/fft.c: do not zero phase for no good reason, use ATAN2 macro
Paul Brossier [Sun, 11 Oct 2009 10:37:01 +0000 (12:37 +0200)]
src/spectral/fft.c: do not zero phase for no good reason, use ATAN2 macro

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