aubio.git
6 years agoMerge branch 'master' into feature/sink_vorbis
Paul Brossier [Mon, 17 Dec 2018 14:44:16 +0000 (15:44 +0100)]
Merge branch 'master' into feature/sink_vorbis

6 years ago[tests] improve test-sink
Paul Brossier [Mon, 17 Dec 2018 14:14:39 +0000 (15:14 +0100)]
[tests] improve test-sink

6 years ago[tests] sync test-sink_vorbis
Paul Brossier [Mon, 17 Dec 2018 14:12:01 +0000 (15:12 +0100)]
[tests] sync test-sink_vorbis

6 years ago[io] sink_vorbis: check input sizes
Paul Brossier [Mon, 17 Dec 2018 14:11:17 +0000 (15:11 +0100)]
[io] sink_vorbis: check input sizes

6 years ago[io] sink_vorbis: remove useless check
Paul Brossier [Mon, 17 Dec 2018 14:10:54 +0000 (15:10 +0100)]
[io] sink_vorbis: remove useless check

6 years ago[io] sink_vorbis: prevent crash when closing twice
Paul Brossier [Mon, 17 Dec 2018 14:10:37 +0000 (15:10 +0100)]
[io] sink_vorbis: prevent crash when closing twice

6 years ago[io] sink_vorbis: prevent crash on null path
Paul Brossier [Mon, 17 Dec 2018 14:10:07 +0000 (15:10 +0100)]
[io] sink_vorbis: prevent crash on null path

6 years agoMerge branch 'master' into feature/sink_vorbis
Paul Brossier [Mon, 17 Dec 2018 01:34:15 +0000 (02:34 +0100)]
Merge branch 'master' into feature/sink_vorbis

6 years ago[tests] use srand/rand on windows, declare mkstemp and srandom for c99
Paul Brossier [Mon, 17 Dec 2018 01:03:42 +0000 (02:03 +0100)]
[tests] use srand/rand on windows, declare mkstemp and srandom for c99

6 years ago[source] simplify and avoid unrequired checks
Paul Brossier [Mon, 17 Dec 2018 01:01:06 +0000 (02:01 +0100)]
[source] simplify and avoid unrequired checks

6 years ago[io] remove useless check in source_sndfile
Paul Brossier [Sun, 16 Dec 2018 19:51:20 +0000 (20:51 +0100)]
[io] remove useless check in source_sndfile

6 years ago[doc] remove reference to test-source_multi
Paul Brossier [Sun, 16 Dec 2018 19:50:03 +0000 (20:50 +0100)]
[doc] remove reference to test-source_multi

6 years ago[tests] remove test-sink_*-multi, now redundant
Paul Brossier [Sun, 16 Dec 2018 19:49:47 +0000 (20:49 +0100)]
[tests] remove test-sink_*-multi, now redundant

6 years ago[io] prevent possible crash on empty string in source_apple_audio
Paul Brossier [Sun, 16 Dec 2018 18:39:28 +0000 (19:39 +0100)]
[io] prevent possible crash on empty string in source_apple_audio

6 years ago[tests] sync test-sink with base-sink
Paul Brossier [Sun, 16 Dec 2018 18:20:25 +0000 (19:20 +0100)]
[tests] sync test-sink with base-sink

6 years ago[tests] add more sink tests
Paul Brossier [Sun, 16 Dec 2018 18:19:58 +0000 (19:19 +0100)]
[tests] add more sink tests

6 years ago[io] always call del_ when new_ fails
Paul Brossier [Sun, 16 Dec 2018 18:17:44 +0000 (19:17 +0100)]
[io] always call del_ when new_ fails

6 years ago[io] clean up sink_wavwrite
Paul Brossier [Sun, 16 Dec 2018 18:17:26 +0000 (19:17 +0100)]
[io] clean up sink_wavwrite

6 years ago[io] prevent potential memory leak, never call abort
Paul Brossier [Sun, 16 Dec 2018 18:16:47 +0000 (19:16 +0100)]
[io] prevent potential memory leak, never call abort

6 years ago[io] prevent crash on empty string and potential leak in sink_apple_audio
Paul Brossier [Sun, 16 Dec 2018 18:15:42 +0000 (19:15 +0100)]
[io] prevent crash on empty string and potential leak in sink_apple_audio

6 years ago[io] always call del_aubio_sink
Paul Brossier [Sun, 16 Dec 2018 18:11:47 +0000 (19:11 +0100)]
[io] always call del_aubio_sink

6 years ago[lib] add AUBIO_ASSERT for debug mode
Paul Brossier [Sun, 16 Dec 2018 18:11:19 +0000 (19:11 +0100)]
[lib] add AUBIO_ASSERT for debug mode

6 years ago[io] validate input in sink_wavwrite_do
Paul Brossier [Sun, 16 Dec 2018 18:10:35 +0000 (19:10 +0100)]
[io] validate input in sink_wavwrite_do

6 years ago[io] validate input in sink_sndfile_do
Paul Brossier [Sun, 16 Dec 2018 18:09:50 +0000 (19:09 +0100)]
[io] validate input in sink_sndfile_do

6 years ago[io] validate input in sink_apple_audio_do
Paul Brossier [Sun, 16 Dec 2018 18:09:13 +0000 (19:09 +0100)]
[io] validate input in sink_apple_audio_do

6 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

6 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

6 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

6 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

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

6 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

6 years ago[io] ensure fwrite are successful in sink_vorbis
Paul Brossier [Sat, 15 Dec 2018 10:49:41 +0000 (11:49 +0100)]
[io] ensure fwrite are successful in sink_vorbis

6 years ago[io] avoid crash when calling vorbis_close twice
Paul Brossier [Fri, 14 Dec 2018 13:59:14 +0000 (14:59 +0100)]
[io] avoid crash when calling vorbis_close twice

6 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

6 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

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

6 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

6 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

6 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

6 years ago[sink] search extension once
Paul Brossier [Thu, 13 Dec 2018 01:42:24 +0000 (02:42 +0100)]
[sink] search extension once

6 years ago[io] sink opens sink_flac if file ends with .flac
Paul Brossier [Thu, 13 Dec 2018 01:17:50 +0000 (02:17 +0100)]
[io] sink opens sink_flac if file ends with .flac

6 years ago[io] sink opens sink_vorbis if file ends with .ogg
Paul Brossier [Thu, 13 Dec 2018 01:14:33 +0000 (02:14 +0100)]
[io] sink opens sink_vorbis if file ends with .ogg

6 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

6 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

6 years ago[ci] add flac to azure
Paul Brossier [Wed, 12 Dec 2018 23:49:08 +0000 (00:49 +0100)]
[ci] add flac to azure

6 years ago[ci] add flac to travis
Paul Brossier [Wed, 12 Dec 2018 23:48:56 +0000 (00:48 +0100)]
[ci] add flac to travis

6 years ago[ci] add flac to circleci
Paul Brossier [Wed, 12 Dec 2018 23:48:43 +0000 (00:48 +0100)]
[ci] add flac to circleci

6 years ago[tests] add test-sink_flac
Paul Brossier [Wed, 12 Dec 2018 23:40:43 +0000 (00:40 +0100)]
[tests] add test-sink_flac

6 years ago[io] add sink_flac
Paul Brossier [Wed, 12 Dec 2018 23:37:44 +0000 (00:37 +0100)]
[io] add sink_flac

6 years ago[waf] add flac detection
Paul Brossier [Wed, 12 Dec 2018 22:26:35 +0000 (23:26 +0100)]
[waf] add flac detection

6 years ago[ci] avoid read out of bound in sink_vorbis_do_multi, simplify _open
Paul Brossier [Wed, 12 Dec 2018 22:25:35 +0000 (23:25 +0100)]
[ci] avoid read out of bound in sink_vorbis_do_multi, simplify _open

6 years ago[ci] install vorbis on azure
Paul Brossier [Wed, 12 Dec 2018 22:08:14 +0000 (23:08 +0100)]
[ci] install vorbis on azure

6 years ago[ci] install vorbis on travis
Paul Brossier [Wed, 12 Dec 2018 22:08:06 +0000 (23:08 +0100)]
[ci] install vorbis on travis

6 years ago[ci] install vorbis on circleci
Paul Brossier [Wed, 12 Dec 2018 22:07:56 +0000 (23:07 +0100)]
[ci] install vorbis on circleci

6 years ago[io] add note about reference vorbis implementation
Paul Brossier [Wed, 12 Dec 2018 14:28:31 +0000 (15:28 +0100)]
[io] add note about reference vorbis implementation

6 years ago[io] avoid memory leak in sink_vorbis
Paul Brossier [Wed, 12 Dec 2018 14:27:57 +0000 (15:27 +0100)]
[io] avoid memory leak in sink_vorbis

6 years ago[io] abort sink_vorbis_do on error, remove unused variable
Paul Brossier [Wed, 12 Dec 2018 14:27:37 +0000 (15:27 +0100)]
[io] abort sink_vorbis_do on error, remove unused variable

6 years ago[tests] add test-sink_vorbis
Paul Brossier [Wed, 12 Dec 2018 14:07:02 +0000 (15:07 +0100)]
[tests] add test-sink_vorbis

6 years ago[io] add first sink_vorbis draft
Paul Brossier [Wed, 12 Dec 2018 13:51:18 +0000 (14:51 +0100)]
[io] add first sink_vorbis draft

6 years ago[waf] add vorbisenc detection
Paul Brossier [Wed, 12 Dec 2018 13:15:51 +0000 (14:15 +0100)]
[waf] add vorbisenc detection

6 years agoMerge branch 'master' into feature/pytest
Paul Brossier [Tue, 11 Dec 2018 15:47:32 +0000 (16:47 +0100)]
Merge branch 'master' into feature/pytest

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

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

6 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

6 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

6 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/

6 years ago[timestretch] comment out unused warmup
Paul Brossier [Fri, 7 Dec 2018 17:03:59 +0000 (18:03 +0100)]
[timestretch] comment out unused warmup

6 years ago[tests] increase timestretch coverage, fix memory leak
Paul Brossier [Fri, 7 Dec 2018 17:03:45 +0000 (18:03 +0100)]
[tests] increase timestretch coverage, fix memory leak

6 years ago[effects] clean up aubio_split_str, fix issues in aubio_get_rubberband_opts
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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 years ago[timestretch] validate input hopsize and samplerate
Paul Brossier [Fri, 7 Dec 2018 11:18:17 +0000 (12:18 +0100)]
[timestretch] validate input hopsize and samplerate

6 years ago[tests] add test_wrong_params to test-timestretch
Paul Brossier [Fri, 7 Dec 2018 11:17:55 +0000 (12:17 +0100)]
[tests] add test_wrong_params to test-timestretch

6 years ago[effects] aubio_get_rubberband_opts returns -1 if parsing fails
Paul Brossier [Thu, 6 Dec 2018 23:04:07 +0000 (00:04 +0100)]
[effects] aubio_get_rubberband_opts returns -1 if parsing fails

6 years ago[effects] convert warnings to error, improve messages
Paul Brossier [Sat, 27 Oct 2018 17:39:55 +0000 (19:39 +0200)]
[effects] convert warnings to error, improve messages

6 years ago[pitchscale] wrap long lines
Paul Brossier [Fri, 26 Oct 2018 08:56:48 +0000 (10:56 +0200)]
[pitchscale] wrap long lines

6 years ago[effects] wrap long lines
Paul Brossier [Wed, 24 Oct 2018 16:48:25 +0000 (18:48 +0200)]
[effects] wrap long lines

6 years ago[effects] improve pitchscale documentation
Paul Brossier [Wed, 24 Oct 2018 16:45:19 +0000 (18:45 +0200)]
[effects] improve pitchscale documentation

6 years agosrc/effects/rubberband_utils.c: use ':' to join options
Paul Brossier [Fri, 17 Mar 2017 17:26:50 +0000 (18:26 +0100)]
src/effects/rubberband_utils.c: use ':' to join options

6 years agosrc/effects/: include aubio_priv.h, not config.h, use <> for external includes
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

6 years agotests/src/effects/test-pitchshift.c: cosmetic changes
Paul Brossier [Sun, 12 Mar 2017 13:20:36 +0000 (14:20 +0100)]
tests/src/effects/test-pitchshift.c: cosmetic changes

6 years agosrc/effects/rubberband_utils.c: add parsing of all rubberband options
Paul Brossier [Sun, 12 Mar 2017 13:19:46 +0000 (14:19 +0100)]
src/effects/rubberband_utils.c: add parsing of all rubberband options

6 years agotests/src/effects/test-timestretch.c: update to use new interface
Paul Brossier [Mon, 28 Nov 2016 14:40:57 +0000 (15:40 +0100)]
tests/src/effects/test-timestretch.c: update to use new interface

6 years agosrc/effects/timestretch*: move out threaded file reading stuff, add _push and _available
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

6 years agosrc/effects/timestretch_rubberband.c: improve threading
Paul Brossier [Mon, 3 Oct 2016 09:20:57 +0000 (11:20 +0200)]
src/effects/timestretch_rubberband.c: improve threading

6 years agosrc/effects/timestretch_rubberband.c: do not reopen thread in _seek, add flags to...
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

6 years agosrc/effects/timestretch_rubberband.c: add initial pthread support
Paul Brossier [Thu, 29 Sep 2016 23:54:50 +0000 (01:54 +0200)]
src/effects/timestretch_rubberband.c: add initial pthread support

6 years agosrc/effects/timestretch_rubberband.c: fix eof when last available == hopsize, change...
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

6 years agosrc/effects/timestretch_rubberband.c: factorise into aubio_timestretch_fetch
Paul Brossier [Thu, 29 Sep 2016 14:31:10 +0000 (16:31 +0200)]
src/effects/timestretch_rubberband.c: factorise into aubio_timestretch_fetch

6 years agosrc/effects/timestretch_rubberband.c: split into functions
Paul Brossier [Thu, 29 Sep 2016 14:21:50 +0000 (16:21 +0200)]
src/effects/timestretch_rubberband.c: split into functions

6 years agosrc/effects/timestretch_rubberband.c: remove unused variable, erase internal vector
Paul Brossier [Thu, 29 Sep 2016 14:16:57 +0000 (16:16 +0200)]
src/effects/timestretch_rubberband.c: remove unused variable, erase internal vector

6 years agosrc/effects/timestretch_rubberband.c: invert stretch ratio
Paul Brossier [Thu, 29 Sep 2016 12:23:58 +0000 (14:23 +0200)]
src/effects/timestretch_rubberband.c: invert stretch ratio

6 years agosrc/effects/timestretch.h: add _seek method
Paul Brossier [Thu, 29 Sep 2016 11:38:04 +0000 (13:38 +0200)]
src/effects/timestretch.h: add _seek method

6 years agosrc/aubio.h: add effects/timestretch.h
Paul Brossier [Thu, 29 Sep 2016 11:34:13 +0000 (13:34 +0200)]
src/aubio.h: add effects/timestretch.h

6 years agopython/lib/gen_external.py: disable timestretch for now, add a note about it
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