aubio.git
15 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

15 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

15 years agosrc/aubio.h: include vecutils.h
Paul Brossier [Mon, 28 Sep 2009 19:16:09 +0000 (21:16 +0200)]
src/aubio.h: include vecutils.h

15 years agosrc/mathutils.h: move window types doc after ifdef cplusplus
Paul Brossier [Mon, 28 Sep 2009 19:11:41 +0000 (21:11 +0200)]
src/mathutils.h: move window types doc after ifdef cplusplus

15 years agosrc/vecutils.{c,h}: add a bunch of function to modify fvec and cvec, defined with...
Paul Brossier [Mon, 28 Sep 2009 19:09:22 +0000 (21:09 +0200)]
src/vecutils.{c,h}: add a bunch of function to modify fvec and cvec, defined with some magic macros

15 years agosrc/aubio_priv.h: define VERY_SMALL_NUMBER here, add KILL_DENORMAL and CEIL_DENORMAL...
Paul Brossier [Mon, 28 Sep 2009 18:58:03 +0000 (20:58 +0200)]
src/aubio_priv.h: define VERY_SMALL_NUMBER here, add KILL_DENORMAL and CEIL_DENORMAL macros, SAFE_LOG10 and SAFE_LOG

15 years agosrc/tempo/beattracking.c: avoid large backward off-beat errors, add define for debugging
Paul Brossier [Mon, 28 Sep 2009 18:12:02 +0000 (20:12 +0200)]
src/tempo/beattracking.c: avoid large backward off-beat errors, add define for debugging

15 years agosrc/tempo/beattracking.c: fix maxindex == winlen never reached condition, avoiding...
Paul Brossier [Sun, 27 Sep 2009 00:19:49 +0000 (02:19 +0200)]
src/tempo/beattracking.c: fix maxindex == winlen never reached condition, avoiding very large bpm values, add some debugging strings

15 years agoext/Makefile.am: update flags from SNDLIB to SNDFILE
Paul Brossier [Sat, 26 Sep 2009 16:34:54 +0000 (18:34 +0200)]
ext/Makefile.am: update flags from SNDLIB to SNDFILE

15 years agoconfigure.ac: enable silent rules
Paul Brossier [Sat, 26 Sep 2009 16:32:34 +0000 (18:32 +0200)]
configure.ac: enable silent rules

15 years agosrc/Makefile.am: add missing config.h
Paul Brossier [Sat, 26 Sep 2009 15:12:08 +0000 (17:12 +0200)]
src/Makefile.am: add missing config.h

15 years agoconfigure.ac: make libsamplerate optional
Paul Brossier [Sat, 26 Sep 2009 05:11:23 +0000 (07:11 +0200)]
configure.ac: make libsamplerate optional

15 years agodoc/Makefile.am: update list of source and generated manpages
Paul Brossier [Sat, 26 Sep 2009 05:10:15 +0000 (07:10 +0200)]
doc/Makefile.am: update list of source and generated manpages

15 years agoext/aubioext.h: add flags for libsndfile
Paul Brossier [Sat, 26 Sep 2009 04:59:32 +0000 (06:59 +0200)]
ext/aubioext.h: add flags for libsndfile

15 years agosrc/aubio.h: add HAVE_SAMPLERATE flags
Paul Brossier [Sat, 26 Sep 2009 04:51:19 +0000 (06:51 +0200)]
src/aubio.h: add HAVE_SAMPLERATE flags

15 years agosrc/temporal/resample.c: add flags
Paul Brossier [Sat, 26 Sep 2009 04:50:24 +0000 (06:50 +0200)]
src/temporal/resample.c: add flags

15 years agoswig/aubio.i: add flags for sndfile and samplerate
Paul Brossier [Sat, 26 Sep 2009 04:39:01 +0000 (06:39 +0200)]
swig/aubio.i: add flags for sndfile and samplerate

15 years agopython: finish getting rid of numarray
Paul Brossier [Sat, 26 Sep 2009 04:34:28 +0000 (06:34 +0200)]
python: finish getting rid of numarray

15 years agodoc/aubiomfcc.sgml: add brief manpage for aubiomfcc
Paul Brossier [Sat, 26 Sep 2009 02:46:41 +0000 (04:46 +0200)]
doc/aubiomfcc.sgml: add brief manpage for aubiomfcc

15 years agosrc/cvec.{c,h}: add cvec_set, cvec_zeros and cvec_ones
Paul Brossier [Sat, 26 Sep 2009 02:44:00 +0000 (04:44 +0200)]
src/cvec.{c,h}: add cvec_set, cvec_zeros and cvec_ones

15 years agodoc/aubiotrack.sgml: remove irrelevant threshold option
Paul Brossier [Sat, 26 Sep 2009 02:42:32 +0000 (04:42 +0200)]
doc/aubiotrack.sgml: remove irrelevant threshold option

15 years agopython/aubio/aubioclass.py: print filename of file that failed opening
Paul Brossier [Fri, 25 Sep 2009 23:55:27 +0000 (01:55 +0200)]
python/aubio/aubioclass.py: print filename of file that failed opening

15 years agopython/aubio: use Gnuplot.Data with_ keywords, with is a reserved keyword in python...
Paul Brossier [Fri, 25 Sep 2009 23:42:52 +0000 (01:42 +0200)]
python/aubio: use Gnuplot.Data with_ keywords, with is a reserved keyword in python 2.6 (debian #512622)

15 years agopython/aubio/gnuplot.py: use numpy, not numarray (debian #478438)
Paul Brossier [Fri, 25 Sep 2009 23:40:44 +0000 (01:40 +0200)]
python/aubio/gnuplot.py: use numpy, not numarray (debian #478438)

15 years agopython/aubio/task/notes.py: remove useless import of numarray (debian #478438)
Paul Brossier [Fri, 25 Sep 2009 23:10:55 +0000 (01:10 +0200)]
python/aubio/task/notes.py: remove useless import of numarray (debian #478438)

15 years agopython/aubio/task/onset.py: use numarray, not numpy (debian #478438)
Paul Brossier [Fri, 25 Sep 2009 23:09:50 +0000 (01:09 +0200)]
python/aubio/task/onset.py: use numarray, not numpy (debian #478438)

15 years agotests/python/localaubio.py: add some tricks to work with waf too
Paul Brossier [Fri, 25 Sep 2009 23:04:44 +0000 (01:04 +0200)]
tests/python/localaubio.py: add some tricks to work with waf too

15 years agosrc/spectral/fft.h: improve fftw types comments
Paul Brossier [Fri, 25 Sep 2009 22:38:19 +0000 (00:38 +0200)]
src/spectral/fft.h: improve fftw types comments

15 years agosrc/types.h: remove useless include and comment
Paul Brossier [Fri, 25 Sep 2009 22:33:05 +0000 (00:33 +0200)]
src/types.h: remove useless include and comment

15 years agosrc/spectral/ update license headers
Paul Brossier [Fri, 25 Sep 2009 22:32:31 +0000 (00:32 +0200)]
src/spectral/ update license headers

15 years agosrc/*.[ch]: update copyrights and license from 2003 / GPLv2 to 2003-2009 / GPLv3
Paul Brossier [Fri, 25 Sep 2009 22:04:55 +0000 (00:04 +0200)]
src/*.[ch]: update copyrights and license from 2003 / GPLv2 to 2003-2009 / GPLv3

15 years agosrc/temporal/: improve documentation for a and c-design filters
Paul Brossier [Fri, 25 Sep 2009 21:46:19 +0000 (23:46 +0200)]
src/temporal/: improve documentation for a and c-design filters

15 years agosrc/{c,l}vec.h: update documentation
Paul Brossier [Fri, 25 Sep 2009 21:37:02 +0000 (23:37 +0200)]
src/{c,l}vec.h: update documentation

15 years agodoc/*.cfg: update with doxygen -u (debian package 1.6.1-1)
Paul Brossier [Fri, 25 Sep 2009 21:08:08 +0000 (23:08 +0200)]
doc/*.cfg: update with doxygen -u (debian package 1.6.1-1)

15 years agosrc/types.h: add some documentation, use HAVE_AUBIO_DOUBLE, not AUBIO_SINGLE_PRECISION
Paul Brossier [Fri, 25 Sep 2009 21:03:34 +0000 (23:03 +0200)]
src/types.h: add some documentation, use HAVE_AUBIO_DOUBLE, not AUBIO_SINGLE_PRECISION

15 years agosrc/spectral/fft.c: use HAVE_AUBIO_DOUBLE, not AUBIO_SINGLE_PRECISION
Paul Brossier [Fri, 25 Sep 2009 21:01:37 +0000 (23:01 +0200)]
src/spectral/fft.c: use HAVE_AUBIO_DOUBLE, not AUBIO_SINGLE_PRECISION

15 years agosrc/spectral/mfcc.{c,h}: add documentation
Paul Brossier [Fri, 25 Sep 2009 21:00:44 +0000 (23:00 +0200)]
src/spectral/mfcc.{c,h}: add documentation

15 years agoext/midi: remove all midi stuff borrowed from fluidsynth, now unused
Paul Brossier [Fri, 25 Sep 2009 20:12:56 +0000 (22:12 +0200)]
ext/midi: remove all midi stuff borrowed from fluidsynth, now unused

15 years agosrc/aubio_priv.h: use HAVE_FFTW3, not _H
Paul Brossier [Fri, 25 Sep 2009 20:00:44 +0000 (22:00 +0200)]
src/aubio_priv.h: use HAVE_FFTW3, not _H

15 years agosrc/spectral/phasevoc.c: window only once, remove unused variable
Paul Brossier [Fri, 25 Sep 2009 19:57:18 +0000 (21:57 +0200)]
src/spectral/phasevoc.c: window only once, remove unused variable

15 years agoexamples/utils.{c,h}: remove old midi_player stuff, use new jack midi function
Paul Brossier [Fri, 25 Sep 2009 19:56:22 +0000 (21:56 +0200)]
examples/utils.{c,h}: remove old midi_player stuff, use new jack midi function

15 years agoext/jackio.{c,h}: add midi_out_ring for midi output event processing
Paul Brossier [Fri, 25 Sep 2009 19:53:40 +0000 (21:53 +0200)]
ext/jackio.{c,h}: add midi_out_ring for midi output event processing

15 years agoexamples/wscript_build: compile utils.c only once
Paul Brossier [Fri, 25 Sep 2009 06:30:46 +0000 (08:30 +0200)]
examples/wscript_build: compile utils.c only once

15 years agoexamples/utils.{c,h}: update copyright and license, run through indent
Paul Brossier [Fri, 25 Sep 2009 05:08:59 +0000 (07:08 +0200)]
examples/utils.{c,h}: update copyright and license, run through indent

15 years agotests/src/test-phasevoc-jack.c: update to also test midi ports and make funny noises
Paul Brossier [Fri, 25 Sep 2009 04:58:40 +0000 (06:58 +0200)]
tests/src/test-phasevoc-jack.c: update to also test midi ports and make funny noises

15 years agoext/jackio.{c,h}: add support for jack midi
Paul Brossier [Fri, 25 Sep 2009 04:56:58 +0000 (06:56 +0200)]
ext/jackio.{c,h}: add support for jack midi

15 years agoext/jackio.c: write to ochan output buffers, not ichan
Paul Brossier [Fri, 25 Sep 2009 03:21:54 +0000 (05:21 +0200)]
ext/jackio.c: write to ochan output buffers, not ichan

15 years agoext/jackio.c: get ochan output audio ports, not ichan
Paul Brossier [Fri, 25 Sep 2009 03:19:37 +0000 (05:19 +0200)]
ext/jackio.c: get ochan output audio ports, not ichan

15 years agoext/jackio.{c,h}: update copyright and license, run though indent
Paul Brossier [Fri, 25 Sep 2009 03:17:19 +0000 (05:17 +0200)]
ext/jackio.{c,h}: update copyright and license, run though indent

15 years agoswig/aubio.i: remove unused midi and jack stuff from swig
Paul Brossier [Fri, 25 Sep 2009 02:41:16 +0000 (04:41 +0200)]
swig/aubio.i: remove unused midi and jack stuff from swig

15 years agotests/src/test-hist.c: update to new_aubio_window
Paul Brossier [Fri, 25 Sep 2009 02:26:14 +0000 (04:26 +0200)]
tests/src/test-hist.c: update to new_aubio_window

15 years agotests/src/test-window.c: update to new_aubio_window
Paul Brossier [Fri, 25 Sep 2009 02:23:21 +0000 (04:23 +0200)]
tests/src/test-window.c: update to new_aubio_window

15 years agosrc/mathutils.{c,h}: change prototype from aubio_window to new_aubio_window, allocati...
Paul Brossier [Fri, 25 Sep 2009 02:20:27 +0000 (04:20 +0200)]
src/mathutils.{c,h}: change prototype from aubio_window to new_aubio_window, allocating an fvec, use new function everywhere

15 years agosrc/types.h: use wscript switch
Paul Brossier [Fri, 25 Sep 2009 02:20:07 +0000 (04:20 +0200)]
src/types.h: use wscript switch

15 years agowscript: add option to switch from single to double precision
Paul Brossier [Fri, 25 Sep 2009 02:16:45 +0000 (04:16 +0200)]
wscript: add option to switch from single to double precision

15 years agoexamples/: use native aubio smpl_t for aubio_process_func_t
Paul Brossier [Fri, 25 Sep 2009 02:12:23 +0000 (04:12 +0200)]
examples/: use native aubio smpl_t for aubio_process_func_t

15 years agoext/jackio.{c,h}: convert data from smpl_t to jack_default_audio_sample_t when needed
Paul Brossier [Fri, 25 Sep 2009 02:09:25 +0000 (04:09 +0200)]
ext/jackio.{c,h}: convert data from smpl_t to jack_default_audio_sample_t when needed

15 years agoext/sndfileio.c: convert data from and to float if smpl_t != float
Paul Brossier [Fri, 25 Sep 2009 01:54:05 +0000 (03:54 +0200)]
ext/sndfileio.c: convert data from and to float if smpl_t != float

15 years agoext/aubioext.h: only include jackio.h if HAVE_JACK
Paul Brossier [Fri, 25 Sep 2009 01:49:20 +0000 (03:49 +0200)]
ext/aubioext.h: only include jackio.h if HAVE_JACK

15 years agosrc/spectral/phasevoc.c: do no reset hop size, just leave a commented warning
Paul Brossier [Thu, 24 Sep 2009 16:16:02 +0000 (18:16 +0200)]
src/spectral/phasevoc.c: do no reset hop size, just leave a commented warning

15 years agowscript: add --with-target-platform option for cross-compiling, change name from...
Paul Brossier [Thu, 24 Sep 2009 15:28:55 +0000 (17:28 +0200)]
wscript: add --with-target-platform option for cross-compiling, change name from aubio-2.dll to libaubio-2.dll

15 years ago.bzrignore: ignore waf stuff
Paul Brossier [Wed, 23 Sep 2009 17:58:37 +0000 (19:58 +0200)]
.bzrignore: ignore waf stuff

15 years agouse waf as new build system (missing file)
Paul Brossier [Wed, 23 Sep 2009 17:58:06 +0000 (19:58 +0200)]
use waf as new build system (missing file)

15 years ago.bzrignore: allow _ in test filenames
Paul Brossier [Wed, 23 Sep 2009 17:51:16 +0000 (19:51 +0200)]
.bzrignore: allow _ in test filenames

15 years agoexamples/aubiomfcc.c: update to latest mfcc version
Paul Brossier [Wed, 23 Sep 2009 17:50:40 +0000 (19:50 +0200)]
examples/aubiomfcc.c: update to latest mfcc version

15 years agouse waf as new build system
Paul Brossier [Wed, 23 Sep 2009 17:47:16 +0000 (19:47 +0200)]
use waf as new build system

15 years agoreplace FOO_SUPPORT with HAVE_FOO, use float for jack_process function prototype
Paul Brossier [Wed, 23 Sep 2009 17:40:14 +0000 (19:40 +0200)]
replace FOO_SUPPORT with HAVE_FOO, use float for jack_process function prototype

15 years agosrc/spectral/filterbank*.c: reduce filterbank size to n/2+1, other half is always...
Paul Brossier [Wed, 23 Sep 2009 16:37:24 +0000 (18:37 +0200)]
src/spectral/filterbank*.c: reduce filterbank size to n/2+1, other half is always empty

15 years agoexamples/utils.c: add --bufsize option and short message when option parsing went...
Paul Brossier [Tue, 22 Sep 2009 15:37:36 +0000 (17:37 +0200)]
examples/utils.c: add --bufsize option and short message when option parsing went wrong (should never happen)

15 years agosrc/cvec.c: add cvec_print
Paul Brossier [Mon, 21 Sep 2009 16:17:02 +0000 (18:17 +0200)]
src/cvec.c: add cvec_print

15 years agosrc/spectral/fft.c: fix horrible bug where norm[0] and norm[n/2+1] could be negative
Paul Brossier [Mon, 21 Sep 2009 16:15:05 +0000 (18:15 +0200)]
src/spectral/fft.c: fix horrible bug where norm[0] and norm[n/2+1] could be negative

15 years agoswig/aubio.i: update new_aubio_mfcc prototype
Paul Brossier [Fri, 18 Sep 2009 00:56:10 +0000 (02:56 +0200)]
swig/aubio.i: update new_aubio_mfcc prototype

15 years agosrc/spectral/mfcc.c: zero output before computing it
Paul Brossier [Thu, 17 Sep 2009 22:57:31 +0000 (00:57 +0200)]
src/spectral/mfcc.c: zero output before computing it

15 years agotest-mfcc.c: add simple mfcc test
Paul Brossier [Thu, 17 Sep 2009 18:07:24 +0000 (20:07 +0200)]
test-mfcc.c: add simple mfcc test

15 years agosrc/spectral/mfcc.h: remove obsolete reference to libxtract, update copyright and...
Paul Brossier [Thu, 17 Sep 2009 18:04:00 +0000 (20:04 +0200)]
src/spectral/mfcc.h: remove obsolete reference to libxtract, update copyright and license to GPLv3, indent

15 years agosrc/spectral/mfcc.c: indent, update to GPLv3
Paul Brossier [Thu, 17 Sep 2009 17:54:57 +0000 (19:54 +0200)]
src/spectral/mfcc.c: indent, update to GPLv3

15 years agomfcc.c: use a coefficient table for DCT computation, remove unused parameters
Paul Brossier [Thu, 17 Sep 2009 17:31:54 +0000 (19:31 +0200)]
mfcc.c: use a coefficient table for DCT computation, remove unused parameters

15 years agofilterbank.c: use base 10 logarithm
Paul Brossier [Thu, 17 Sep 2009 17:30:15 +0000 (19:30 +0200)]
filterbank.c: use base 10 logarithm

15 years agotests/src/test-filterbank_mel.c: added filterbank_mel test
Paul Brossier [Thu, 17 Sep 2009 12:37:26 +0000 (14:37 +0200)]
tests/src/test-filterbank_mel.c: added filterbank_mel test

15 years agosrc/types.h: remove completed todo items, hardcode AUBIO_SINGLE_PRECISION to 1 for now
Paul Brossier [Thu, 17 Sep 2009 05:33:29 +0000 (07:33 +0200)]
src/types.h: remove completed todo items, hardcode AUBIO_SINGLE_PRECISION to 1 for now

15 years agosrc/lvec.{c,h}: add lvec_print
Paul Brossier [Thu, 17 Sep 2009 05:30:50 +0000 (07:30 +0200)]
src/lvec.{c,h}: add lvec_print

15 years agosrc/fvec.c: use AUBIO_SMPL_FMT
Paul Brossier [Thu, 17 Sep 2009 05:24:31 +0000 (07:24 +0200)]
src/fvec.c: use AUBIO_SMPL_FMT

15 years agoext/midi/midi_player.c: use AUBIO_LSMP_FMT
Paul Brossier [Thu, 17 Sep 2009 05:22:34 +0000 (07:22 +0200)]
ext/midi/midi_player.c: use AUBIO_LSMP_FMT

15 years agosrc/spectral/fft.c: use native fftw types, add warning if single fftw is used with...
Paul Brossier [Thu, 17 Sep 2009 05:16:20 +0000 (07:16 +0200)]
src/spectral/fft.c: use native fftw types, add warning if single fftw is used with aubio double

15 years agosrc/aubio_priv.h: add AUBIO_WRN, add message to _WRN and _ERR, use double precision...
Paul Brossier [Thu, 17 Sep 2009 05:14:19 +0000 (07:14 +0200)]
src/aubio_priv.h: add AUBIO_WRN, add message to _WRN and _ERR, use double precision functions if AUBIO_SINGLE_PRECISION is not defined

15 years agosrc/types.h: add a switch between single and double precision
Paul Brossier [Thu, 17 Sep 2009 05:09:57 +0000 (07:09 +0200)]
src/types.h: add a switch between single and double precision

15 years agosrc/spectral/filterbank_mel.c: remove unused variable
Paul Brossier [Thu, 17 Sep 2009 05:08:15 +0000 (07:08 +0200)]
src/spectral/filterbank_mel.c: remove unused variable

15 years agoext/sndfileio.c: cat to sndfile native type
Paul Brossier [Thu, 17 Sep 2009 05:07:11 +0000 (07:07 +0200)]
ext/sndfileio.c: cat to sndfile native type

15 years agosrc/temporal/resample.c: cast to SRC native type
Paul Brossier [Thu, 17 Sep 2009 05:06:11 +0000 (07:06 +0200)]
src/temporal/resample.c: cast to SRC native type

15 years agosrc/spectral/filterbank_mel.c: move Slaney's specific code to _slaney function
Paul Brossier [Thu, 17 Sep 2009 03:54:25 +0000 (05:54 +0200)]
src/spectral/filterbank_mel.c: move Slaney's specific code to _slaney function

15 years agotests/src/Makefile.am: add filterbank_mel test
Paul Brossier [Thu, 17 Sep 2009 02:38:50 +0000 (04:38 +0200)]
tests/src/Makefile.am: add filterbank_mel test

15 years agosrc/spectral/filterbank_mel.c: shorten counter variable names, improve comments,...
Paul Brossier [Thu, 17 Sep 2009 02:21:40 +0000 (04:21 +0200)]
src/spectral/filterbank_mel.c: shorten counter variable names, improve comments, run through indent

15 years agosrc/spectral/filterbank_mel.c: correct computation of coefficients, use float sampler...
Paul Brossier [Thu, 17 Sep 2009 02:02:04 +0000 (04:02 +0200)]
src/spectral/filterbank_mel.c: correct computation of coefficients, use float samplerate, use POW, make sure we don't try to set unexisting filters

15 years agotest-filterbank.c: add trivial test for filterbank object
Paul Brossier [Wed, 16 Sep 2009 23:37:03 +0000 (01:37 +0200)]
test-filterbank.c: add trivial test for filterbank object

15 years agosrc/spectral/filterbank_mel.{c,h}: indent
Paul Brossier [Wed, 16 Sep 2009 23:26:49 +0000 (01:26 +0200)]
src/spectral/filterbank_mel.{c,h}: indent

15 years agosrc/spectral/filterbank.{c,h}: indent
Paul Brossier [Wed, 16 Sep 2009 23:25:10 +0000 (01:25 +0200)]
src/spectral/filterbank.{c,h}: indent

15 years agosrc/spectral/filterbank.c: refactorise filter bank, split mel frequency coefficients...
Paul Brossier [Wed, 16 Sep 2009 23:20:54 +0000 (01:20 +0200)]
src/spectral/filterbank.c: refactorise filter bank, split mel frequency coefficients to src/spectral/filterbank_mel.c, start bumping license to GPLv3

15 years agosrc/tempo/beattracking.c: no changes, indent
Paul Brossier [Tue, 15 Sep 2009 15:02:45 +0000 (17:02 +0200)]
src/tempo/beattracking.c: no changes, indent

15 years agosrc/tempo/beattracking.c: use fvec_ utilities, improve comments
Paul Brossier [Sun, 13 Sep 2009 21:54:23 +0000 (23:54 +0200)]
src/tempo/beattracking.c: use fvec_ utilities, improve comments

15 years agosrc/fvec.{c,h}: add fvec_set _zeros _ones _rev _weight and _copy utilities functions
Paul Brossier [Sat, 12 Sep 2009 12:28:00 +0000 (14:28 +0200)]
src/fvec.{c,h}: add fvec_set _zeros _ones _rev _weight and _copy utilities functions