Paul Brossier [Fri, 7 Dec 2018 17:03:45 +0000 (18:03 +0100)]
[tests] increase timestretch coverage, fix memory leak
Paul Brossier [Fri, 7 Dec 2018 17:03:19 +0000 (18:03 +0100)]
[effects] clean up aubio_split_str, fix issues in aubio_get_rubberband_opts
Paul Brossier [Fri, 7 Dec 2018 11:18:17 +0000 (12:18 +0100)]
[timestretch] validate input hopsize and samplerate
Paul Brossier [Fri, 7 Dec 2018 11:17:55 +0000 (12:17 +0100)]
[tests] add test_wrong_params to test-timestretch
Paul Brossier [Thu, 6 Dec 2018 23:04:07 +0000 (00:04 +0100)]
[effects] aubio_get_rubberband_opts returns -1 if parsing fails
Paul Brossier [Sat, 27 Oct 2018 17:39:55 +0000 (19:39 +0200)]
[effects] convert warnings to error, improve messages
Paul Brossier [Fri, 26 Oct 2018 08:56:48 +0000 (10:56 +0200)]
[pitchscale] wrap long lines
Paul Brossier [Wed, 24 Oct 2018 16:48:25 +0000 (18:48 +0200)]
[effects] wrap long lines
Paul Brossier [Wed, 24 Oct 2018 16:45:19 +0000 (18:45 +0200)]
[effects] improve pitchscale documentation
Paul Brossier [Fri, 17 Mar 2017 17:26:50 +0000 (18:26 +0100)]
src/effects/rubberband_utils.c: use ':' to join options
Paul Brossier [Tue, 14 Mar 2017 04:24:46 +0000 (05:24 +0100)]
src/effects/: include aubio_priv.h, not config.h, use <> for external includes
Paul Brossier [Sun, 12 Mar 2017 13:20:36 +0000 (14:20 +0100)]
tests/src/effects/test-pitchshift.c: cosmetic changes
Paul Brossier [Sun, 12 Mar 2017 13:19:46 +0000 (14:19 +0100)]
src/effects/rubberband_utils.c: add parsing of all rubberband options
Paul Brossier [Mon, 28 Nov 2016 14:40:57 +0000 (15:40 +0100)]
tests/src/effects/test-timestretch.c: update to use new interface
Paul Brossier [Mon, 28 Nov 2016 13:30:40 +0000 (14:30 +0100)]
src/effects/timestretch*: move out threaded file reading stuff, add _push and _available
Paul Brossier [Mon, 3 Oct 2016 09:20:57 +0000 (11:20 +0200)]
src/effects/timestretch_rubberband.c: improve threading
Paul Brossier [Fri, 30 Sep 2016 09:33:16 +0000 (11:33 +0200)]
src/effects/timestretch_rubberband.c: do not reopen thread in _seek, add flags to mark warmed-up and finished states
Paul Brossier [Thu, 29 Sep 2016 23:54:50 +0000 (01:54 +0200)]
src/effects/timestretch_rubberband.c: add initial pthread support
Paul Brossier [Thu, 29 Sep 2016 21:07:19 +0000 (23:07 +0200)]
src/effects/timestretch_rubberband.c: fix eof when last available == hopsize, change _set messages to warnings
Paul Brossier [Thu, 29 Sep 2016 14:31:10 +0000 (16:31 +0200)]
src/effects/timestretch_rubberband.c: factorise into aubio_timestretch_fetch
Paul Brossier [Thu, 29 Sep 2016 14:21:50 +0000 (16:21 +0200)]
src/effects/timestretch_rubberband.c: split into functions
Paul Brossier [Thu, 29 Sep 2016 14:16:57 +0000 (16:16 +0200)]
src/effects/timestretch_rubberband.c: remove unused variable, erase internal vector
Paul Brossier [Thu, 29 Sep 2016 12:23:58 +0000 (14:23 +0200)]
src/effects/timestretch_rubberband.c: invert stretch ratio
Paul Brossier [Thu, 29 Sep 2016 11:38:04 +0000 (13:38 +0200)]
src/effects/timestretch.h: add _seek method
Paul Brossier [Thu, 29 Sep 2016 11:34:13 +0000 (13:34 +0200)]
src/aubio.h: add effects/timestretch.h
Paul Brossier [Thu, 29 Sep 2016 11:32:02 +0000 (13:32 +0200)]
python/lib/gen_external.py: disable timestretch for now, add a note about it
Paul Brossier [Thu, 29 Sep 2016 11:24:42 +0000 (13:24 +0200)]
tests/src/effects/test-timestretch.c: add example for aubio_timestretch_t
Paul Brossier [Thu, 29 Sep 2016 11:22:22 +0000 (13:22 +0200)]
src/effects/timestretch.h: add get_samplerate method
Paul Brossier [Thu, 29 Sep 2016 11:03:07 +0000 (13:03 +0200)]
src/effects/timestretch.h: add time stretching object, rubberband implementation
Paul Brossier [Fri, 26 Oct 2018 10:51:58 +0000 (12:51 +0200)]
[pitchshift] make sure rb is set to null first
Paul Brossier [Thu, 6 Dec 2018 14:34:12 +0000 (15:34 +0100)]
[ci] disable rubberband and libsamplerate on ios/iosimulator
Paul Brossier [Thu, 6 Dec 2018 14:32:12 +0000 (15:32 +0100)]
[tests] pitchshift tests to pass without rubberband
Paul Brossier [Thu, 6 Dec 2018 14:22:50 +0000 (15:22 +0100)]
[pitchshift] do not include config.h directly
Paul Brossier [Thu, 6 Dec 2018 12:51:35 +0000 (13:51 +0100)]
Merge branch 'master' into feature/pitchshift
Paul Brossier [Thu, 6 Dec 2018 12:49:25 +0000 (13:49 +0100)]
Merge branch 'fix/awhitening'
Paul Brossier [Thu, 6 Dec 2018 12:17:47 +0000 (13:17 +0100)]
[awhitening] use shortest length available (closes gh-216)
Paul Brossier [Thu, 6 Dec 2018 10:47:16 +0000 (11:47 +0100)]
[tests] fix leak in test-mathutils.c
Paul Brossier [Thu, 6 Dec 2018 10:46:46 +0000 (11:46 +0100)]
[hist] fix potential memory leak
Paul Brossier [Thu, 6 Dec 2018 10:46:02 +0000 (11:46 +0100)]
[pitch] fix memory leak in specacf
Paul Brossier [Thu, 6 Dec 2018 10:40:48 +0000 (11:40 +0100)]
[tests] prevent crash in test-awhitening, fix memory leaks
Paul Brossier [Thu, 6 Dec 2018 10:32:11 +0000 (11:32 +0100)]
[tests] improve pitchshift tests
Paul Brossier [Thu, 6 Dec 2018 10:30:54 +0000 (11:30 +0100)]
[pitchshift] check if hopsize and samplerate are valid, use _set_transpose in new_, comment about final always 0
Paul Brossier [Wed, 5 Dec 2018 21:34:39 +0000 (22:34 +0100)]
Merge branch 'master' into feature/pitchshift
Paul Brossier [Mon, 3 Dec 2018 14:23:54 +0000 (15:23 +0100)]
Merge branch 'fix/mfcc_params'
Paul Brossier [Mon, 3 Dec 2018 14:04:02 +0000 (15:04 +0100)]
[filterbank] fix get_power
Paul Brossier [Mon, 3 Dec 2018 14:03:08 +0000 (15:03 +0100)]
[mfcc] get_scale/power return smpl_t
Paul Brossier [Mon, 3 Dec 2018 14:00:40 +0000 (15:00 +0100)]
[tests] mfcc norm/scale with real values
Paul Brossier [Fri, 30 Nov 2018 14:06:57 +0000 (15:06 +0100)]
[make] show tests/ in coverage reports
Paul Brossier [Fri, 30 Nov 2018 14:05:35 +0000 (15:05 +0100)]
[make] move coverage reports to build/coverage_{c,python}
Paul Brossier [Fri, 30 Nov 2018 02:11:56 +0000 (03:11 +0100)]
[py] remove useless check in py-phasevoc.c
Paul Brossier [Thu, 29 Nov 2018 18:19:52 +0000 (19:19 +0100)]
Merge branch 'feature/c_tests'
Paul Brossier [Thu, 29 Nov 2018 17:49:32 +0000 (18:49 +0100)]
[tests] onset creation may succeed with non-power of two sizes
Paul Brossier [Thu, 29 Nov 2018 17:39:02 +0000 (18:39 +0100)]
[tests] fix argument parsing in source
Paul Brossier [Thu, 29 Nov 2018 17:38:41 +0000 (18:38 +0100)]
[tests] make sure unit tests run after sound file is created
Paul Brossier [Thu, 29 Nov 2018 17:36:22 +0000 (18:36 +0100)]
[tests] fix argument parsing in onset and wavetable
Paul Brossier [Thu, 29 Nov 2018 16:19:07 +0000 (17:19 +0100)]
[waf] check tests return code and show summary
Paul Brossier [Thu, 29 Nov 2018 16:05:28 +0000 (17:05 +0100)]
[tests] use run_on_default_source_and_sink in sampler tests
Paul Brossier [Thu, 29 Nov 2018 15:58:12 +0000 (16:58 +0100)]
[tests] fail dct tests if reconstruction failed
Paul Brossier [Thu, 29 Nov 2018 15:57:36 +0000 (16:57 +0100)]
[tests] add new_aubio_window tests
Paul Brossier [Thu, 29 Nov 2018 15:55:43 +0000 (16:55 +0100)]
[tests] use run_on_default_source in tempo
Paul Brossier [Thu, 29 Nov 2018 15:27:52 +0000 (16:27 +0100)]
[tests] use run_on_default_source_and_sink in awhitening
Paul Brossier [Thu, 29 Nov 2018 15:26:45 +0000 (16:26 +0100)]
[tests] use run_on_default_source_and_sink in sink tests
Paul Brossier [Thu, 29 Nov 2018 15:26:04 +0000 (16:26 +0100)]
[tests] add run_on_default_source_and_sink helper
Paul Brossier [Thu, 29 Nov 2018 15:15:21 +0000 (16:15 +0100)]
[tests] simplify awhitening parsing
Paul Brossier [Thu, 29 Nov 2018 15:14:05 +0000 (16:14 +0100)]
[tests] also use run_on_default_source in onset
Paul Brossier [Thu, 29 Nov 2018 15:12:31 +0000 (16:12 +0100)]
[tests] fix argument parsing in source tests
Paul Brossier [Thu, 29 Nov 2018 15:11:15 +0000 (16:11 +0100)]
[tests] use run_on_default_source in all source tests
Paul Brossier [Thu, 29 Nov 2018 15:08:24 +0000 (16:08 +0100)]
[tests] pure python create_sine_wave
Paul Brossier [Thu, 29 Nov 2018 14:21:03 +0000 (15:21 +0100)]
[tests] [win] workaround to escape backslashes
Paul Brossier [Thu, 29 Nov 2018 14:10:29 +0000 (15:10 +0100)]
[tests] [win] include io.h for _access()
Paul Brossier [Thu, 29 Nov 2018 14:04:58 +0000 (15:04 +0100)]
[tests] [win] more windows workaround to pass strings via -D
Paul Brossier [Thu, 29 Nov 2018 13:31:17 +0000 (14:31 +0100)]
[tests] fix test source creation rule
Paul Brossier [Thu, 29 Nov 2018 13:28:39 +0000 (14:28 +0100)]
[tests] add run_on_default_source to test-source
Paul Brossier [Thu, 29 Nov 2018 13:28:09 +0000 (14:28 +0100)]
[tests] add run_on_default_source helper
Paul Brossier [Thu, 29 Nov 2018 13:27:49 +0000 (14:27 +0100)]
[tests] create test sound from waf, add -DAUBIO_TESTS_SOURCE=
Paul Brossier [Thu, 29 Nov 2018 13:27:05 +0000 (14:27 +0100)]
[tests] add script to create sound file with python only
Paul Brossier [Thu, 29 Nov 2018 00:07:15 +0000 (01:07 +0100)]
[tests] [win] use calloc to work around constant size issue
Paul Brossier [Wed, 28 Nov 2018 23:46:31 +0000 (00:46 +0100)]
[tests] srandom take unsigned int
Paul Brossier [Wed, 28 Nov 2018 23:42:41 +0000 (00:42 +0100)]
[tests] fix unmatched parenthesis on windows
Paul Brossier [Wed, 28 Nov 2018 23:41:45 +0000 (00:41 +0100)]
Revert "[tests] fix unmatched parenthesis on windows"
This reverts commit
bab46116728862e3c4b8d5480c39b75647abb73c.
Paul Brossier [Wed, 28 Nov 2018 23:34:39 +0000 (00:34 +0100)]
[tests] fix unmatched parenthesis on windows
Paul Brossier [Wed, 28 Nov 2018 23:28:11 +0000 (00:28 +0100)]
[tests] increase entropy by adding address to current second
Paul Brossier [Wed, 28 Nov 2018 23:24:40 +0000 (00:24 +0100)]
[tests] use constant for array size, include string.h
Paul Brossier [Wed, 28 Nov 2018 23:07:58 +0000 (00:07 +0100)]
[tests] workaround for windows
Paul Brossier [Wed, 28 Nov 2018 22:04:00 +0000 (23:04 +0100)]
[tests] include unistd for unlink, close (linux, darwin)
Paul Brossier [Wed, 28 Nov 2018 21:41:10 +0000 (22:41 +0100)]
[tests] create a temporary sink, use in wavetable test
When called without argument, test-wavetable will invoke the function
run_on_default_sink to create a temporary file and runs the main
function on it.
Paul Brossier [Wed, 28 Nov 2018 14:30:11 +0000 (15:30 +0100)]
[pitch] comment out unused functions in mcomb and yin
Paul Brossier [Wed, 28 Nov 2018 14:28:30 +0000 (15:28 +0100)]
[tests] check new_aubio_pitch fails with wrong parameters
Paul Brossier [Wed, 28 Nov 2018 14:27:08 +0000 (15:27 +0100)]
[pitch] prevent null pointer dereference in yinfast
Paul Brossier [Wed, 28 Nov 2018 12:40:46 +0000 (13:40 +0100)]
[notes] prevent null pointer dereference
thanks to @niugx
Paul Brossier [Wed, 28 Nov 2018 12:39:51 +0000 (13:39 +0100)]
[tests] add notes tests
Paul Brossier [Wed, 28 Nov 2018 02:33:01 +0000 (03:33 +0100)]
[utils] hist with size null fails
Paul Brossier [Wed, 28 Nov 2018 02:32:32 +0000 (03:32 +0100)]
[tests] check hist with size null fails
Paul Brossier [Mon, 26 Nov 2018 17:33:26 +0000 (18:33 +0100)]
Merge branch 'feature/dctsimplify' into feature/mfcc_tests
Paul Brossier [Mon, 26 Nov 2018 17:22:06 +0000 (18:22 +0100)]
[dct] fix radix check for accelerate
Paul Brossier [Mon, 26 Nov 2018 16:23:14 +0000 (17:23 +0100)]
[tests] add calls to new_aubio_mfcc with wrong input parameters
Paul Brossier [Mon, 26 Nov 2018 16:22:31 +0000 (17:22 +0100)]
[mfcc] validate input parameters, safer delete
Paul Brossier [Mon, 26 Nov 2018 16:21:30 +0000 (17:21 +0100)]
[mfcc] remove plain dct ifdefs
Paul Brossier [Mon, 26 Nov 2018 16:09:08 +0000 (17:09 +0100)]
[tests] do not test dct with wrong sizes
Paul Brossier [Mon, 26 Nov 2018 15:59:56 +0000 (16:59 +0100)]
[dct] fail fftw creation if size <= 0