aubio.git
14 years agogenerator.py: fix indentation, do not allow any error
Paul Brossier [Wed, 21 Oct 2009 17:53:59 +0000 (19:53 +0200)]
generator.py: fix indentation, do not allow any error

14 years agointerfaces/python/py-cvec.c: write setters for norm and phas
Paul Brossier [Wed, 21 Oct 2009 14:12:42 +0000 (16:12 +0200)]
interfaces/python/py-cvec.c: write setters for norm and phas

14 years agosrc/temporal: improve documentation
Paul Brossier [Wed, 21 Oct 2009 13:56:16 +0000 (15:56 +0200)]
src/temporal: improve documentation

14 years agosrc/aubio.h: remove HAVE_SAMPLERATE, not needed here
Paul Brossier [Wed, 21 Oct 2009 13:41:35 +0000 (15:41 +0200)]
src/aubio.h: remove HAVE_SAMPLERATE, not needed here

14 years agogen_pyobject.py: fix initialisation of strings and tempo output size
Paul Brossier [Wed, 21 Oct 2009 13:40:23 +0000 (15:40 +0200)]
gen_pyobject.py: fix initialisation of strings and tempo output size

14 years agoaubioinput.py: use uridecodebin, add run method, return 1 on error
Paul Brossier [Wed, 21 Oct 2009 13:16:02 +0000 (15:16 +0200)]
aubioinput.py: use uridecodebin, add run method, return 1 on error

14 years agoexamples/: set threshold as needed
Paul Brossier [Wed, 21 Oct 2009 13:08:24 +0000 (15:08 +0200)]
examples/: set threshold as needed

14 years agoaubioinput.py: added first draft of generic gst input
Paul Brossier [Tue, 20 Oct 2009 17:26:28 +0000 (19:26 +0200)]
aubioinput.py: added first draft of generic gst input

14 years agopython/: update to new filter, test_filter.py py-filter.c
Paul Brossier [Mon, 19 Oct 2009 13:27:20 +0000 (15:27 +0200)]
python/: update to new filter, test_filter.py py-filter.c

14 years agoadded crazy generator
Paul Brossier [Mon, 19 Oct 2009 13:09:21 +0000 (15:09 +0200)]
added crazy generator

14 years ago.
Paul Brossier [Mon, 19 Oct 2009 13:08:43 +0000 (15:08 +0200)]
.

14 years agosrc/temporal/filter.c: reset filter memory in filtfilt
Paul Brossier [Mon, 19 Oct 2009 13:00:32 +0000 (15:00 +0200)]
src/temporal/filter.c: reset filter memory in filtfilt

14 years agosrc/lvec.{c,h}: add some utils
Paul Brossier [Mon, 19 Oct 2009 12:58:31 +0000 (14:58 +0200)]
src/lvec.{c,h}: add some utils

14 years agosrc/temporal: derive biquad from filter, use in peakpicker
Paul Brossier [Mon, 19 Oct 2009 12:45:13 +0000 (14:45 +0200)]
src/temporal: derive biquad from filter, use in peakpicker

14 years agosrc/spectral/filter.c, src/temporal/filterbank_mel.c: move samplerate to the end
Paul Brossier [Mon, 19 Oct 2009 11:52:04 +0000 (13:52 +0200)]
src/spectral/filter.c, src/temporal/filterbank_mel.c: move samplerate to the end

14 years agoexamples/aubiopitch.c: added c version of aubiopitch, more renaming
Paul Brossier [Mon, 19 Oct 2009 08:59:32 +0000 (10:59 +0200)]
examples/aubiopitch.c: added c version of aubiopitch, more renaming

14 years agorename aubio_pitchdetection to aubio_pitch
Paul Brossier [Mon, 19 Oct 2009 08:51:59 +0000 (10:51 +0200)]
rename aubio_pitchdetection to aubio_pitch

14 years agopython/aubio/aubioclass.py: update peakpicker usage
Paul Brossier [Sun, 18 Oct 2009 13:20:00 +0000 (15:20 +0200)]
python/aubio/aubioclass.py: update peakpicker usage

14 years agoexamples/aubionotes.c: update median usage
Paul Brossier [Sun, 18 Oct 2009 13:19:26 +0000 (15:19 +0200)]
examples/aubionotes.c: update median usage

14 years agotests/python/src/onset/peakpick.py: update peakpicker usage
Paul Brossier [Sun, 18 Oct 2009 13:18:33 +0000 (15:18 +0200)]
tests/python/src/onset/peakpick.py: update peakpicker usage

14 years agoswig/aubio.i: remove unused extern, update peakpicker
Paul Brossier [Sun, 18 Oct 2009 13:17:20 +0000 (15:17 +0200)]
swig/aubio.i: remove unused extern, update peakpicker

14 years agoChange peakpicker to match API specs, make quadint per channel
Paul Brossier [Sun, 18 Oct 2009 13:08:59 +0000 (15:08 +0200)]
Change peakpicker to match API specs, make quadint per channel
 * src/mathutils.c
   - add per channel mean and median
   - update moving thres and adapt_thres accordingly
   - change quadint unused span argument to a channel argument
 * src/onset/onset.c:
   - make wasonset a vector for multi channel, use new peakpicker
 * src/onset/peakpick.c:
   - update peakpicker do for multi channeling
 * src/pitch/: update use to fvec_quadint
 * src/tempo/beattracking.c: update calls to fvec_quadint
 * src/tempo/tempo.c: update peakpicker usage
 * tests/src/test-peakpick.c: update peakpicker usage

14 years agoswig/aubio.i: remove windo enum
Paul Brossier [Sat, 17 Oct 2009 15:18:47 +0000 (17:18 +0200)]
swig/aubio.i: remove windo enum

14 years agosrc/mathutils.c: use a string for window type, making enum private
Paul Brossier [Sat, 17 Oct 2009 12:38:47 +0000 (14:38 +0200)]
src/mathutils.c: use a string for window type, making enum private

14 years agoremove references to aubioext in Makefile.am
Paul Brossier [Sat, 17 Oct 2009 12:15:32 +0000 (14:15 +0200)]
remove references to aubioext in Makefile.am

14 years agoext/, examples/, swig/, python/, tests/: remove libaubioext, make libsamplerate optional
Paul Brossier [Fri, 16 Oct 2009 22:43:00 +0000 (00:43 +0200)]
ext/, examples/, swig/, python/, tests/: remove libaubioext, make libsamplerate optional

14 years agosrc/spectral/mfcc.h: indent
Paul Brossier [Fri, 16 Oct 2009 21:04:50 +0000 (23:04 +0200)]
src/spectral/mfcc.h: indent

14 years agoexamples/: make use of aubio_onset in aubioonset and aubionotes, simplify, keep only...
Paul Brossier [Fri, 16 Oct 2009 21:03:08 +0000 (23:03 +0200)]
examples/: make use of aubio_onset in aubioonset and aubionotes, simplify, keep only general stuff in utils

14 years agotests/src/: update mfcc
Paul Brossier [Fri, 16 Oct 2009 20:56:17 +0000 (22:56 +0200)]
tests/src/: update mfcc

14 years agosrc/spectral/mfcc.c: move samplerate at the end of params
Paul Brossier [Fri, 16 Oct 2009 20:55:55 +0000 (22:55 +0200)]
src/spectral/mfcc.c: move samplerate at the end of params

14 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

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

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

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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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