aubio.git
6 years agoMerge branch 'emscripten'
Paul Brossier [Mon, 24 Jul 2017 12:09:57 +0000 (14:09 +0200)]
Merge branch 'emscripten'

6 years agoMerge branch 'master' into emscripten
Paul Brossier [Mon, 24 Jul 2017 12:09:22 +0000 (14:09 +0200)]
Merge branch 'master' into emscripten

6 years agodoc/web.cfg: update to doxygen 1.8.13
Paul Brossier [Mon, 24 Jul 2017 11:56:54 +0000 (13:56 +0200)]
doc/web.cfg: update to doxygen 1.8.13

6 years agoscripts/get_waf.sh: bump waf to 1.9.12 (see #114)
Paul Brossier [Mon, 19 Jun 2017 09:55:00 +0000 (11:55 +0200)]
scripts/get_waf.sh: bump waf to 1.9.12 (see #114)

6 years agowscript : emscripten clarify comments on added flags
Martin Hermant [Tue, 30 May 2017 21:50:35 +0000 (17:50 -0400)]
wscript : emscripten clarify comments on added flags

6 years agowscript : emscripten : pass debug js flag to examples and tests
Martin Hermant [Tue, 30 May 2017 21:50:07 +0000 (17:50 -0400)]
wscript : emscripten  : pass debug js flag to examples and tests

6 years agowscript : emscripten
Martin Hermant [Tue, 30 May 2017 15:22:26 +0000 (11:22 -0400)]
wscript : emscripten
add NO_FILESYSTEM flag for lib export
add fmat and cvec functions to exported

fix indent error on enable_atlas

6 years agogen_external.py : pepify
Martin Hermant [Tue, 30 May 2017 15:13:21 +0000 (11:13 -0400)]
gen_external.py : pepify

6 years agogen_external.py : pass skip_object as member of function to allow custom skip_objects...
Martin Hermant [Tue, 30 May 2017 15:12:55 +0000 (11:12 -0400)]
gen_external.py : pass skip_object as member of function to allow custom skip_objects lists

6 years agosett —memory-init-file = 0 also for tests and examples to make them runnable with...
Martin Hermant [Mon, 29 May 2017 23:47:16 +0000 (19:47 -0400)]
sett —memory-init-file = 0 also for tests and examples to make them runnable with node

6 years agogen_external.py : fix c_declaration cleaning messing with gen_code parsing of member...
Martin Hermant [Mon, 29 May 2017 23:17:09 +0000 (19:17 -0400)]
gen_external.py : fix c_declaration cleaning messing with gen_code parsing of  member pointers

6 years agogen_external.py :
Martin Hermant [Mon, 29 May 2017 23:12:40 +0000 (19:12 -0400)]
gen_external.py :
fix wrong longname in generate_lib_from_c_declarations
simplify parsing

wscript.py : add _t suffix for added objects

6 years agowscript : emscripten : specify cstlib file format %s.a
Martin Hermant [Mon, 29 May 2017 22:32:25 +0000 (18:32 -0400)]
wscript : emscripten : specify cstlib file format %s.a

6 years agowscript : set memory-init file as a part of generated aubio js lib for easier integra...
Martin Hermant [Mon, 29 May 2017 22:31:44 +0000 (18:31 -0400)]
wscript : set memory-init file as a part of generated aubio js lib for easier integration in web

6 years agowscript : use gen_external code to generate flags passed to emscripten
Martin Hermant [Mon, 29 May 2017 22:30:33 +0000 (18:30 -0400)]
wscript : use gen_external code to generate flags passed to emscripten

6 years agogen_external.py : pepify
Martin Hermant [Mon, 29 May 2017 22:29:20 +0000 (18:29 -0400)]
gen_external.py : pepify

6 years agogen_external :
Martin Hermant [Mon, 29 May 2017 22:28:40 +0000 (18:28 -0400)]
gen_external :
 add function get_all_func_names_from_lib
analyze_c_declarations -> generate_lib_from_c_declarations

6 years agogen_external.py : fix func_name to long_name resolving (example : aubio_pitch was...
Martin Hermant [Mon, 29 May 2017 22:23:37 +0000 (18:23 -0400)]
gen_external.py : fix func_name to long_name resolving (example : aubio_pitch was getting functions like aubio_pitchyin)

6 years agogen_external.py : fix wrong in longname in lib generation
Martin Hermant [Mon, 29 May 2017 22:17:15 +0000 (18:17 -0400)]
gen_external.py : fix wrong in longname in lib generation

6 years agosrc/wscript_build : add cshlib pass for generating aubio.js or aubio.min.js
Martin Hermant [Mon, 29 May 2017 22:13:36 +0000 (18:13 -0400)]
src/wscript_build : add cshlib pass for generating aubio.js or aubio.min.js

6 years agogen_external.py : clean preprocessor generated strings from stickin pointer notation...
Martin Hermant [Mon, 29 May 2017 22:12:32 +0000 (18:12 -0400)]
gen_external.py : clean preprocessor generated strings from stickin pointer notation : ‘ void *my_func()’ => ‘void* my_func()’

6 years agowscript : emscripten pass more debug flags in debug mode (ASSERTION=2,SAFE_HEAP=1...
Martin Hermant [Mon, 29 May 2017 22:10:07 +0000 (18:10 -0400)]
wscript : emscripten pass more debug flags in debug mode (ASSERTION=2,SAFE_HEAP=1,ALIASING_FUNCTION_POINTERS=0)

6 years agogen_external.py :
Martin Hermant [Mon, 29 May 2017 20:03:15 +0000 (16:03 -0400)]
gen_external.py :
rename cpp_output to c_declarations
make pre processing parsing part of get_cpp_objects a distinct function get_c_declarations

6 years agogen_external.py : support parsing of non aubio_ function : fvec and stuffs
Martin Hermant [Mon, 29 May 2017 17:31:18 +0000 (13:31 -0400)]
gen_external.py : support parsing of non aubio_ function : fvec and stuffs

6 years agogen_external.py : relax a bit parsing of preprocessor code -> one line per {} block...
Martin Hermant [Mon, 29 May 2017 17:28:48 +0000 (13:28 -0400)]
gen_external.py : relax a bit parsing of preprocessor code -> one line per {} block no matter if they are actually at end of line (conflict with structs)

6 years agowscript : fix indent error
Martin Hermant [Mon, 29 May 2017 15:18:03 +0000 (11:18 -0400)]
wscript : fix indent error

6 years agogen_external.py : force c compiler (emcc defaults to c++)
Martin Hermant [Mon, 29 May 2017 14:59:12 +0000 (10:59 -0400)]
gen_external.py : force c compiler (emcc defaults to c++)

6 years agowscript :
Martin Hermant [Mon, 29 May 2017 14:50:08 +0000 (10:50 -0400)]
wscript :
use .min.js extension for release build
add assersions in debug build

6 years agowscript : remove emscripten default -Oz flag
Martin Hermant [Mon, 29 May 2017 14:46:34 +0000 (10:46 -0400)]
wscript : remove emscripten default -Oz flag

6 years agowscript : use -Oz when building release with emscripten
Martin Hermant [Mon, 29 May 2017 14:44:29 +0000 (10:44 -0400)]
wscript : use  -Oz when building release with emscripten

6 years agowscript : add spacing after -o flag (else not processed by emmc)
Martin Hermant [Mon, 29 May 2017 14:28:00 +0000 (10:28 -0400)]
wscript : add spacing after -o flag (else not processed by emmc)

6 years agoscripts/get_waf.sh: bump to waf 1.9.11
Paul Brossier [Wed, 10 May 2017 08:39:38 +0000 (10:39 +0200)]
scripts/get_waf.sh: bump to waf 1.9.11

6 years agopython/lib/aubio/cmd.py: improve error message
Paul Brossier [Wed, 10 May 2017 08:30:09 +0000 (10:30 +0200)]
python/lib/aubio/cmd.py: improve error message

6 years agoscripts/setenv_local.sh: clean up, only set LD_LIBRARY_PATH
Paul Brossier [Wed, 10 May 2017 08:25:13 +0000 (10:25 +0200)]
scripts/setenv_local.sh: clean up, only set LD_LIBRARY_PATH

6 years agopython/demos/demo_tapthebeat.py: play beats using pyaudio
Paul Brossier [Mon, 8 May 2017 13:38:35 +0000 (15:38 +0200)]
python/demos/demo_tapthebeat.py: play beats using pyaudio

6 years agosrc/mathutils.c: prevent segfault with latest Accelerate.framework (closes #58, close...
Paul Brossier [Fri, 21 Apr 2017 08:19:44 +0000 (10:19 +0200)]
src/mathutils.c: prevent segfault with latest Accelerate.framework (closes #58, closes #102)

6 years agosrc/io/source_avcodec.c: avoid unused variable
Paul Brossier [Fri, 21 Apr 2017 08:13:39 +0000 (10:13 +0200)]
src/io/source_avcodec.c: avoid unused variable

7 years agopython/lib/aubio/cut.py: upgrade to argparse
Paul Brossier [Sun, 16 Apr 2017 09:38:10 +0000 (11:38 +0200)]
python/lib/aubio/cut.py: upgrade to argparse

7 years agopython/lib/aubio/cut.py: pass samplerate to onset or tempo
Paul Brossier [Sun, 16 Apr 2017 09:37:54 +0000 (11:37 +0200)]
python/lib/aubio/cut.py: pass samplerate to onset or tempo

7 years agodoc/requirements.rst: fix typo and broken link (closes #99)
Paul Brossier [Fri, 14 Apr 2017 23:27:38 +0000 (01:27 +0200)]
doc/requirements.rst: fix typo and broken link (closes #99)

7 years agopython/lib/aubio/cmd.py: add -u/--pitch-unit to 'aubio pitch'
Paul Brossier [Wed, 12 Apr 2017 07:49:46 +0000 (09:49 +0200)]
python/lib/aubio/cmd.py: add -u/--pitch-unit to 'aubio pitch'

7 years agoMerge branch 'hztirf-master'
Paul Brossier [Tue, 11 Apr 2017 20:25:32 +0000 (22:25 +0200)]
Merge branch 'hztirf-master'

7 years agoUpdate beattracking.h
Hannes Fritz [Tue, 11 Apr 2017 18:58:20 +0000 (20:58 +0200)]
Update beattracking.h

7 years agoFix typo
Hannes Fritz [Tue, 11 Apr 2017 18:56:41 +0000 (20:56 +0200)]
Fix typo

7 years agoREADME.md, doc/statuslinks.rst: bump latest version to 0.4.5
Paul Brossier [Mon, 10 Apr 2017 20:47:11 +0000 (22:47 +0200)]
README.md, doc/statuslinks.rst: bump latest version to 0.4.5

7 years agosrc/io/source_avcodec.c: more fixes for declaration before assignment
Paul Brossier [Mon, 10 Apr 2017 14:27:07 +0000 (16:27 +0200)]
src/io/source_avcodec.c: more fixes for declaration before assignment

7 years agoREADME.md: update zenodo badge
Paul Brossier [Mon, 10 Apr 2017 14:00:49 +0000 (16:00 +0200)]
README.md: update zenodo badge

7 years agosrc/io/source_avcodec.c: more fixes for declaration before assignment
Paul Brossier [Mon, 10 Apr 2017 13:26:06 +0000 (15:26 +0200)]
src/io/source_avcodec.c: more fixes for declaration before assignment

7 years agosrc/io/source_avcodec.c: more fixes for declaration before assignment
Paul Brossier [Mon, 10 Apr 2017 13:16:44 +0000 (15:16 +0200)]
src/io/source_avcodec.c: more fixes for declaration before assignment

7 years agosrc/io/source_avcodec.c: more fixes to declare before assigning
Paul Brossier [Mon, 10 Apr 2017 12:53:00 +0000 (14:53 +0200)]
src/io/source_avcodec.c: more fixes to declare before assigning

7 years agosrc/io/source_avcodec.c: fix for windows vc9
Paul Brossier [Mon, 10 Apr 2017 12:35:19 +0000 (14:35 +0200)]
src/io/source_avcodec.c: fix for windows vc9

7 years agoVERSION: bump to 0.4.6~alpha
Paul Brossier [Mon, 10 Apr 2017 12:34:56 +0000 (14:34 +0200)]
VERSION: bump to 0.4.6~alpha

7 years agoVERSION: bump to 0.4.5 0.4.5
Paul Brossier [Mon, 10 Apr 2017 12:34:04 +0000 (14:34 +0200)]
VERSION: bump to 0.4.5

7 years agoChangeLog: add changelog entry for 0.4.5
Paul Brossier [Mon, 10 Apr 2017 10:29:49 +0000 (12:29 +0200)]
ChangeLog: add changelog entry for 0.4.5

7 years agopython/lib/moresetuptools.py: force adding libav on window (see conda-forge/pkg-confi...
Paul Brossier [Mon, 10 Apr 2017 08:30:50 +0000 (10:30 +0200)]
python/lib/moresetuptools.py: force adding libav on window (see conda-forge/pkg-config-feedstock#11)

7 years agoREADME.md: less legal, more help
Paul Brossier [Mon, 10 Apr 2017 08:08:53 +0000 (10:08 +0200)]
README.md: less legal, more help

7 years agodoc/about.rst: improve credit sentence
Paul Brossier [Mon, 10 Apr 2017 08:07:43 +0000 (10:07 +0200)]
doc/about.rst: improve credit sentence

7 years agowscript: lower libswresample required to >= 1.2.0
Paul Brossier [Sat, 8 Apr 2017 10:09:55 +0000 (12:09 +0200)]
wscript: lower libswresample required to >= 1.2.0

7 years agoREADME.md, doc/about.rst: update copyright year
Paul Brossier [Fri, 7 Apr 2017 14:38:58 +0000 (16:38 +0200)]
README.md, doc/about.rst: update copyright year

7 years agoscripts/build_mingw: generate .def file (closes #97)
Paul Brossier [Fri, 7 Apr 2017 14:05:23 +0000 (16:05 +0200)]
scripts/build_mingw: generate .def file (closes #97)

7 years agoscripts/build_mingw: update to latest ffmpeg build
Paul Brossier [Fri, 7 Apr 2017 13:44:51 +0000 (15:44 +0200)]
scripts/build_mingw: update to latest ffmpeg build

7 years agoscripts/build_mingw: fix dll location, generate def file
Paul Brossier [Fri, 7 Apr 2017 13:44:31 +0000 (15:44 +0200)]
scripts/build_mingw: fix dll location, generate def file

7 years agoscripts/build_mingw: use this_version.py to get current version
Paul Brossier [Fri, 7 Apr 2017 13:44:10 +0000 (15:44 +0200)]
scripts/build_mingw: use this_version.py to get current version

7 years agothis_version.py: add options to get only libaubio or python-aubio version
Paul Brossier [Fri, 7 Apr 2017 13:34:41 +0000 (15:34 +0200)]
this_version.py: add options to get only libaubio or python-aubio version

7 years agoREADME.md: simplify badges
Paul Brossier [Fri, 7 Apr 2017 13:31:22 +0000 (15:31 +0200)]
README.md: simplify badges

7 years agosrc/io/source_avcodec.c: avoid double free with libavformat56
Paul Brossier [Fri, 7 Apr 2017 13:16:43 +0000 (15:16 +0200)]
src/io/source_avcodec.c: avoid double free with libavformat56

Note: when using ffmpeg 3.2.x, valgrind will complain that `40 bytes in
1 blocks are still reachable`. This is supposedly harmless; for more
information see https://trac.ffmpeg.org/ticket/3194.

7 years agoREADME.md: add citation info, credits moved to manual
Paul Brossier [Wed, 5 Apr 2017 13:29:26 +0000 (15:29 +0200)]
README.md: add citation info, credits moved to manual

7 years agodoc/about.rst: add credits page
Paul Brossier [Wed, 5 Apr 2017 13:28:54 +0000 (15:28 +0200)]
doc/about.rst: add credits page

7 years agoREADME.md: update list of command line tools
Paul Brossier [Wed, 5 Apr 2017 12:33:48 +0000 (14:33 +0200)]
README.md: update list of command line tools

7 years agoREADME.md: rewrite python paragraph
Paul Brossier [Wed, 5 Apr 2017 12:33:20 +0000 (14:33 +0200)]
README.md: rewrite python paragraph

7 years agoREADME.md: add zenodo link
Paul Brossier [Wed, 5 Apr 2017 12:32:59 +0000 (14:32 +0200)]
README.md: add zenodo link

7 years agoREADME.md: remove audio devices for now
Paul Brossier [Wed, 5 Apr 2017 12:32:35 +0000 (14:32 +0200)]
README.md: remove audio devices for now

7 years agoMerge branch 'awhitening'
Paul Brossier [Wed, 5 Apr 2017 09:49:57 +0000 (11:49 +0200)]
Merge branch 'awhitening'

7 years agosrc/onset/onset.c: add old_default mode
Paul Brossier [Wed, 5 Apr 2017 09:47:40 +0000 (11:47 +0200)]
src/onset/onset.c: add old_default mode

7 years agosrc/spectral/specdesc.c: add old_default
Paul Brossier [Wed, 5 Apr 2017 09:47:13 +0000 (11:47 +0200)]
src/spectral/specdesc.c: add old_default

7 years agosrc/onset/onset.c: improve specflux parameters
Paul Brossier [Mon, 27 Mar 2017 09:02:07 +0000 (11:02 +0200)]
src/onset/onset.c: improve specflux parameters

Experiments using Sebastian Böck database of 27770 onsets (1h42m) [1],
showed that adding compression and adaptive-whitening always
out-performs the raw spectral flux function.

Using shorter windows affects overall results, but decreases the delay.

With the following parameters:

  threshold=0.05 win_s=2048 hop_s=1024 novelty=specflux delay_ms=26.6

Strict accuracy / onset:  F  75.184 | P  82.478 | R  69.075 | F3  70.216
mir_eval accuracy / file: F  73.749 | P  81.078 | R  71.662 | F3  72.504
Deviation (ms)            δ  -0.314 | σ  15.396 | δ.  10.89 | σ.   10.88
Total onsets in database: #   27770 | OK  19182 | FP   4075 |

  threshold=0.18 win_s=512  hop_s=256  novelty=specflux delay_ms=13.3

Strict accuracy / onset:  F  73.200 | P  74.419 | R  72.020 | F3  72.253
mir_eval accuracy / file: F  71.674 | P  76.937 | R  73.973 | F3  74.259
Deviation (ms)            δ  -0.576 | σ  17.521 | δ.  13.44 | σ.   11.25
Total onsets in database: #   27770 | OK  20000 | FP   6875 |

Note that, unlike in [1], onsets are not combined before evaluation.

[1] Evaluating the online capabilities of onset detection methods,
Sebastian Böck, Florian Krebs and Markus Schedl (ISMIR 2012)
http://www.cp.jku.at/research/papers/Boeck_etal_ISMIR_2012.pdf

7 years agosrc/onset/onset.c: avoid start with doubled or negative onset
Paul Brossier [Mon, 27 Mar 2017 08:37:58 +0000 (10:37 +0200)]
src/onset/onset.c: avoid start with doubled or negative onset

7 years agopython/tests/test_onset.py: simply check that threshold, minioi and delay are > 0
Paul Brossier [Mon, 27 Mar 2017 08:34:57 +0000 (10:34 +0200)]
python/tests/test_onset.py: simply check that threshold, minioi and delay are > 0

7 years agoREADME.md: show appveyor status of master branch
Paul Brossier [Sun, 26 Mar 2017 16:17:53 +0000 (18:17 +0200)]
README.md: show appveyor status of master branch

7 years agoMerge branch 'master' into awhitening
Paul Brossier [Sun, 26 Mar 2017 15:49:46 +0000 (17:49 +0200)]
Merge branch 'master' into awhitening

7 years agosrc/onset/onset.c: improve default parameters
Paul Brossier [Sun, 26 Mar 2017 15:49:11 +0000 (17:49 +0200)]
src/onset/onset.c: improve default parameters

7 years agoexamples/aubioonset.c: also display awhitening and compression
Paul Brossier [Sun, 26 Mar 2017 15:48:58 +0000 (17:48 +0200)]
examples/aubioonset.c: also display awhitening and compression

7 years agosrc/onset/onset.h: rename logmag_compression to compression
Paul Brossier [Sun, 26 Mar 2017 15:45:07 +0000 (17:45 +0200)]
src/onset/onset.h: rename logmag_compression to compression

7 years agosrc/cvec.h: add formula
Paul Brossier [Sun, 26 Mar 2017 15:38:41 +0000 (17:38 +0200)]
src/cvec.h: add formula

7 years agosrc/onset/onset.h: rename to awhitening, add logmap_compression
Paul Brossier [Sun, 26 Mar 2017 15:38:09 +0000 (17:38 +0200)]
src/onset/onset.h: rename to awhitening, add logmap_compression

7 years agosrc/onset/onset.h: add _reset and _set_default_parameters
Paul Brossier [Sun, 26 Mar 2017 14:28:54 +0000 (16:28 +0200)]
src/onset/onset.h: add _reset and _set_default_parameters

7 years agosrc/spectral/awhitening.h: add _set_floor/_get_floor, improve documentation
Paul Brossier [Sun, 26 Mar 2017 14:21:48 +0000 (16:21 +0200)]
src/spectral/awhitening.h: add _set_floor/_get_floor, improve documentation

7 years agosrc/synth/wavetable.c: always clamp wavetable
Paul Brossier [Sun, 26 Mar 2017 13:58:41 +0000 (15:58 +0200)]
src/synth/wavetable.c: always clamp wavetable

7 years agoexamples/aubioonset.c: get parameters from created instances
Paul Brossier [Sun, 26 Mar 2017 13:40:49 +0000 (15:40 +0200)]
examples/aubioonset.c: get parameters from created instances

7 years agosrc/synth/wavetable.c: always clamp wavetable
Paul Brossier [Sun, 26 Mar 2017 13:39:27 +0000 (15:39 +0200)]
src/synth/wavetable.c: always clamp wavetable

7 years agoREADME.md: update documentation links
Paul Brossier [Sun, 26 Mar 2017 12:55:40 +0000 (14:55 +0200)]
README.md: update documentation links

7 years agoREADME.md: remove maxAge
Paul Brossier [Sun, 26 Mar 2017 12:55:21 +0000 (14:55 +0200)]
README.md: remove maxAge

7 years agoMerge branch 'master' into awhitening
Paul Brossier [Sun, 26 Mar 2017 12:36:43 +0000 (14:36 +0200)]
Merge branch 'master' into awhitening

7 years agowscript: pass version to doxygen
Paul Brossier [Sun, 26 Mar 2017 12:30:32 +0000 (14:30 +0200)]
wscript: pass version to doxygen

7 years agodoc/full.cfg: derive from doc/web.cfg
Paul Brossier [Sun, 26 Mar 2017 12:23:01 +0000 (14:23 +0200)]
doc/full.cfg: derive from doc/web.cfg

7 years agosrc/spectral/awhitening.h: fix documentation
Paul Brossier [Sun, 26 Mar 2017 11:33:03 +0000 (13:33 +0200)]
src/spectral/awhitening.h: fix documentation

7 years agoMerge branch 'master' into awhitening
Paul Brossier [Sun, 26 Mar 2017 11:31:48 +0000 (13:31 +0200)]
Merge branch 'master' into awhitening

7 years agosrc/musicutils.h: fix documentation for fvec_clamp
Paul Brossier [Sun, 26 Mar 2017 11:19:49 +0000 (13:19 +0200)]
src/musicutils.h: fix documentation for fvec_clamp

7 years agosrc/cvec.h: fix cvec_logmag documentation
Paul Brossier [Sun, 26 Mar 2017 11:19:24 +0000 (13:19 +0200)]
src/cvec.h: fix cvec_logmag documentation

7 years agoMerge branch 'master' into awhitening
Paul Brossier [Sun, 26 Mar 2017 11:09:06 +0000 (13:09 +0200)]
Merge branch 'master' into awhitening