aubio.git
7 years agosrc/aubio_priv.h: use ifndef HAVE_AUBIO_DOUBLE
Paul Brossier [Sat, 30 Apr 2016 01:15:47 +0000 (03:15 +0200)]
src/aubio_priv.h: use ifndef HAVE_AUBIO_DOUBLE

7 years agoappveyor.yml: added basic configuration
Paul Brossier [Fri, 29 Apr 2016 23:17:12 +0000 (01:17 +0200)]
appveyor.yml: added basic configuration

7 years agopython/lib/gen_code.py: switch to using PyObjects instead of fvec, cvec, fmat
Paul Brossier [Fri, 29 Apr 2016 21:48:39 +0000 (23:48 +0200)]
python/lib/gen_code.py: switch to using PyObjects instead of fvec, cvec, fmat

7 years agopython/ext/py-filterbank.c: use new_py_fvec
Paul Brossier [Fri, 29 Apr 2016 19:57:35 +0000 (21:57 +0200)]
python/ext/py-filterbank.c: use new_py_fvec

7 years agopython/ext/py-phasevoc.c: use new_py_fvec, new_py_cvec
Paul Brossier [Fri, 29 Apr 2016 19:49:57 +0000 (21:49 +0200)]
python/ext/py-phasevoc.c: use new_py_fvec, new_py_cvec

7 years agopython/ext/py-source.c: use new_py_foo here too
Paul Brossier [Fri, 29 Apr 2016 19:37:46 +0000 (21:37 +0200)]
python/ext/py-source.c: use new_py_foo here too

7 years agopython/ext/aubio-types.h: add new_py_ functions to create PyObjects instead of fvec_t...
Paul Brossier [Fri, 29 Apr 2016 19:19:28 +0000 (21:19 +0200)]
python/ext/aubio-types.h: add new_py_ functions to create PyObjects instead of fvec_t, apply to py-fft.c

7 years agopython/tests/test_fft.py: add some memory tests
Paul Brossier [Fri, 29 Apr 2016 19:07:05 +0000 (21:07 +0200)]
python/tests/test_fft.py: add some memory tests

7 years agosrc/spectral/phasevoc.c: perfect reconstruction for overlap = 50% without modifications
Paul Brossier [Fri, 29 Apr 2016 18:07:10 +0000 (20:07 +0200)]
src/spectral/phasevoc.c: perfect reconstruction for overlap = 50% without modifications

7 years agopython/tests/test_phasevoc.py: clean up, add 50% overlap test
Paul Brossier [Fri, 29 Apr 2016 18:06:36 +0000 (20:06 +0200)]
python/tests/test_phasevoc.py: clean up, add 50% overlap test

7 years agosrc/spectral/phasevoc.c: set scaling to 1./3 if hop_s = win_s / 8, .5 otherwise
Paul Brossier [Thu, 28 Apr 2016 17:39:10 +0000 (19:39 +0200)]
src/spectral/phasevoc.c: set scaling to 1./3 if hop_s = win_s / 8, .5 otherwise

7 years agopython/tests/test_phasevoc.py: add a note about ocasional crash
Paul Brossier [Thu, 28 Apr 2016 17:33:31 +0000 (19:33 +0200)]
python/tests/test_phasevoc.py: add a note about ocasional crash

7 years agopython/tests/test_phasevoc.py: add more tests
Paul Brossier [Thu, 28 Apr 2016 17:32:48 +0000 (19:32 +0200)]
python/tests/test_phasevoc.py: add more tests

7 years agopython/ext/py-cvec.c: rewrite and simplify aubio.cvec, safer and better memory usage...
Paul Brossier [Thu, 28 Apr 2016 16:59:55 +0000 (18:59 +0200)]
python/ext/py-cvec.c: rewrite and simplify aubio.cvec, safer and better memory usage (see #49)

7 years agosrc/spectral/phasevoc.c: fix scaling factor for win_s = 4 * hop_s
Paul Brossier [Wed, 27 Apr 2016 19:00:13 +0000 (21:00 +0200)]
src/spectral/phasevoc.c: fix scaling factor for win_s = 4 * hop_s

7 years agopython/tests/test_phasevoc.py: check perfect reconstruction for overlap > 75%
Paul Brossier [Wed, 27 Apr 2016 18:47:31 +0000 (20:47 +0200)]
python/tests/test_phasevoc.py: check perfect reconstruction for overlap > 75%

7 years agosrc/spectral/phasevoc.c: apply windowing to resynthesized grain
Paul Brossier [Wed, 27 Apr 2016 12:56:07 +0000 (14:56 +0200)]
src/spectral/phasevoc.c: apply windowing to resynthesized grain

7 years agoscripts/build_apple_frameworks: escape PWD and OLDPWD to build from a path with a...
Paul Brossier [Mon, 25 Apr 2016 23:26:47 +0000 (01:26 +0200)]
scripts/build_apple_frameworks: escape PWD and OLDPWD to build from a path with a space (closes #43)

7 years agopython/setup.py: add command 'generate' with option '--enable-double'
Paul Brossier [Mon, 25 Apr 2016 21:33:11 +0000 (23:33 +0200)]
python/setup.py: add command 'generate' with option '--enable-double'

7 years agodemos/demo_reading_speed.py: add reading speed tests
Paul Brossier [Mon, 25 Apr 2016 16:56:13 +0000 (18:56 +0200)]
demos/demo_reading_speed.py: add reading speed tests

7 years agopython/ext/py-source.c: added duration
Paul Brossier [Mon, 25 Apr 2016 16:05:02 +0000 (18:05 +0200)]
python/ext/py-source.c: added duration

7 years agoMerge branch 'develop' of github.com:aubio/aubio into develop
Paul Brossier [Mon, 25 Apr 2016 15:50:11 +0000 (17:50 +0200)]
Merge branch 'develop' of github.com:aubio/aubio into develop

7 years agosrc/io/source.*: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 15:49:10 +0000 (17:49 +0200)]
src/io/source.*: add _get_duration

7 years agosrc/io/source_sndfile.c: approximate duration when resampling
Paul Brossier [Mon, 25 Apr 2016 15:42:35 +0000 (17:42 +0200)]
src/io/source_sndfile.c: approximate duration when resampling

7 years agotests/src/io/test-source_apple_audio.c: shorten long line
Paul Brossier [Mon, 25 Apr 2016 14:46:20 +0000 (16:46 +0200)]
tests/src/io/test-source_apple_audio.c: shorten long line

7 years agosrc/io/source_wavread.h: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 14:45:22 +0000 (16:45 +0200)]
src/io/source_wavread.h: add _get_duration

7 years agosrc/io/source_sndfile.h: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 14:42:43 +0000 (16:42 +0200)]
src/io/source_sndfile.h: add _get_duration

7 years agosrc/io/source_avcodec.h: add documentation
Paul Brossier [Mon, 25 Apr 2016 14:41:24 +0000 (16:41 +0200)]
src/io/source_avcodec.h: add documentation

7 years agosrc/io/source_avcodec.h: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 14:38:14 +0000 (16:38 +0200)]
src/io/source_avcodec.h: add _get_duration

7 years agotests/src/io/test-source_apple_audio.c: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 14:31:25 +0000 (16:31 +0200)]
tests/src/io/test-source_apple_audio.c: add _get_duration

7 years agosrc/io/source_apple_audio.h: add _get_duration
Paul Brossier [Mon, 25 Apr 2016 14:26:39 +0000 (16:26 +0200)]
src/io/source_apple_audio.h: add _get_duration

7 years agopython/lib/aubio__init__.py: use aubio.float_type
Paul Brossier [Sun, 24 Apr 2016 23:04:47 +0000 (01:04 +0200)]
python/lib/aubio__init__.py: use aubio.float_type

7 years agopython/tests: use aubio.float_type
Paul Brossier [Sun, 24 Apr 2016 22:53:03 +0000 (00:53 +0200)]
python/tests: use aubio.float_type

7 years agopython/lib/gen_{external,code}.py: prepare for double precision
Paul Brossier [Sun, 24 Apr 2016 22:35:53 +0000 (00:35 +0200)]
python/lib/gen_{external,code}.py: prepare for double precision

7 years agopython/{ext,lib}: prepare for double precision
Paul Brossier [Sun, 24 Apr 2016 21:45:45 +0000 (23:45 +0200)]
python/{ext,lib}: prepare for double precision

7 years agowscript: do not define HAVE_MEMCPY_HACKS at all
Paul Brossier [Sun, 24 Apr 2016 17:32:58 +0000 (19:32 +0200)]
wscript: do not define HAVE_MEMCPY_HACKS at all

7 years agosrc/, examples/: #ifdef HAVE_, not #if HAVE_
Paul Brossier [Sun, 24 Apr 2016 17:00:28 +0000 (19:00 +0200)]
src/, examples/: #ifdef HAVE_, not #if HAVE_

7 years agopython/MANIFEST.in: update lib/gen locations
Paul Brossier [Sun, 24 Apr 2016 16:51:10 +0000 (18:51 +0200)]
python/MANIFEST.in: update lib/gen locations

7 years agopython/ext/py-phasevoc.c: re-added Py_pvoc_doc
Paul Brossier [Sun, 24 Apr 2016 16:28:18 +0000 (18:28 +0200)]
python/ext/py-phasevoc.c: re-added Py_pvoc_doc

7 years agopython/ext: simplify memory allocations, removed unneeded malloc/free calls
Paul Brossier [Sun, 24 Apr 2016 16:23:14 +0000 (18:23 +0200)]
python/ext: simplify memory allocations, removed unneeded malloc/free calls

7 years agoexamples/aubiotrack.c: enable -O and -t options
Paul Brossier [Sun, 24 Apr 2016 11:39:14 +0000 (13:39 +0200)]
examples/aubiotrack.c: enable -O and -t options

7 years agoexamples/wscript_build: no -lm for msvc
Paul Brossier [Sat, 23 Apr 2016 19:21:01 +0000 (21:21 +0200)]
examples/wscript_build: no -lm for msvc

7 years agoexamples/parse_args.h: set optind = 1 if no getopt.h
Paul Brossier [Sat, 23 Apr 2016 19:16:00 +0000 (21:16 +0200)]
examples/parse_args.h: set optind = 1 if no getopt.h

7 years agoexamples/utils.h: hack a solution for access() on windows
Paul Brossier [Sat, 23 Apr 2016 19:07:57 +0000 (21:07 +0200)]
examples/utils.h: hack a solution for access() on windows

7 years agowscript: make unistd.h optional
Paul Brossier [Sat, 23 Apr 2016 19:06:43 +0000 (21:06 +0200)]
wscript: make unistd.h optional

7 years agowscript: make getopt.h optional
Paul Brossier [Sat, 23 Apr 2016 18:56:36 +0000 (20:56 +0200)]
wscript: make getopt.h optional

7 years agoexamples/utils.h: remove stdarg.h, getopt.h moved to parse_args.h, protect include...
Paul Brossier [Sat, 23 Apr 2016 18:49:50 +0000 (20:49 +0200)]
examples/utils.h: remove stdarg.h, getopt.h moved to parse_args.h, protect include with #ifdef HAVE_

7 years agoexamples/parse_args.h: check in config.h if getopt.h was found
Paul Brossier [Sat, 23 Apr 2016 18:49:06 +0000 (20:49 +0200)]
examples/parse_args.h: check in config.h if getopt.h was found

7 years agosrc/aubio_priv.h: use #ifdef HAVE_, not #if HAVE_
Paul Brossier [Sat, 23 Apr 2016 18:47:46 +0000 (20:47 +0200)]
src/aubio_priv.h: use #ifdef HAVE_, not #if HAVE_

7 years agowscript: first check for headers, add getopt.h and unistd.h
Paul Brossier [Sat, 23 Apr 2016 18:47:22 +0000 (20:47 +0200)]
wscript: first check for headers, add getopt.h and unistd.h

7 years agotests/wscript_build: no -g for msvc
Paul Brossier [Sat, 23 Apr 2016 18:02:27 +0000 (20:02 +0200)]
tests/wscript_build: no -g for msvc

7 years agowscript: make msvc compiler quieter
Paul Brossier [Sat, 23 Apr 2016 18:00:23 +0000 (20:00 +0200)]
wscript: make msvc compiler quieter

7 years agosrc/wscript_build: fix typo
Paul Brossier [Sat, 23 Apr 2016 17:44:07 +0000 (19:44 +0200)]
src/wscript_build: fix typo

7 years agotests/utils_tests.h: make sure M_PI and RAND_MAX are defined
Paul Brossier [Sat, 23 Apr 2016 16:35:52 +0000 (18:35 +0200)]
tests/utils_tests.h: make sure M_PI and RAND_MAX are defined

7 years agosrc/wscript_build: enable static lib on windows
Paul Brossier [Sat, 23 Apr 2016 16:28:41 +0000 (18:28 +0200)]
src/wscript_build: enable static lib on windows

7 years agotests/utils_tests.h: add VA_ARGS versions of variadic macros
Paul Brossier [Sat, 23 Apr 2016 16:27:44 +0000 (18:27 +0200)]
tests/utils_tests.h: add VA_ARGS versions of variadic macros

7 years agosrc/utils/windll.c: include config to check for HAVE_WIN_HACKS
Paul Brossier [Sat, 23 Apr 2016 12:49:11 +0000 (14:49 +0200)]
src/utils/windll.c: include config to check for HAVE_WIN_HACKS

7 years agosrc/utils/windll.c: add dll main entry point
Paul Brossier [Sat, 23 Apr 2016 12:40:06 +0000 (14:40 +0200)]
src/utils/windll.c: add dll main entry point

7 years agosrc/: use #ifdef HAVE_FOO, not #if HAVE_FOO
Paul Brossier [Fri, 22 Apr 2016 22:51:07 +0000 (00:51 +0200)]
src/: use #ifdef HAVE_FOO, not #if HAVE_FOO

7 years agosrc/wscript_build: no -lm on windows here too
Paul Brossier [Fri, 22 Apr 2016 22:49:16 +0000 (00:49 +0200)]
src/wscript_build: no -lm on windows here too

7 years agosrc/wscript_build: only no -lm if compiler is CL.exe
Paul Brossier [Fri, 22 Apr 2016 22:34:13 +0000 (00:34 +0200)]
src/wscript_build: only no -lm if compiler is CL.exe

7 years agotests/wscript_build, src/wscript_build: no -lm on win32/64
Paul Brossier [Fri, 22 Apr 2016 22:12:06 +0000 (00:12 +0200)]
tests/wscript_build, src/wscript_build: no -lm on win32/64

7 years agosrc/aubio_priv.h: define PATH_MAX if needed
Paul Brossier [Fri, 22 Apr 2016 21:55:42 +0000 (23:55 +0200)]
src/aubio_priv.h: define PATH_MAX if needed

7 years agosrc/aubio_priv.h: check if HAVE_ATLAS_CBLAS_H is defined, avoiding warning otherwise
Paul Brossier [Fri, 22 Apr 2016 21:48:15 +0000 (23:48 +0200)]
src/aubio_priv.h: check if HAVE_ATLAS_CBLAS_H is defined, avoiding warning otherwise

7 years agosrc/: change c header identifiers (see #35)
Paul Brossier [Fri, 22 Apr 2016 19:15:29 +0000 (21:15 +0200)]
src/: change c header identifiers (see #35)

7 years agosrc/io/: also copy null ending char
Paul Brossier [Fri, 22 Apr 2016 18:08:27 +0000 (20:08 +0200)]
src/io/: also copy null ending char

7 years ago.travis.yml: add irc notifications
Paul Brossier [Fri, 22 Apr 2016 14:50:47 +0000 (16:50 +0200)]
.travis.yml: add irc notifications

7 years agoMerge branch 'develop' of aubio.org:/git/aubio/aubio into develop
Paul Brossier [Fri, 22 Apr 2016 14:39:05 +0000 (16:39 +0200)]
Merge branch 'develop' of aubio.org:/git/aubio/aubio into develop

7 years agoMakefile: update waf to 1.8.20
Paul Brossier [Fri, 22 Apr 2016 14:33:19 +0000 (16:33 +0200)]
Makefile: update waf to 1.8.20

8 years agoMakefile: make tests verbose
Paul Brossier [Fri, 22 Apr 2016 01:14:16 +0000 (03:14 +0200)]
Makefile: make tests verbose

8 years ago.travis.yml: test_python / test_python_osx on linux / osx
Paul Brossier [Fri, 22 Apr 2016 01:07:48 +0000 (03:07 +0200)]
.travis.yml: test_python / test_python_osx on linux / osx

8 years agoMakefile: split rules for test_python / test_python_osx
Paul Brossier [Fri, 22 Apr 2016 01:07:19 +0000 (03:07 +0200)]
Makefile: split rules for test_python / test_python_osx

8 years agoMakefile: use pip install --user, also uninstall
Paul Brossier [Fri, 22 Apr 2016 01:02:29 +0000 (03:02 +0200)]
Makefile: use pip install --user, also uninstall

8 years ago.travis.yml: no more python 2.6 (>= 2.7 needed for TestCase.skipTest() )
Paul Brossier [Fri, 22 Apr 2016 00:54:58 +0000 (02:54 +0200)]
.travis.yml: no more python 2.6 (>= 2.7 needed for TestCase.skipTest() )

8 years agoMakefile: use pip to install
Paul Brossier [Fri, 22 Apr 2016 00:54:16 +0000 (02:54 +0200)]
Makefile: use pip to install

8 years agoMakefile: do not fail if dylib not found
Paul Brossier [Fri, 22 Apr 2016 00:31:47 +0000 (02:31 +0200)]
Makefile: do not fail if dylib not found

8 years agoMakefile: copy lib to ~/lib (osx) and set LD_LIBRARY_PATH (linux)
Paul Brossier [Fri, 22 Apr 2016 00:24:59 +0000 (02:24 +0200)]
Makefile: copy lib to ~/lib (osx) and set LD_LIBRARY_PATH (linux)

8 years agoMakefile: use './setup.py install' to test
Paul Brossier [Fri, 22 Apr 2016 00:12:26 +0000 (02:12 +0200)]
Makefile: use './setup.py install' to test

8 years agowscript: more dist excludes
Paul Brossier [Fri, 22 Apr 2016 00:06:24 +0000 (02:06 +0200)]
wscript: more dist excludes

8 years agowscript: added -mmacosx-version-min=10.4 on darwin
Paul Brossier [Fri, 22 Apr 2016 00:06:08 +0000 (02:06 +0200)]
wscript: added -mmacosx-version-min=10.4 on darwin

8 years agoMakefile: add test_python target, added to .travis.yml
Paul Brossier [Fri, 22 Apr 2016 00:05:39 +0000 (02:05 +0200)]
Makefile: add test_python target, added to .travis.yml

8 years agotests/src/tempo/test-tempo.c: tempo back to only one output
Paul Brossier [Fri, 22 Apr 2016 00:00:53 +0000 (02:00 +0200)]
tests/src/tempo/test-tempo.c: tempo back to only one output

8 years agopython/lib/gen_code.py: tempo should have only one output (see #49)
Paul Brossier [Thu, 21 Apr 2016 23:51:36 +0000 (01:51 +0200)]
python/lib/gen_code.py: tempo should have only one output (see #49)

8 years agosrc/tempo/tempo.c: do not write novelty function in output[1]
Paul Brossier [Thu, 21 Apr 2016 23:50:21 +0000 (01:50 +0200)]
src/tempo/tempo.c: do not write novelty function in output[1]

8 years ago.travis.yml: re-add distcheck, python needs a built tree
Paul Brossier [Thu, 21 Apr 2016 23:11:31 +0000 (01:11 +0200)]
.travis.yml: re-add distcheck, python needs a built tree

8 years agopython/scripts/aubiocut: fix usage string output
Paul Brossier [Thu, 21 Apr 2016 23:10:22 +0000 (01:10 +0200)]
python/scripts/aubiocut: fix usage string output

8 years agoMakefile: distcheck only needs checkwaf, split configure
Paul Brossier [Thu, 21 Apr 2016 22:59:20 +0000 (00:59 +0200)]
Makefile: distcheck only needs checkwaf, split configure

8 years ago.travis.yml: remove python packages (using language: python), switch build to distcheck
Paul Brossier [Thu, 21 Apr 2016 22:54:07 +0000 (00:54 +0200)]
.travis.yml: remove python packages (using language: python), switch build to distcheck

8 years ago.travis.yml: full osx details
Paul Brossier [Thu, 21 Apr 2016 22:41:03 +0000 (00:41 +0200)]
.travis.yml: full osx details

8 years ago.travis.yml: fix architectures, simplify osx
Paul Brossier [Thu, 21 Apr 2016 22:38:09 +0000 (00:38 +0200)]
.travis.yml: fix architectures, simplify osx

8 years ago.travis.yml: fix architectures, add gcc on osx
Paul Brossier [Thu, 21 Apr 2016 22:30:22 +0000 (00:30 +0200)]
.travis.yml: fix architectures, add gcc on osx

8 years ago.travis.yml: use matrix include
Paul Brossier [Thu, 21 Apr 2016 22:23:01 +0000 (00:23 +0200)]
.travis.yml: use matrix include

8 years agolib/gen_code.py: comment out print
Paul Brossier [Thu, 21 Apr 2016 22:03:00 +0000 (00:03 +0200)]
lib/gen_code.py: comment out print

8 years ago.travis.yml: switch to python
Paul Brossier [Thu, 21 Apr 2016 21:58:59 +0000 (23:58 +0200)]
.travis.yml: switch to python

8 years ago.travis.yml: add python 2.7 and 3.4
Paul Brossier [Thu, 21 Apr 2016 20:44:07 +0000 (22:44 +0200)]
.travis.yml: add python 2.7 and 3.4

8 years ago.travis.yml: remove build/clean python3 for now
Paul Brossier [Thu, 21 Apr 2016 20:38:55 +0000 (22:38 +0200)]
.travis.yml: remove build/clean python3 for now

8 years ago.travis.yml: added osx along linux
Paul Brossier [Thu, 21 Apr 2016 20:32:45 +0000 (22:32 +0200)]
.travis.yml: added osx along linux

8 years agosrc/synth/sampler.c: fix typo
Paul Brossier [Thu, 21 Apr 2016 19:38:01 +0000 (21:38 +0200)]
src/synth/sampler.c: fix typo

8 years agopython/lib/gen_code.py: use new proxy functions
Paul Brossier [Thu, 21 Apr 2016 19:32:59 +0000 (21:32 +0200)]
python/lib/gen_code.py: use new proxy functions

8 years agoext/: use new proxy functions
Paul Brossier [Thu, 21 Apr 2016 19:31:10 +0000 (21:31 +0200)]
ext/: use new proxy functions