aubio.git
4 years agoUpdate gen_external.py
MartinHN [Mon, 24 Jul 2017 14:08:01 +0000 (10:08 -0400)]
Update gen_external.py

gen_external :
* fix unused variable in get_all_func_names_from_lib
* use proper python syntax : 'is' and 'not in'

4 years agopython/demos/demo_yin_compare.py: fix indentation
Paul Brossier [Mon, 24 Jul 2017 13:16:22 +0000 (15:16 +0200)]
python/demos/demo_yin_compare.py: fix indentation

4 years agoMerge branch 'yinfast'
Paul Brossier [Mon, 24 Jul 2017 12:13:52 +0000 (14:13 +0200)]
Merge branch 'yinfast'

4 years agoMerge branch 'master' into yinfast
Paul Brossier [Mon, 24 Jul 2017 12:12:55 +0000 (14:12 +0200)]
Merge branch 'master' into yinfast

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

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

4 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

4 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)

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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)

4 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

4 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

4 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()’

4 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)

4 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

4 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

4 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)

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

4 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++)

4 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

4 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

4 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

4 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)

4 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

4 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

4 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

4 years agosrc/pitch/pitch.h: add missing space
Paul Brossier [Tue, 9 May 2017 14:12:14 +0000 (16:12 +0200)]
src/pitch/pitch.h: add missing space

4 years agopython/tests/test_pitch.py: add yinfast
Paul Brossier [Tue, 9 May 2017 14:11:08 +0000 (16:11 +0200)]
python/tests/test_pitch.py: add yinfast

4 years agopython/lib/gen_external.py: omit pitchyinfast
Paul Brossier [Tue, 9 May 2017 14:09:33 +0000 (16:09 +0200)]
python/lib/gen_external.py: omit pitchyinfast

4 years agodoc/web.cfg: ignore yinfast
Paul Brossier [Tue, 9 May 2017 14:08:59 +0000 (16:08 +0200)]
doc/web.cfg: ignore yinfast

4 years agosrc/aubio.h: also include pitchyinfast here
Paul Brossier [Tue, 9 May 2017 14:06:49 +0000 (16:06 +0200)]
src/aubio.h: also include pitchyinfast here

4 years agosrc/pitch/pitch.h: add a note about yinfast
Paul Brossier [Tue, 9 May 2017 14:06:23 +0000 (16:06 +0200)]
src/pitch/pitch.h: add a note about yinfast

4 years agosrc/pitch/pitch.c: add yinfast
Paul Brossier [Tue, 9 May 2017 14:04:03 +0000 (16:04 +0200)]
src/pitch/pitch.c: add yinfast

4 years agosrc/pitch/pitchyinfast.h: fast version of original yin
Paul Brossier [Tue, 9 May 2017 14:03:17 +0000 (16:03 +0200)]
src/pitch/pitchyinfast.h: fast version of original yin

4 years agopython/demos/demo_fastyin_compare.py: comparison of different yin versions
Paul Brossier [Tue, 9 May 2017 13:53:15 +0000 (15:53 +0200)]
python/demos/demo_fastyin_compare.py: comparison of different yin versions

4 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

4 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)

4 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

4 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

4 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

4 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)

4 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'

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

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

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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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

4 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

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

4 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.

4 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

4 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

4 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

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

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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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

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

4 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

4 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

4 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