aubio.git
7 years agothis_version.py: build a valid pep440 version string
Paul Brossier [Thu, 23 Mar 2017 17:03:22 +0000 (18:03 +0100)]
this_version.py: build a valid pep440 version string

7 years agothis_version.py: use 0.4.5~git+<hash>
Paul Brossier [Thu, 23 Mar 2017 17:02:53 +0000 (18:02 +0100)]
this_version.py: use 0.4.5~git+<hash>

7 years agowscript: remove unused defines for now
Paul Brossier [Thu, 23 Mar 2017 17:01:48 +0000 (18:01 +0100)]
wscript: remove unused defines for now

7 years agoMANIFEST.in: ship this_version.py
Paul Brossier [Thu, 23 Mar 2017 16:58:54 +0000 (17:58 +0100)]
MANIFEST.in: ship this_version.py

7 years agothis_version.py: always return a string, not unicode
Paul Brossier [Thu, 23 Mar 2017 15:55:13 +0000 (16:55 +0100)]
this_version.py: always return a string, not unicode

7 years agosetup.py: clarify pip/aubio versions
Paul Brossier [Thu, 23 Mar 2017 15:54:34 +0000 (16:54 +0100)]
setup.py: clarify pip/aubio versions

7 years agothis_version.py: remove global, not needed
Paul Brossier [Thu, 23 Mar 2017 15:36:20 +0000 (16:36 +0100)]
this_version.py: remove global, not needed

7 years agosetup.py: clean up imports
Paul Brossier [Thu, 23 Mar 2017 15:34:13 +0000 (16:34 +0100)]
setup.py: clean up imports

7 years agosrc/wscript_build: do not ship config.h
Paul Brossier [Thu, 23 Mar 2017 14:53:51 +0000 (15:53 +0100)]
src/wscript_build: do not ship config.h

7 years agoMerge branch 'master' into gitshaversion
Paul Brossier [Thu, 23 Mar 2017 14:46:07 +0000 (15:46 +0100)]
Merge branch 'master' into gitshaversion

7 years agowscript set overloaded VERSION casted to string
Martin Hermant [Thu, 16 Mar 2017 18:15:07 +0000 (19:15 +0100)]
wscript set overloaded VERSION casted to string

7 years agowscript : remove overload of bld.env.VERSION
Martin Hermant [Thu, 16 Mar 2017 18:13:24 +0000 (19:13 +0100)]
wscript : remove overload of bld.env.VERSION

7 years agothis_version.py : * fix : get_aubio_version : remove ‘.’ before ~git * fix typo ...
Martin Hermant [Thu, 16 Mar 2017 17:47:26 +0000 (18:47 +0100)]
this_version.py : * fix : get_aubio_version : remove ‘.’ before ~git * fix typo : check ~alpha in version status

7 years agofix pep8 errors
Martin Hermant [Thu, 16 Mar 2017 15:35:17 +0000 (16:35 +0100)]
fix pep8 errors

7 years agopython/lib/aubio/cmd.py: improve tempo subcommand description
Paul Brossier [Thu, 23 Mar 2017 14:32:21 +0000 (15:32 +0100)]
python/lib/aubio/cmd.py: improve tempo subcommand description

7 years agopython/lib/aubio/cut.py: remove unused imports
Paul Brossier [Thu, 23 Mar 2017 14:22:33 +0000 (15:22 +0100)]
python/lib/aubio/cut.py: remove unused imports

7 years agopython/lib/aubio/cmd.py: add tempo subcommand to extract overall bpm
Paul Brossier [Thu, 23 Mar 2017 14:19:19 +0000 (15:19 +0100)]
python/lib/aubio/cmd.py: add tempo subcommand to extract overall bpm

7 years agopython/lib/aubio/cmd.py: add a flush function
Paul Brossier [Thu, 23 Mar 2017 14:09:28 +0000 (15:09 +0100)]
python/lib/aubio/cmd.py: add a flush function

7 years agopython/lib/aubio/cmd.py: simplify repr_res
Paul Brossier [Thu, 23 Mar 2017 14:03:29 +0000 (15:03 +0100)]
python/lib/aubio/cmd.py: simplify repr_res

7 years agopython/lib/aubio/cmd.py: fix timefuncs
Paul Brossier [Thu, 23 Mar 2017 13:57:14 +0000 (14:57 +0100)]
python/lib/aubio/cmd.py: fix timefuncs

7 years agosetup.py: move cut and cmd inside aubio module, use entry_points to generate scripts
Paul Brossier [Thu, 23 Mar 2017 13:56:50 +0000 (14:56 +0100)]
setup.py: move cut and cmd inside aubio module, use entry_points to generate scripts

7 years agopython/scripts/aubiocut: move usage string inside parse_args()
Paul Brossier [Thu, 23 Mar 2017 13:48:10 +0000 (14:48 +0100)]
python/scripts/aubiocut: move usage string inside parse_args()

7 years agodoc/aubio.txt: add simple manpage for aubio command line
Paul Brossier [Thu, 23 Mar 2017 13:35:31 +0000 (14:35 +0100)]
doc/aubio.txt: add simple manpage for aubio command line

7 years agopython/scripts/aubio: simple script to replace examples/ in the python world
Paul Brossier [Thu, 23 Mar 2017 13:28:50 +0000 (14:28 +0100)]
python/scripts/aubio: simple script to replace examples/ in the python world

7 years agosrc/io/source_avcodec.c: use avcodec_free_context for newer ffmpeg
Paul Brossier [Fri, 17 Mar 2017 17:34:04 +0000 (18:34 +0100)]
src/io/source_avcodec.c: use avcodec_free_context for newer ffmpeg

7 years agosrc/io/source_avcodec.c: always mark eof on error
Paul Brossier [Fri, 17 Mar 2017 17:33:42 +0000 (18:33 +0100)]
src/io/source_avcodec.c: always mark eof on error

7 years agopython/lib/moresetuptools.py: check for libswresample, prefer to libavresample
Paul Brossier [Fri, 17 Mar 2017 09:32:22 +0000 (10:32 +0100)]
python/lib/moresetuptools.py: check for libswresample, prefer to libavresample

7 years agoscripts/build_mingw: add short report, make sure targets do not exist
Paul Brossier [Fri, 17 Mar 2017 09:16:09 +0000 (10:16 +0100)]
scripts/build_mingw: add short report, make sure targets do not exist

7 years agoscripts/build_mingw: also build against ffmpeg
Paul Brossier [Fri, 17 Mar 2017 08:39:56 +0000 (09:39 +0100)]
scripts/build_mingw: also build against ffmpeg

This script now builds aubio for windows 4 times, for 32 and 64 bits,
with and without ffmpeg. Latest ffmpeg binaries are downloaded if not
found in the current directory.

Tarball containing aubio binaries are created once each build completed.

7 years agosrc/utils/windll.c: add unused attributes
Paul Brossier [Fri, 17 Mar 2017 01:10:43 +0000 (02:10 +0100)]
src/utils/windll.c: add unused attributes

7 years agosrc/wscript_build: also link against libswresample if needed
Paul Brossier [Fri, 17 Mar 2017 01:10:11 +0000 (02:10 +0100)]
src/wscript_build: also link against libswresample if needed

7 years agowscript: shorten line
Paul Brossier [Fri, 17 Mar 2017 00:09:34 +0000 (01:09 +0100)]
wscript: shorten line

7 years agosrc/io/source_avcodec.c: add libswresample
Paul Brossier [Thu, 16 Mar 2017 23:57:31 +0000 (00:57 +0100)]
src/io/source_avcodec.c: add libswresample

7 years agowscript: check for libswresample first, then libavresample
Paul Brossier [Thu, 16 Mar 2017 23:56:39 +0000 (00:56 +0100)]
wscript: check for libswresample first, then libavresample

7 years agopython/lib/moresetuptools.py: remove jack, only used in examples
Paul Brossier [Thu, 16 Mar 2017 23:31:03 +0000 (00:31 +0100)]
python/lib/moresetuptools.py: remove jack, only used in examples

7 years agoMerge branch 'circlei'
Paul Brossier [Thu, 16 Mar 2017 23:26:42 +0000 (00:26 +0100)]
Merge branch 'circlei'

7 years agoscripts/get_waf.sh: really bump to 1.9.6, remove unused variable in Makefile
Paul Brossier [Thu, 16 Mar 2017 23:26:30 +0000 (00:26 +0100)]
scripts/get_waf.sh: really bump to 1.9.6, remove unused variable in Makefile

7 years agocircle.yml: add basic config
Paul Brossier [Thu, 16 Mar 2017 23:12:19 +0000 (00:12 +0100)]
circle.yml: add basic config

7 years agofix non conform Indentations
Martin Hermant [Mon, 13 Mar 2017 22:11:14 +0000 (23:11 +0100)]
fix non conform Indentations

7 years agomoresetuptools.py : rename import Version => this_version
Martin Hermant [Mon, 13 Mar 2017 21:37:30 +0000 (22:37 +0100)]
moresetuptools.py : rename import Version => this_version

7 years agochange version.py => this_version.py
Martin Hermant [Mon, 13 Mar 2017 21:26:17 +0000 (22:26 +0100)]
change version.py => this_version.py

7 years agocleaner api for Version.py
Martin Hermant [Mon, 13 Mar 2017 21:23:21 +0000 (22:23 +0100)]
cleaner api for Version.py

7 years agocomment on format of python version
Martin Hermant [Mon, 13 Mar 2017 20:23:05 +0000 (21:23 +0100)]
comment on format of python version

7 years agoVersion.py :
Martin Hermant [Mon, 13 Mar 2017 20:20:38 +0000 (21:20 +0100)]
Version.py :
* clean comments
* use try catch instead of which

7 years agogithub badges : fix alt tooltips
Martin Hermant [Mon, 13 Mar 2017 19:12:18 +0000 (20:12 +0100)]
github badges  : fix alt tooltips

7 years agonicer badges
Martin Hermant [Mon, 13 Mar 2017 19:08:29 +0000 (20:08 +0100)]
nicer badges

7 years agoadd Badges
Martin Hermant [Mon, 13 Mar 2017 18:50:12 +0000 (19:50 +0100)]
add Badges

7 years agounify version parsing in Version.py
Martin Hermant [Mon, 13 Mar 2017 18:49:56 +0000 (19:49 +0100)]
unify version parsing in Version.py

7 years agohide AUBIO_GIT_SHA in release
Martin Hermant [Mon, 13 Mar 2017 16:48:53 +0000 (17:48 +0100)]
hide AUBIO_GIT_SHA in release
fix py3 syntax error

7 years agowscript : fix print with old py2 syntax
Martin Hermant [Mon, 13 Mar 2017 16:24:52 +0000 (17:24 +0100)]
wscript : fix print with old py2 syntax

7 years agofix print with old py2 syntax
Martin Hermant [Mon, 13 Mar 2017 16:24:24 +0000 (17:24 +0100)]
fix print with old py2 syntax

7 years agoclarify comments
Martin Hermant [Mon, 13 Mar 2017 16:20:33 +0000 (17:20 +0100)]
clarify comments

7 years agoaubio version :
Martin Hermant [Mon, 13 Mar 2017 16:10:55 +0000 (17:10 +0100)]
aubio version :
aubio-c / aubio-py add git commit support

7 years agosrc/spectral/specdesc.h: update list of methods
Paul Brossier [Sat, 11 Mar 2017 04:58:54 +0000 (05:58 +0100)]
src/spectral/specdesc.h: update list of methods

7 years agosrc/spectral/specdesc.c: add weighted phase deviation
Paul Brossier [Sat, 11 Mar 2017 03:57:49 +0000 (04:57 +0100)]
src/spectral/specdesc.c: add weighted phase deviation

7 years agotests/src/spectral/tests-awhitening.c: add whitening example
Paul Brossier [Fri, 10 Mar 2017 23:22:38 +0000 (00:22 +0100)]
tests/src/spectral/tests-awhitening.c: add whitening example

7 years agosrc/spectral/awhitening.c: use 1.e-4 for floor, make sure we peak values stay above it
Paul Brossier [Fri, 10 Mar 2017 23:20:39 +0000 (00:20 +0100)]
src/spectral/awhitening.c: use 1.e-4 for floor, make sure we peak values stay above it

7 years agosrc/onset/onset.c: add logarithmic compression
Paul Brossier [Fri, 10 Mar 2017 23:12:44 +0000 (00:12 +0100)]
src/onset/onset.c: add logarithmic compression

Using these default parameters with the good old HFC, we reach the
following scores:

mirex-2005 | F  80.393 | P  80.841 | R  79.950 | TP 7616 | FP 1360 | Tot 9526
holzapfel  | F  69.441 | P  77.803 | R  62.702 | TP 1360 | FP  388 | Tot 2169

7 years agosrc/cvec.h: add cvec_logmag
Paul Brossier [Fri, 10 Mar 2017 21:10:17 +0000 (22:10 +0100)]
src/cvec.h: add cvec_logmag

7 years agoexamples/aubiotrack.c: avoid saturation in when using --mix-input
Paul Brossier [Fri, 10 Mar 2017 19:34:38 +0000 (20:34 +0100)]
examples/aubiotrack.c: avoid saturation in when using --mix-input

7 years agopython/lib/gen_external.py: disable spectral_whitening for now
Paul Brossier [Fri, 10 Mar 2017 19:33:23 +0000 (20:33 +0100)]
python/lib/gen_external.py: disable spectral_whitening for now

7 years agopython/lib/gen_code.py: show which failed before raising exception
Paul Brossier [Fri, 10 Mar 2017 19:32:47 +0000 (20:32 +0100)]
python/lib/gen_code.py: show which failed before raising exception

7 years agoexamples/aubioonset.c: avoid saturation in when using --mix-input
Paul Brossier [Fri, 10 Mar 2017 19:17:36 +0000 (20:17 +0100)]
examples/aubioonset.c: avoid saturation in when using --mix-input

7 years agosrc/musicutils.h: add fvec_clamp, basic limiter
Paul Brossier [Fri, 10 Mar 2017 19:16:28 +0000 (20:16 +0100)]
src/musicutils.h: add fvec_clamp, basic limiter

7 years agosrc/onset/onset.c: warning, not error, for python not to raise an error
Paul Brossier [Fri, 10 Mar 2017 18:56:32 +0000 (19:56 +0100)]
src/onset/onset.c: warning, not error, for python not to raise an error

7 years agosrc/onset/onset.c: improve aubio_onset_default_parameters prototype
Paul Brossier [Fri, 10 Mar 2017 18:55:33 +0000 (19:55 +0100)]
src/onset/onset.c: improve aubio_onset_default_parameters prototype

7 years agosrc/onset/peakpicker.c: simplify using fvec_foo
Paul Brossier [Fri, 10 Mar 2017 16:18:25 +0000 (17:18 +0100)]
src/onset/peakpicker.c: simplify using fvec_foo

7 years agosrc/mathutils.h: add fvec_push
Paul Brossier [Fri, 10 Mar 2017 16:17:33 +0000 (17:17 +0100)]
src/mathutils.h: add fvec_push

7 years agoMerge branch 'master' into awhitening
Paul Brossier [Fri, 10 Mar 2017 13:26:32 +0000 (14:26 +0100)]
Merge branch 'master' into awhitening

7 years agosrc/onset/peakpicker.c: temporarly fix peak-picking regression introduced in c9e20ca
Paul Brossier [Fri, 10 Mar 2017 13:15:25 +0000 (14:15 +0100)]
src/onset/peakpicker.c: temporarly fix peak-picking regression introduced in c9e20ca

7 years agoadd windows to readme supported platforms
Martin Hermant [Mon, 13 Feb 2017 22:41:48 +0000 (18:41 -0400)]
add windows to readme supported platforms

Signed-off-by: Paul Brossier <piem@piem.org>
7 years agocomment changes to build_apple_frameworks
Martin Hermant [Mon, 13 Feb 2017 17:31:33 +0000 (13:31 -0400)]
comment changes to build_apple_frameworks

Signed-off-by: Paul Brossier <piem@piem.org>
7 years agoadd permanent dir execution for scripts/build_apple_frameworks
Martin Hermant [Mon, 13 Feb 2017 16:42:23 +0000 (12:42 -0400)]
add permanent dir execution for scripts/build_apple_frameworks

Signed-off-by: Paul Brossier <piem@piem.org>
7 years agoremove doc/_build from git
Martin Hermant [Mon, 13 Feb 2017 16:38:53 +0000 (12:38 -0400)]
remove doc/_build from git

Signed-off-by: Paul Brossier <piem@piem.org>
7 years agopython/scripts/aubiocut: add --cut_every_nslices option
Paul Brossier [Wed, 8 Mar 2017 06:30:00 +0000 (07:30 +0100)]
python/scripts/aubiocut: add --cut_every_nslices option

7 years agosrc/io/{sink,source}.c: clarify failover messages
Paul Brossier [Sun, 5 Mar 2017 18:40:09 +0000 (19:40 +0100)]
src/io/{sink,source}.c: clarify failover messages

7 years agosrc/io/sink.c: make sure an error is raised when no sink is built in
Paul Brossier [Sun, 5 Mar 2017 18:29:33 +0000 (19:29 +0100)]
src/io/sink.c: make sure an error is raised when no sink is built in

7 years agosrc/tempo/tempo.h: improve documentation (#22)
Paul Brossier [Tue, 28 Feb 2017 09:57:54 +0000 (10:57 +0100)]
src/tempo/tempo.h: improve documentation (#22)

7 years agopython/tests/test_sink.py: trivial test for sink 'with' interface (PEP 343)
Paul Brossier [Tue, 28 Feb 2017 00:32:25 +0000 (01:32 +0100)]
python/tests/test_sink.py: trivial test for sink 'with' interface (PEP 343)

7 years agopython/ext/py-sink.c: add 'with' interface (PEP 343)
Paul Brossier [Tue, 28 Feb 2017 00:31:46 +0000 (01:31 +0100)]
python/ext/py-sink.c: add 'with' interface (PEP 343)

7 years agopython/ext/py-source.c: use PyArray_NewShape, not _Resize
Paul Brossier [Mon, 27 Feb 2017 16:21:34 +0000 (17:21 +0100)]
python/ext/py-source.c: use PyArray_NewShape, not _Resize

7 years agopython/ext/aubio-types.h: define PATH_MAX if needed
Paul Brossier [Mon, 27 Feb 2017 12:23:49 +0000 (13:23 +0100)]
python/ext/aubio-types.h: define PATH_MAX if needed

7 years agodoc/xcode_frameworks.rst: add simple swift example
Paul Brossier [Mon, 27 Feb 2017 12:20:41 +0000 (13:20 +0100)]
doc/xcode_frameworks.rst: add simple swift example

7 years agopython/ext/py-{source,sink}.c: free string uri
Paul Brossier [Mon, 27 Feb 2017 09:29:15 +0000 (10:29 +0100)]
python/ext/py-{source,sink}.c: free string uri

7 years agopython/ext/py-source.c: copy string uri
Paul Brossier [Mon, 27 Feb 2017 09:26:01 +0000 (10:26 +0100)]
python/ext/py-source.c: copy string uri

7 years agodoc/download.rst: use https
Paul Brossier [Mon, 27 Feb 2017 01:56:47 +0000 (02:56 +0100)]
doc/download.rst: use https

7 years agopython/tests/test_source.py: test with interface (PEP 343)
Paul Brossier [Mon, 27 Feb 2017 00:59:39 +0000 (01:59 +0100)]
python/tests/test_source.py: test with interface (PEP 343)

7 years agosrc/io/source_apple_audio.c: allow closing twice
Paul Brossier [Mon, 27 Feb 2017 00:34:45 +0000 (01:34 +0100)]
src/io/source_apple_audio.c: allow closing twice

7 years agosrc/io/source_sndfile.c: allow closing twice
Paul Brossier [Mon, 27 Feb 2017 00:34:10 +0000 (01:34 +0100)]
src/io/source_sndfile.c: allow closing twice

7 years agosrc/io/source_wavread.c: allow closing twice
Paul Brossier [Mon, 27 Feb 2017 00:33:21 +0000 (01:33 +0100)]
src/io/source_wavread.c: allow closing twice

7 years agopython/ext/py-source.c: statement after definitions
Paul Brossier [Mon, 27 Feb 2017 00:24:46 +0000 (01:24 +0100)]
python/ext/py-source.c: statement after definitions

7 years agosrc/io/source_wavread.c: raise error in _do/_do_multi, not _readframe
Paul Brossier [Mon, 27 Feb 2017 00:18:45 +0000 (01:18 +0100)]
src/io/source_wavread.c: raise error in _do/_do_multi, not _readframe

7 years agopython/ext/py-source.c: __exit__ to close once
Paul Brossier [Mon, 27 Feb 2017 00:16:09 +0000 (01:16 +0100)]
python/ext/py-source.c: __exit__ to close once

7 years agopython/ext/py-source.c: raise on closing file failed
Paul Brossier [Mon, 27 Feb 2017 00:15:39 +0000 (01:15 +0100)]
python/ext/py-source.c: raise on closing file failed

7 years agopython/ext/py-source.c: add iterator interface
Paul Brossier [Mon, 27 Feb 2017 00:14:49 +0000 (01:14 +0100)]
python/ext/py-source.c: add iterator interface

7 years agopython/ext/py-source.c: add with interface (PEP 343)
Paul Brossier [Sun, 26 Feb 2017 22:47:19 +0000 (23:47 +0100)]
python/ext/py-source.c: add with interface (PEP 343)

7 years agosrc/io/source_wavread.c: avoid seeking in closed file
Paul Brossier [Sun, 26 Feb 2017 22:38:49 +0000 (23:38 +0100)]
src/io/source_wavread.c: avoid seeking in closed file

7 years agosrc/io/source_wavread.c: set error message in seek if pos < 0
Paul Brossier [Sun, 26 Feb 2017 22:38:35 +0000 (23:38 +0100)]
src/io/source_wavread.c: set error message in seek if pos < 0

7 years agosrc/io/source_wavread.c: avoid reading in closed file
Paul Brossier [Sun, 26 Feb 2017 22:38:09 +0000 (23:38 +0100)]
src/io/source_wavread.c: avoid reading in closed file

7 years agosrc/io/source_avcodec.c: make sure seek position is >= 0
Paul Brossier [Sun, 26 Feb 2017 22:37:22 +0000 (23:37 +0100)]
src/io/source_avcodec.c: make sure seek position is >= 0