aubio.git
5 years ago[io] add helpers to validate input
Paul Brossier [Sun, 16 Dec 2018 18:08:15 +0000 (19:08 +0100)]
[io] add helpers to validate input

5 years ago[source] always call del_aubio_source to clean-up
Paul Brossier [Sun, 16 Dec 2018 18:04:46 +0000 (19:04 +0100)]
[source] always call del_aubio_source to clean-up

5 years ago[tests] use double quotes for \0
Paul Brossier [Sun, 16 Dec 2018 18:04:08 +0000 (19:04 +0100)]
[tests] use double quotes for \0

5 years ago[tests] improve sink_custom tests
Paul Brossier [Sun, 16 Dec 2018 02:47:53 +0000 (03:47 +0100)]
[tests] improve sink_custom tests

5 years ago[tests] factorise sink tests
Paul Brossier [Sun, 16 Dec 2018 02:46:53 +0000 (03:46 +0100)]
[tests] factorise sink tests

5 years ago[tests] use double quote to test \0 as a string
Paul Brossier [Sun, 16 Dec 2018 01:01:00 +0000 (02:01 +0100)]
[tests] use double quote to test \0 as a string

Prevents clang throwing an error, since '\0' is rightfully treated as a
single character.

See this explanation by Stephen J. Butler:
https://lists.macports.org/pipermail/macports-dev/2016-June/033168.html

5 years ago[tests] remove test-source variants
Paul Brossier [Thu, 13 Dec 2018 15:12:02 +0000 (16:12 +0100)]
[tests] remove test-source variants

5 years ago[tests] sync test-source with base-source_custom
Paul Brossier [Thu, 13 Dec 2018 15:10:18 +0000 (16:10 +0100)]
[tests] sync test-source with base-source_custom

5 years ago[tests] factorise source tests
Paul Brossier [Thu, 13 Dec 2018 15:09:50 +0000 (16:09 +0100)]
[tests] factorise source tests

5 years ago[io] avoid deprecation warning avcodec <= 58.3.102
Paul Brossier [Thu, 13 Dec 2018 02:36:33 +0000 (03:36 +0100)]
[io] avoid deprecation warning avcodec <= 58.3.102

5 years ago[io] avoid deprecation warning with ffmpeg
Paul Brossier [Thu, 13 Dec 2018 02:10:08 +0000 (03:10 +0100)]
[io] avoid deprecation warning with ffmpeg

5 years ago[source] fix skipped samples warning in source_avcodec
Paul Brossier [Thu, 13 Dec 2018 01:59:33 +0000 (02:59 +0100)]
[source] fix skipped samples warning in source_avcodec

5 years ago[io] sink_wavwrite_do writes all to channels if more than one
Paul Brossier [Thu, 13 Dec 2018 00:46:29 +0000 (01:46 +0100)]
[io] sink_wavwrite_do writes all to channels if more than one

5 years ago[waf] avoid warnings about build dir traversal
Paul Brossier [Thu, 13 Dec 2018 00:21:24 +0000 (01:21 +0100)]
[waf] avoid warnings about build dir traversal

5 years ago[examples] remove unneeded cast
Paul Brossier [Tue, 11 Dec 2018 15:04:36 +0000 (16:04 +0100)]
[examples] remove unneeded cast

5 years ago[tests] improve test-mfcc (closes #219)
Paul Brossier [Tue, 11 Dec 2018 14:30:49 +0000 (15:30 +0100)]
[tests] improve test-mfcc (closes #219)

5 years ago[waf] bummp to 2.0.13
Paul Brossier [Mon, 10 Dec 2018 18:06:07 +0000 (19:06 +0100)]
[waf] bummp to 2.0.13

5 years ago[git] ignore python coverage files
Paul Brossier [Mon, 10 Dec 2018 18:03:10 +0000 (19:03 +0100)]
[git] ignore python coverage files

5 years ago[waf] update rules to build manual and api docs in build/
Paul Brossier [Mon, 10 Dec 2018 18:02:18 +0000 (19:02 +0100)]
[waf] update rules to build manual and api docs in build/

5 years agoMerge branch 'master' into feature/pydocstrings
Paul Brossier [Fri, 7 Dec 2018 12:16:37 +0000 (13:16 +0100)]
Merge branch 'master' into feature/pydocstrings

5 years ago[py] improve specdesc dosctring
Paul Brossier [Fri, 7 Dec 2018 12:14:58 +0000 (13:14 +0100)]
[py] improve specdesc dosctring

5 years ago[py] add minimal docstring for wavetable
Paul Brossier [Fri, 7 Dec 2018 12:13:33 +0000 (13:13 +0100)]
[py] add minimal docstring for wavetable

5 years ago[doc] add py_synth page
Paul Brossier [Fri, 7 Dec 2018 12:13:10 +0000 (13:13 +0100)]
[doc] add py_synth page

5 years ago[doc] add py_analysis page
Paul Brossier [Fri, 7 Dec 2018 12:12:27 +0000 (13:12 +0100)]
[doc] add py_analysis page

5 years ago[doc] add py_temporal page
Paul Brossier [Fri, 7 Dec 2018 12:10:54 +0000 (13:10 +0100)]
[doc] add py_temporal page

5 years ago[doc] add py_spectral page
Paul Brossier [Fri, 7 Dec 2018 12:09:46 +0000 (13:09 +0100)]
[doc] add py_spectral page

5 years agoMerge branch 'fix/awhitening'
Paul Brossier [Thu, 6 Dec 2018 12:49:25 +0000 (13:49 +0100)]
Merge branch 'fix/awhitening'

5 years ago[awhitening] use shortest length available (closes gh-216)
Paul Brossier [Thu, 6 Dec 2018 12:17:47 +0000 (13:17 +0100)]
[awhitening] use shortest length available (closes gh-216)

5 years ago[tests] fix leak in test-mathutils.c
Paul Brossier [Thu, 6 Dec 2018 10:47:16 +0000 (11:47 +0100)]
[tests] fix leak in test-mathutils.c

5 years ago[hist] fix potential memory leak
Paul Brossier [Thu, 6 Dec 2018 10:46:46 +0000 (11:46 +0100)]
[hist] fix potential memory leak

5 years ago[pitch] fix memory leak in specacf
Paul Brossier [Thu, 6 Dec 2018 10:46:02 +0000 (11:46 +0100)]
[pitch] fix memory leak in specacf

5 years ago[tests] prevent crash in test-awhitening, fix memory leaks
Paul Brossier [Thu, 6 Dec 2018 10:40:48 +0000 (11:40 +0100)]
[tests] prevent crash in test-awhitening, fix memory leaks

5 years ago[py] include docstrings for generated classes feature/pydocstrings
Paul Brossier [Tue, 4 Dec 2018 01:49:17 +0000 (02:49 +0100)]
[py] include docstrings for generated classes

5 years ago[py] add minimal docstrings to generated objects
Paul Brossier [Tue, 4 Dec 2018 01:43:26 +0000 (02:43 +0100)]
[py] add minimal docstrings to generated objects

5 years ago[py] use macro in docstring of generated objects macro if defined
Paul Brossier [Tue, 4 Dec 2018 01:42:17 +0000 (02:42 +0100)]
[py] use macro in docstring of generated objects macro if defined

5 years ago[py] add docstrings for digital_filter
Paul Brossier [Tue, 4 Dec 2018 01:14:34 +0000 (02:14 +0100)]
[py] add docstrings for digital_filter

5 years ago[py] add get_norm/power and documentation to filterbank
Paul Brossier [Tue, 4 Dec 2018 00:47:23 +0000 (01:47 +0100)]
[py] add get_norm/power and documentation to filterbank

5 years ago[py] add minimal docstring to fft
Paul Brossier [Mon, 3 Dec 2018 15:12:51 +0000 (16:12 +0100)]
[py] add minimal docstring to fft

5 years agoMerge branch 'fix/mfcc_params'
Paul Brossier [Mon, 3 Dec 2018 14:23:54 +0000 (15:23 +0100)]
Merge branch 'fix/mfcc_params'

5 years ago[filterbank] fix get_power
Paul Brossier [Mon, 3 Dec 2018 14:04:02 +0000 (15:04 +0100)]
[filterbank] fix get_power

5 years ago[mfcc] get_scale/power return smpl_t
Paul Brossier [Mon, 3 Dec 2018 14:03:08 +0000 (15:03 +0100)]
[mfcc] get_scale/power return smpl_t

5 years ago[tests] mfcc norm/scale with real values
Paul Brossier [Mon, 3 Dec 2018 14:00:40 +0000 (15:00 +0100)]
[tests] mfcc norm/scale with real values

5 years ago[make] show tests/ in coverage reports
Paul Brossier [Fri, 30 Nov 2018 14:06:57 +0000 (15:06 +0100)]
[make] show tests/ in coverage reports

5 years ago[make] move coverage reports to build/coverage_{c,python}
Paul Brossier [Fri, 30 Nov 2018 14:05:35 +0000 (15:05 +0100)]
[make] move coverage reports to build/coverage_{c,python}

5 years ago[py] remove useless check in py-phasevoc.c
Paul Brossier [Fri, 30 Nov 2018 02:11:56 +0000 (03:11 +0100)]
[py] remove useless check in py-phasevoc.c

5 years agoMerge branch 'feature/c_tests'
Paul Brossier [Thu, 29 Nov 2018 18:19:52 +0000 (19:19 +0100)]
Merge branch 'feature/c_tests'

5 years ago[tests] onset creation may succeed with non-power of two sizes
Paul Brossier [Thu, 29 Nov 2018 17:49:32 +0000 (18:49 +0100)]
[tests] onset creation may succeed with non-power of two sizes

5 years ago[tests] fix argument parsing in source
Paul Brossier [Thu, 29 Nov 2018 17:39:02 +0000 (18:39 +0100)]
[tests] fix argument parsing in source

5 years ago[tests] make sure unit tests run after sound file is created
Paul Brossier [Thu, 29 Nov 2018 17:38:41 +0000 (18:38 +0100)]
[tests] make sure unit tests run after sound file is created

5 years ago[tests] fix argument parsing in onset and wavetable
Paul Brossier [Thu, 29 Nov 2018 17:36:22 +0000 (18:36 +0100)]
[tests] fix argument parsing in onset and wavetable

5 years ago[waf] check tests return code and show summary
Paul Brossier [Thu, 29 Nov 2018 16:19:07 +0000 (17:19 +0100)]
[waf] check tests return code and show summary

5 years ago[tests] use run_on_default_source_and_sink in sampler tests
Paul Brossier [Thu, 29 Nov 2018 16:05:28 +0000 (17:05 +0100)]
[tests] use run_on_default_source_and_sink in sampler tests

5 years ago[tests] fail dct tests if reconstruction failed
Paul Brossier [Thu, 29 Nov 2018 15:58:12 +0000 (16:58 +0100)]
[tests] fail dct tests if reconstruction failed

5 years ago[tests] add new_aubio_window tests
Paul Brossier [Thu, 29 Nov 2018 15:57:36 +0000 (16:57 +0100)]
[tests] add new_aubio_window tests

5 years ago[tests] use run_on_default_source in tempo
Paul Brossier [Thu, 29 Nov 2018 15:55:43 +0000 (16:55 +0100)]
[tests] use run_on_default_source in tempo

5 years ago[tests] use run_on_default_source_and_sink in awhitening
Paul Brossier [Thu, 29 Nov 2018 15:27:52 +0000 (16:27 +0100)]
[tests] use run_on_default_source_and_sink in awhitening

5 years ago[tests] use run_on_default_source_and_sink in sink tests
Paul Brossier [Thu, 29 Nov 2018 15:26:45 +0000 (16:26 +0100)]
[tests] use run_on_default_source_and_sink in sink tests

5 years ago[tests] add run_on_default_source_and_sink helper
Paul Brossier [Thu, 29 Nov 2018 15:26:04 +0000 (16:26 +0100)]
[tests] add run_on_default_source_and_sink helper

5 years ago[tests] simplify awhitening parsing
Paul Brossier [Thu, 29 Nov 2018 15:15:21 +0000 (16:15 +0100)]
[tests] simplify awhitening parsing

5 years ago[tests] also use run_on_default_source in onset
Paul Brossier [Thu, 29 Nov 2018 15:14:05 +0000 (16:14 +0100)]
[tests] also use run_on_default_source in onset

5 years ago[tests] fix argument parsing in source tests
Paul Brossier [Thu, 29 Nov 2018 15:12:31 +0000 (16:12 +0100)]
[tests] fix argument parsing in source tests

5 years ago[tests] use run_on_default_source in all 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

5 years ago[tests] pure python create_sine_wave
Paul Brossier [Thu, 29 Nov 2018 15:08:24 +0000 (16:08 +0100)]
[tests] pure python create_sine_wave

5 years ago[tests] [win] workaround to escape backslashes
Paul Brossier [Thu, 29 Nov 2018 14:21:03 +0000 (15:21 +0100)]
[tests] [win] workaround to escape backslashes

5 years ago[tests] [win] include io.h for _access()
Paul Brossier [Thu, 29 Nov 2018 14:10:29 +0000 (15:10 +0100)]
[tests] [win] include io.h for _access()

5 years ago[tests] [win] more windows workaround to pass strings via -D
Paul Brossier [Thu, 29 Nov 2018 14:04:58 +0000 (15:04 +0100)]
[tests] [win] more windows workaround to pass strings via -D

5 years ago[tests] fix test source creation rule
Paul Brossier [Thu, 29 Nov 2018 13:31:17 +0000 (14:31 +0100)]
[tests] fix test source creation rule

5 years ago[tests] add run_on_default_source to test-source
Paul Brossier [Thu, 29 Nov 2018 13:28:39 +0000 (14:28 +0100)]
[tests] add run_on_default_source to test-source

5 years ago[tests] add run_on_default_source helper
Paul Brossier [Thu, 29 Nov 2018 13:28:09 +0000 (14:28 +0100)]
[tests] add run_on_default_source helper

5 years ago[tests] create test sound from waf, add -DAUBIO_TESTS_SOURCE=
Paul Brossier [Thu, 29 Nov 2018 13:27:49 +0000 (14:27 +0100)]
[tests] create test sound from waf, add -DAUBIO_TESTS_SOURCE=

5 years ago[tests] add script to create sound file with python only
Paul Brossier [Thu, 29 Nov 2018 13:27:05 +0000 (14:27 +0100)]
[tests] add script to create sound file with python only

5 years ago[tests] [win] use calloc to work around constant size issue
Paul Brossier [Thu, 29 Nov 2018 00:07:15 +0000 (01:07 +0100)]
[tests] [win] use calloc to work around constant size issue

5 years ago[tests] srandom take unsigned int
Paul Brossier [Wed, 28 Nov 2018 23:46:31 +0000 (00:46 +0100)]
[tests] srandom take unsigned int

5 years ago[tests] fix unmatched parenthesis on windows
Paul Brossier [Wed, 28 Nov 2018 23:42:41 +0000 (00:42 +0100)]
[tests] fix unmatched parenthesis on windows

5 years agoRevert "[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.

5 years ago[tests] fix unmatched parenthesis on windows
Paul Brossier [Wed, 28 Nov 2018 23:34:39 +0000 (00:34 +0100)]
[tests] fix unmatched parenthesis on windows

5 years ago[tests] increase entropy by adding address to current second
Paul Brossier [Wed, 28 Nov 2018 23:28:11 +0000 (00:28 +0100)]
[tests] increase entropy by adding address to current second

5 years ago[tests] use constant for array size, include string.h
Paul Brossier [Wed, 28 Nov 2018 23:24:40 +0000 (00:24 +0100)]
[tests] use constant for array size, include string.h

5 years ago[tests] workaround for windows
Paul Brossier [Wed, 28 Nov 2018 23:07:58 +0000 (00:07 +0100)]
[tests] workaround for windows

5 years ago[tests] include unistd for unlink, close (linux, darwin)
Paul Brossier [Wed, 28 Nov 2018 22:04:00 +0000 (23:04 +0100)]
[tests] include unistd for unlink, close (linux, darwin)

5 years ago[tests] create a temporary sink, use in wavetable test
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.

5 years ago[pitch] comment out unused functions in mcomb and yin
Paul Brossier [Wed, 28 Nov 2018 14:30:11 +0000 (15:30 +0100)]
[pitch] comment out unused functions in mcomb and yin

5 years ago[tests] check new_aubio_pitch fails with wrong parameters
Paul Brossier [Wed, 28 Nov 2018 14:28:30 +0000 (15:28 +0100)]
[tests] check new_aubio_pitch fails with wrong parameters

5 years ago[pitch] prevent null pointer dereference in yinfast
Paul Brossier [Wed, 28 Nov 2018 14:27:08 +0000 (15:27 +0100)]
[pitch] prevent null pointer dereference in yinfast

5 years ago[notes] prevent null pointer dereference
Paul Brossier [Wed, 28 Nov 2018 12:40:46 +0000 (13:40 +0100)]
[notes] prevent null pointer dereference

thanks to @niugx

5 years ago[tests] add notes tests
Paul Brossier [Wed, 28 Nov 2018 12:39:51 +0000 (13:39 +0100)]
[tests] add notes tests

5 years ago[utils] hist with size null fails
Paul Brossier [Wed, 28 Nov 2018 02:33:01 +0000 (03:33 +0100)]
[utils] hist with size null fails

5 years ago[tests] check 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

5 years agoMerge branch 'feature/dctsimplify' into feature/mfcc_tests
Paul Brossier [Mon, 26 Nov 2018 17:33:26 +0000 (18:33 +0100)]
Merge branch 'feature/dctsimplify' into feature/mfcc_tests

5 years ago[dct] fix radix check for accelerate
Paul Brossier [Mon, 26 Nov 2018 17:22:06 +0000 (18:22 +0100)]
[dct] fix radix check for accelerate

5 years ago[tests] add calls to new_aubio_mfcc with wrong input parameters
Paul Brossier [Mon, 26 Nov 2018 16:23:14 +0000 (17:23 +0100)]
[tests] add calls to new_aubio_mfcc with wrong input parameters

5 years ago[mfcc] validate input parameters, safer delete
Paul Brossier [Mon, 26 Nov 2018 16:22:31 +0000 (17:22 +0100)]
[mfcc] validate input parameters, safer delete

5 years ago[mfcc] remove plain dct ifdefs
Paul Brossier [Mon, 26 Nov 2018 16:21:30 +0000 (17:21 +0100)]
[mfcc] remove plain dct ifdefs

5 years ago[tests] do not test dct with wrong sizes
Paul Brossier [Mon, 26 Nov 2018 16:09:08 +0000 (17:09 +0100)]
[tests] do not test dct with wrong sizes

5 years ago[dct] fail fftw creation if size <= 0
Paul Brossier [Mon, 26 Nov 2018 15:59:56 +0000 (16:59 +0100)]
[dct] fail fftw creation if size <= 0

5 years ago[dct] fix typo in error message
Paul Brossier [Mon, 26 Nov 2018 15:59:12 +0000 (16:59 +0100)]
[dct] fix typo in error message

5 years ago[dct] fail plain creation if size <= 0
Paul Brossier [Mon, 26 Nov 2018 15:30:14 +0000 (16:30 +0100)]
[dct] fail plain creation if size <= 0

5 years ago[dct] fail ooura creation if size <= 0
Paul Brossier [Mon, 26 Nov 2018 15:29:42 +0000 (16:29 +0100)]
[dct] fail ooura creation if size <= 0

5 years ago[dct] use del_aubio_dct on failure, add missing \n in error message
Paul Brossier [Mon, 26 Nov 2018 15:28:57 +0000 (16:28 +0100)]
[dct] use del_aubio_dct on failure, add missing \n in error message

5 years ago[dct] fix typo in warning message, add missing \n
Paul Brossier [Mon, 26 Nov 2018 15:28:28 +0000 (16:28 +0100)]
[dct] fix typo in warning message, add missing \n