aubio.git
7 years agopython/tests/test_sink.py: add more tests, quiet warnings
Paul Brossier [Mon, 28 Nov 2016 17:20:19 +0000 (18:20 +0100)]
python/tests/test_sink.py: add more tests, quiet warnings

7 years agopython/tests/: use local import, create __init__.py
Paul Brossier [Mon, 28 Nov 2016 17:18:49 +0000 (18:18 +0100)]
python/tests/: use local import, create __init__.py

7 years agopython/tests/test_fft.py: skip test fft(zeros).phas == 0 if needed, expected powerpc
Paul Brossier [Mon, 28 Nov 2016 17:14:01 +0000 (18:14 +0100)]
python/tests/test_fft.py: skip test fft(zeros).phas == 0 if needed, expected powerpc

7 years agopython/lib/moresetuptools.py: cleaner clean
Paul Brossier [Mon, 28 Nov 2016 17:12:37 +0000 (18:12 +0100)]
python/lib/moresetuptools.py: cleaner clean

7 years agosrc/pitch/pitch.h: add basic description of unit modes
Paul Brossier [Mon, 28 Nov 2016 16:32:17 +0000 (17:32 +0100)]
src/pitch/pitch.h: add basic description of unit modes

7 years agosrc/{fmat,fvec}.c: avoid integer division
Paul Brossier [Mon, 28 Nov 2016 16:31:45 +0000 (17:31 +0100)]
src/{fmat,fvec}.c: avoid integer division

7 years agodoc/Makefile: create and clean _static
Paul Brossier [Mon, 28 Nov 2016 16:30:27 +0000 (17:30 +0100)]
doc/Makefile: create and clean _static

7 years agoMakefile: add html and dist targets
Paul Brossier [Mon, 28 Nov 2016 16:29:37 +0000 (17:29 +0100)]
Makefile: add html and dist targets

7 years agoMakefile: generate more test sounds
Paul Brossier [Mon, 28 Nov 2016 16:29:21 +0000 (17:29 +0100)]
Makefile: generate more test sounds

7 years agopython/ext/py-cvec.c: use NPY_INTP_FMT
Paul Brossier [Mon, 28 Nov 2016 16:19:32 +0000 (17:19 +0100)]
python/ext/py-cvec.c: use NPY_INTP_FMT

7 years agoMakefile: verbose waf rules, add cleanwaf
Paul Brossier [Mon, 28 Nov 2016 16:09:08 +0000 (17:09 +0100)]
Makefile: verbose waf rules, add cleanwaf

7 years agosetup.py, python/lib/: use sorted glob.glob to improve reproducibility
Paul Brossier [Mon, 28 Nov 2016 14:48:34 +0000 (15:48 +0100)]
setup.py, python/lib/: use sorted glob.glob to improve reproducibility

7 years agosrc/io/source_wavread.c: improve error messages
Paul Brossier [Mon, 28 Nov 2016 14:13:19 +0000 (15:13 +0100)]
src/io/source_wavread.c: improve error messages

7 years agosrc/wscript_build: also install static library
Paul Brossier [Sat, 26 Nov 2016 13:52:37 +0000 (14:52 +0100)]
src/wscript_build: also install static library

See this post from waf author:
  https://groups.google.com/forum/#!msg/waf-users/GBHPrmO_lDg/34VWYEaks40J

7 years agoMakefile: use bdist_wheel in test_pure_python
Paul Brossier [Thu, 17 Nov 2016 13:04:28 +0000 (14:04 +0100)]
Makefile: use bdist_wheel in test_pure_python

7 years ago.travis.yml: alway upgrade pip
Paul Brossier [Thu, 17 Nov 2016 12:52:52 +0000 (13:52 +0100)]
.travis.yml: alway upgrade pip

7 years ago.travis.yml: add pip --version and which pip after, remove --user
Paul Brossier [Thu, 17 Nov 2016 12:42:27 +0000 (13:42 +0100)]
.travis.yml: add pip --version and which pip after, remove --user

7 years ago.travis.yml: fix syntax
Paul Brossier [Thu, 17 Nov 2016 12:16:09 +0000 (13:16 +0100)]
.travis.yml: fix syntax

7 years ago.travis.yml: upgrade pip first
Paul Brossier [Thu, 17 Nov 2016 12:13:08 +0000 (13:13 +0100)]
.travis.yml: upgrade pip first

7 years agopython/README.md: add a note about nose2 for python tests (closes #74)
Paul Brossier [Thu, 17 Nov 2016 01:51:47 +0000 (02:51 +0100)]
python/README.md: add a note about nose2 for python tests (closes #74)

7 years agopython/demos/demo_alsa.py: add example using alsaaudio (closes #72)
Paul Brossier [Wed, 16 Nov 2016 10:57:43 +0000 (11:57 +0100)]
python/demos/demo_alsa.py: add example using alsaaudio (closes #72)

7 years agopython/demos/demo_timestretch*: use // to yield an integer (closes #71)
Paul Brossier [Wed, 16 Nov 2016 09:54:14 +0000 (10:54 +0100)]
python/demos/demo_timestretch*: use // to yield an integer (closes #71)

7 years agosrc/io/source_avcodec.c: improve error message
Paul Brossier [Wed, 5 Oct 2016 12:14:24 +0000 (14:14 +0200)]
src/io/source_avcodec.c: improve error message

7 years agosrc/io/sink.c: only show error message from last child sink_
Paul Brossier [Wed, 5 Oct 2016 12:08:41 +0000 (14:08 +0200)]
src/io/sink.c: only show error message from last child sink_

7 years agosrc/io/source_wavread.c: initialize buffer
Paul Brossier [Wed, 5 Oct 2016 09:45:36 +0000 (11:45 +0200)]
src/io/source_wavread.c: initialize buffer

7 years agosrc/io/source.c: only show error message from last child source_
Paul Brossier [Mon, 3 Oct 2016 19:09:52 +0000 (21:09 +0200)]
src/io/source.c: only show error message from last child source_

7 years agosrc/spectral/ooura_fft8g.c: add cast to avoid conversion warnings
Paul Brossier [Mon, 3 Oct 2016 18:58:22 +0000 (20:58 +0200)]
src/spectral/ooura_fft8g.c: add cast to avoid conversion warnings

7 years agosrc/aubio_priv.h: add ATAN alias
Paul Brossier [Mon, 3 Oct 2016 18:57:46 +0000 (20:57 +0200)]
src/aubio_priv.h: add ATAN alias

7 years agosrc/notes/notes.h: add _{get,set}_silence methods
Paul Brossier [Mon, 3 Oct 2016 18:46:46 +0000 (20:46 +0200)]
src/notes/notes.h: add _{get,set}_silence methods

7 years agoexamples/: return 1 if object creation failed
Paul Brossier [Mon, 3 Oct 2016 16:59:12 +0000 (18:59 +0200)]
examples/: return 1 if object creation failed

7 years agoexamples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE
Paul Brossier [Mon, 3 Oct 2016 16:41:10 +0000 (18:41 +0200)]
examples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE

7 years agosrc/temporal/resampler.c: throw an error when using libsamplerate with doubles
Paul Brossier [Mon, 3 Oct 2016 14:50:36 +0000 (16:50 +0200)]
src/temporal/resampler.c: throw an error when using libsamplerate with doubles

7 years agoMakefile: pass build_ext in test_pure_python{,_wheel}
Paul Brossier [Mon, 3 Oct 2016 14:48:54 +0000 (16:48 +0200)]
Makefile: pass build_ext  in test_pure_python{,_wheel}

7 years agosetup.py: use custom build_ext instead of 'generate' command, define HAVE_AUBIO_DOUBL...
Paul Brossier [Mon, 3 Oct 2016 14:40:48 +0000 (16:40 +0200)]
setup.py: use custom build_ext instead of 'generate' command, define HAVE_AUBIO_DOUBLE to 1 if needed

7 years agopython/lib/moresetuptools.py: use samplerate in single precision only
Paul Brossier [Mon, 3 Oct 2016 14:33:02 +0000 (16:33 +0200)]
python/lib/moresetuptools.py: use samplerate in single precision only

7 years agowscript: disable libsamplerate if double precision enabled (libsamplerate only suppor...
Paul Brossier [Mon, 3 Oct 2016 12:24:29 +0000 (14:24 +0200)]
wscript: disable libsamplerate if double precision enabled (libsamplerate only supports float)

7 years agosrc/io/source_sndfile.c: set handle to null after sucessful close
Paul Brossier [Mon, 3 Oct 2016 11:28:08 +0000 (13:28 +0200)]
src/io/source_sndfile.c: set handle to null after sucessful close

7 years agopython/tests/test_source.py: only check if last frames are non silent on brownnoise...
Paul Brossier [Mon, 3 Oct 2016 10:24:35 +0000 (12:24 +0200)]
python/tests/test_source.py: only check if last frames are non silent on brownnoise (weak)

7 years agowscript: add options to disable source_wavread/sink_wavwrite
Paul Brossier [Mon, 3 Oct 2016 10:02:00 +0000 (12:02 +0200)]
wscript: add options to disable source_wavread/sink_wavwrite

7 years agosrc/spectral/phasevoc.c: fix error string
Paul Brossier [Mon, 3 Oct 2016 09:49:28 +0000 (11:49 +0200)]
src/spectral/phasevoc.c: fix error string

7 years agosrc/pitch/pitch.c: fix error string
Paul Brossier [Mon, 3 Oct 2016 09:48:22 +0000 (11:48 +0200)]
src/pitch/pitch.c: fix error string

7 years agosrc/io/source_avcodec.c: fix missing samples in eof block
Paul Brossier [Mon, 3 Oct 2016 09:47:25 +0000 (11:47 +0200)]
src/io/source_avcodec.c: fix missing samples in eof block

7 years agopython/tests/test_source.py: check the tail of the file is non-zero on non silent...
Paul Brossier [Mon, 3 Oct 2016 09:46:37 +0000 (11:46 +0200)]
python/tests/test_source.py: check the tail of the file is non-zero on non silent test files

7 years agosrc/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static
Paul Brossier [Wed, 28 Sep 2016 13:18:30 +0000 (15:18 +0200)]
src/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static

7 years agosrc/pitch/pitch.c: fail on wrong method, warn on wrong unit, improve error messages
Paul Brossier [Wed, 28 Sep 2016 13:16:45 +0000 (15:16 +0200)]
src/pitch/pitch.c: fail on wrong method, warn on wrong unit, improve error messages

7 years agosrc/onset/onset.c: return null and clean-up if new_aubio_specdesc failed
Paul Brossier [Wed, 28 Sep 2016 13:10:25 +0000 (15:10 +0200)]
src/onset/onset.c: return null and clean-up if new_aubio_specdesc failed

7 years agosrc/onset/onset.c: fix error message
Paul Brossier [Wed, 28 Sep 2016 13:09:40 +0000 (15:09 +0200)]
src/onset/onset.c: fix error message

7 years agosrc/pitch/pitch.c: declare internal functions as static
Paul Brossier [Wed, 28 Sep 2016 13:08:33 +0000 (15:08 +0200)]
src/pitch/pitch.c: declare internal functions as static

7 years agosrc/pitch/pitch.h: add aubio_pitch_get_tolerance
Paul Brossier [Wed, 28 Sep 2016 00:23:16 +0000 (02:23 +0200)]
src/pitch/pitch.h: add aubio_pitch_get_tolerance

7 years agosrc/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes
Paul Brossier [Tue, 27 Sep 2016 16:26:02 +0000 (18:26 +0200)]
src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes

7 years agosrc/spectral/fft.c: use prefixed aubio_ooura_rdft
Paul Brossier [Tue, 27 Sep 2016 22:23:24 +0000 (00:23 +0200)]
src/spectral/fft.c: use prefixed aubio_ooura_rdft

7 years agosrc/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with...
Paul Brossier [Tue, 27 Sep 2016 22:22:47 +0000 (00:22 +0200)]
src/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with other apps using ooura (e.g. puredata), make internal functions static

7 years agopython/ext/aubiomodule.c: remove duplicate add_generated_objects
Paul Brossier [Fri, 23 Sep 2016 06:03:39 +0000 (08:03 +0200)]
python/ext/aubiomodule.c: remove duplicate add_generated_objects

7 years agopython/ext/aubiomodule.c: undo last commit
Paul Brossier [Fri, 23 Sep 2016 06:01:34 +0000 (08:01 +0200)]
python/ext/aubiomodule.c: undo last commit

7 years agopython/ext/aubiomodule.c: remove extern
Paul Brossier [Fri, 23 Sep 2016 05:54:04 +0000 (07:54 +0200)]
python/ext/aubiomodule.c: remove extern

7 years agopython/ext/py-source.c: use error string set in src/io/source.c
Paul Brossier [Fri, 23 Sep 2016 01:24:07 +0000 (03:24 +0200)]
python/ext/py-source.c: use error string set in src/io/source.c

7 years agopython/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c
Paul Brossier [Fri, 23 Sep 2016 01:23:47 +0000 (03:23 +0200)]
python/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c

7 years agopython/ext/py-fft.c: use error string set in src/spectral/fft.c
Paul Brossier [Fri, 23 Sep 2016 01:22:51 +0000 (03:22 +0200)]
python/ext/py-fft.c: use error string set in src/spectral/fft.c

7 years agosrc/io/source_sndfile.c: add support for multi-channel resampling
Paul Brossier [Fri, 23 Sep 2016 00:43:35 +0000 (02:43 +0200)]
src/io/source_sndfile.c: add support for multi-channel resampling

7 years agopython/tests/test_source.py: break long line
Paul Brossier [Thu, 22 Sep 2016 23:27:21 +0000 (01:27 +0200)]
python/tests/test_source.py: break long line

7 years agosrc/notes/notes.c: fix error message
Paul Brossier [Thu, 22 Sep 2016 23:14:47 +0000 (01:14 +0200)]
src/notes/notes.c: fix error message

7 years agosrc/spectral/fft.h: strip example path
Paul Brossier [Thu, 22 Sep 2016 22:50:01 +0000 (00:50 +0200)]
src/spectral/fft.h: strip example path

7 years agopython/tests/test_specdesc.py: RuntimeError is now raised on wrong mode
Paul Brossier [Thu, 22 Sep 2016 22:07:36 +0000 (00:07 +0200)]
python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode

7 years agosrc/spectral/specdesc.c: return NULL if wrong mode asked
Paul Brossier [Thu, 22 Sep 2016 22:06:45 +0000 (00:06 +0200)]
src/spectral/specdesc.c: return NULL if wrong mode asked

7 years agosrc/utils/log.c: add header, remove unused code
Paul Brossier [Thu, 22 Sep 2016 22:06:02 +0000 (00:06 +0200)]
src/utils/log.c: add header, remove unused code

7 years agosrc/aubio.h: add some links to examples
Paul Brossier [Thu, 22 Sep 2016 22:01:32 +0000 (00:01 +0200)]
src/aubio.h: add some links to examples

7 years agotests/src/spectral/test-fft.c: fix default size
Paul Brossier [Thu, 22 Sep 2016 21:26:50 +0000 (23:26 +0200)]
tests/src/spectral/test-fft.c: fix default size

7 years agosrc/spectral/specdesc.c: remove trailing spaces
Paul Brossier [Thu, 22 Sep 2016 21:16:09 +0000 (23:16 +0200)]
src/spectral/specdesc.c: remove trailing spaces

7 years agopython/tests/test_source.py: filter user warnings to avoid spamming the console
Paul Brossier [Thu, 22 Sep 2016 20:55:53 +0000 (22:55 +0200)]
python/tests/test_source.py: filter user warnings to avoid spamming the console

7 years agopython/ext/aubiomodule.c: use custom logging function for errors and warnings
Paul Brossier [Thu, 22 Sep 2016 20:55:47 +0000 (22:55 +0200)]
python/ext/aubiomodule.c: use custom logging function for errors and warnings

7 years agopython/lib/moresetuptools.py: add HAVE_STDARG_H
Paul Brossier [Thu, 22 Sep 2016 20:41:08 +0000 (22:41 +0200)]
python/lib/moresetuptools.py: add HAVE_STDARG_H

7 years agotests/src/utils/test-log.c: add example for aubio_log_set_function
Paul Brossier [Thu, 22 Sep 2016 20:34:38 +0000 (22:34 +0200)]
tests/src/utils/test-log.c: add example for aubio_log_set_function

7 years agosrc/aubio_priv.h: use new logging function
Paul Brossier [Thu, 22 Sep 2016 20:34:00 +0000 (22:34 +0200)]
src/aubio_priv.h: use new logging function

7 years agosrc/aubio.h: add utils/log.h
Paul Brossier [Thu, 22 Sep 2016 20:33:29 +0000 (22:33 +0200)]
src/aubio.h: add utils/log.h

7 years agosrc/utils/log.h: add new aubio_log_set_function
Paul Brossier [Thu, 22 Sep 2016 20:33:09 +0000 (22:33 +0200)]
src/utils/log.h: add new aubio_log_set_function

7 years agosrc/aubio_priv.h: add stdarg.h
Paul Brossier [Thu, 22 Sep 2016 17:19:12 +0000 (19:19 +0200)]
src/aubio_priv.h: add stdarg.h

7 years agowscript: add stdarg.h
Paul Brossier [Thu, 22 Sep 2016 17:15:58 +0000 (19:15 +0200)]
wscript: add stdarg.h

7 years agopython/demos/demo_mfcc.py: add options to plot first and second derivatives, and...
Paul Brossier [Thu, 22 Sep 2016 11:48:44 +0000 (13:48 +0200)]
python/demos/demo_mfcc.py: add options to plot first and second derivatives, and set samplerate/win_s/hop_s, thanks to @jhoelzl (closes #68)

7 years agopython/tests/test_fvec.py: reduce alpha norm precision to 10.-4
Paul Brossier [Thu, 22 Sep 2016 11:46:16 +0000 (13:46 +0200)]
python/tests/test_fvec.py: reduce alpha norm precision to 10.-4

7 years agosrc/io/source_wavread.c: skip chunks until data is found, or abort
Paul Brossier [Wed, 21 Sep 2016 13:24:06 +0000 (15:24 +0200)]
src/io/source_wavread.c: skip chunks until data is found, or abort

7 years agosrc/io/source_wavread.c: fix bytes_read for JUNK headers
Paul Brossier [Wed, 21 Sep 2016 13:23:22 +0000 (15:23 +0200)]
src/io/source_wavread.c: fix bytes_read for JUNK headers

7 years ago.appveyor.yml: make nose2 verbose
Paul Brossier [Wed, 21 Sep 2016 12:08:18 +0000 (14:08 +0200)]
.appveyor.yml: make nose2 verbose

7 years agosrc/io/source_sndfile.c: improve formatting
Paul Brossier [Wed, 21 Sep 2016 12:07:04 +0000 (14:07 +0200)]
src/io/source_sndfile.c: improve formatting

7 years agopython/tests/test_source.py: use nose2 params to process one sound file per test
Paul Brossier [Tue, 20 Sep 2016 23:34:33 +0000 (01:34 +0200)]
python/tests/test_source.py: use nose2 params to process one sound file per test

7 years agodoc/aubio*.txt: document -T/--timeformat option
Paul Brossier [Sat, 17 Sep 2016 00:04:15 +0000 (02:04 +0200)]
doc/aubio*.txt: document -T/--timeformat option

7 years agowscript: improve tarball creation (./waf dist)
Paul Brossier [Fri, 16 Sep 2016 17:14:07 +0000 (19:14 +0200)]
wscript: improve tarball creation (./waf dist)

7 years agowscript: build sphinx documentation if sphinx-build is found in PATH
Paul Brossier [Fri, 16 Sep 2016 16:33:17 +0000 (18:33 +0200)]
wscript: build sphinx documentation if sphinx-build is found in PATH

7 years agosrc/spectral/fft.c: make calls to fftw_destroy_plan thread-safe
Paul Brossier [Tue, 30 Aug 2016 14:33:31 +0000 (16:33 +0200)]
src/spectral/fft.c: make calls to fftw_destroy_plan thread-safe

7 years agosrc/io/source_wavread.c: skip junk chunk
Paul Brossier [Tue, 30 Aug 2016 13:07:04 +0000 (15:07 +0200)]
src/io/source_wavread.c: skip junk chunk

7 years agosrc/notes/notes.c: fix out-of-bound write
Paul Brossier [Tue, 30 Aug 2016 13:06:40 +0000 (15:06 +0200)]
src/notes/notes.c: fix out-of-bound write

7 years agopython/lib/gen_external.py: clean-up
Paul Brossier [Mon, 29 Aug 2016 21:21:41 +0000 (23:21 +0200)]
python/lib/gen_external.py: clean-up

7 years agopython/tests/test_cvec.py: simplify
Paul Brossier [Mon, 29 Aug 2016 21:07:15 +0000 (23:07 +0200)]
python/tests/test_cvec.py: simplify

7 years agodoc/index.rst: add number of commits since last release, use https
Paul Brossier [Sat, 27 Aug 2016 15:43:37 +0000 (17:43 +0200)]
doc/index.rst: add number of commits since last release, use https

7 years agodoc/develop.rst: add some documentation about the c-api
Paul Brossier [Sat, 27 Aug 2016 15:23:58 +0000 (17:23 +0200)]
doc/develop.rst: add some documentation about the c-api

7 years agodox/xcode_frameworks.rst: improve markup
Paul Brossier [Sat, 27 Aug 2016 14:21:05 +0000 (16:21 +0200)]
dox/xcode_frameworks.rst: improve markup

7 years agodoc/xcode_frameworks.rst: improve markup
Paul Brossier [Sat, 27 Aug 2016 10:13:27 +0000 (12:13 +0200)]
doc/xcode_frameworks.rst: improve markup

7 years agopython/demos/demo_timestretch*: remove unused import
Paul Brossier [Sat, 27 Aug 2016 09:40:47 +0000 (11:40 +0200)]
python/demos/demo_timestretch*: remove unused import

7 years agodoc/requirements.rst: add missing code directive
Paul Brossier [Sat, 27 Aug 2016 09:33:40 +0000 (11:33 +0200)]
doc/requirements.rst: add missing code directive

7 years agodoc/installing.rst: less bragging
Paul Brossier [Sat, 27 Aug 2016 09:32:30 +0000 (11:32 +0200)]
doc/installing.rst: less bragging

7 years agopython/demos/demo_source_simple.py: make executable
Paul Brossier [Sat, 27 Aug 2016 09:28:05 +0000 (11:28 +0200)]
python/demos/demo_source_simple.py: make executable