aubio.git
8 years agosrc/synth/sampler.c: improve warning
Paul Brossier [Mon, 28 Nov 2016 13:54:51 +0000 (14:54 +0100)]
src/synth/sampler.c: improve warning

8 years agosrc/synth/sampler.c: always create source_output if a ringbuffer is used
Paul Brossier [Mon, 28 Nov 2016 13:53:53 +0000 (14:53 +0100)]
src/synth/sampler.c: always create source_output if a ringbuffer is used

8 years agosrc/synth/sampler.h: add _{get,set}_perfectloop
Paul Brossier [Mon, 28 Nov 2016 13:50:46 +0000 (14:50 +0100)]
src/synth/sampler.h: add _{get,set}_perfectloop

8 years agosrc/synth/sampler.h: improve documentation
Paul Brossier [Mon, 28 Nov 2016 13:47:08 +0000 (14:47 +0100)]
src/synth/sampler.h: improve documentation

8 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

8 years agosrc/aubio.h: add ringbuffer to unstable api
Paul Brossier [Mon, 28 Nov 2016 13:11:10 +0000 (14:11 +0100)]
src/aubio.h: add ringbuffer to unstable api

8 years agosrc/synth/sampler.c: add _set_table and allow switching to/from table or source
Paul Brossier [Tue, 11 Oct 2016 00:37:25 +0000 (02:37 +0200)]
src/synth/sampler.c: add _set_table and allow switching to/from table or source

8 years agosrc/synth/sampler.c: remove debug variable, make sure source_blocksize >= blocksize...
Paul Brossier [Mon, 10 Oct 2016 09:42:14 +0000 (11:42 +0200)]
src/synth/sampler.c: remove debug variable, make sure source_blocksize >= blocksize, print a warning if sample duration is shorter than blocksize

8 years agosrc/synth/sampler.c: clean-up, move first read in reading thread
Paul Brossier [Sun, 9 Oct 2016 18:04:35 +0000 (20:04 +0200)]
src/synth/sampler.c: clean-up, move first read in reading thread

8 years agosrc/utils/ringbuffer.c: remove asserts, make sure request < available
Paul Brossier [Sun, 9 Oct 2016 18:03:29 +0000 (20:03 +0200)]
src/utils/ringbuffer.c: remove asserts, make sure request < available

8 years agosrc/synth/sampler.c: clean up and add threaded ring buffer
Paul Brossier [Sat, 8 Oct 2016 18:59:30 +0000 (20:59 +0200)]
src/synth/sampler.c: clean up and add threaded ring buffer

8 years agosrc/synth/sampler.c: huge change adding a ringbuffer mode and preparing for the next...
Paul Brossier [Sat, 8 Oct 2016 17:59:41 +0000 (19:59 +0200)]
src/synth/sampler.c: huge change adding a ringbuffer mode and preparing for the next steps

8 years agosrc/utils/ringbuffer.*: added ringbuffer draft
Paul Brossier [Sat, 8 Oct 2016 17:59:08 +0000 (19:59 +0200)]
src/utils/ringbuffer.*: added ringbuffer draft

8 years agosrc/synth/sampler.h: improve documentation
Paul Brossier [Sat, 8 Oct 2016 17:55:44 +0000 (19:55 +0200)]
src/synth/sampler.h: improve documentation

8 years agosrc/synth/sampler.c: add thread open/close functions
Paul Brossier [Thu, 6 Oct 2016 18:03:01 +0000 (20:03 +0200)]
src/synth/sampler.c: add thread open/close functions

8 years agosrc/io/source_wavread.c: initialize buffer
Paul Brossier [Wed, 5 Oct 2016 09:45:36 +0000 (11:45 +0200)]
src/io/source_wavread.c: initialize buffer

8 years agosrc/io/source.c: only show error message from last child source_
Paul Brossier [Mon, 3 Oct 2016 19:09:52 +0000 (21:09 +0200)]
src/io/source.c: only show error message from last child source_

8 years agosrc/synth/sampler.{c,h}: prepare reading thread, reset waited in _queue, only join...
Paul Brossier [Wed, 5 Oct 2016 12:30:57 +0000 (14:30 +0200)]
src/synth/sampler.{c,h}: prepare reading thread, reset waited in _queue, only join open thread if still open, improve documentation

8 years agosrc/synth/sampler.c: refactor interface, add file opening thread and utility functions
Paul Brossier [Tue, 4 Oct 2016 21:16:14 +0000 (23:16 +0200)]
src/synth/sampler.c: refactor interface, add file opening thread and utility functions

8 years agowscript: add options to disable source_wavread/sink_wavwrite
Paul Brossier [Mon, 3 Oct 2016 10:02:00 +0000 (12:02 +0200)]
wscript: add options to disable source_wavread/sink_wavwrite

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agotests/src/effects/test-timestretch.c: add example for aubio_timestretch_t
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

8 years agosrc/effects/timestretch.h: add get_samplerate method
Paul Brossier [Thu, 29 Sep 2016 11:22:22 +0000 (13:22 +0200)]
src/effects/timestretch.h: add get_samplerate method

8 years agosrc/effects/timestretch.h: add time stretching object, rubberband implementation
Paul Brossier [Thu, 29 Sep 2016 11:03:07 +0000 (13:03 +0200)]
src/effects/timestretch.h: add time stretching object, rubberband implementation

8 years agotests/src/effects/test-pitchshift.c: remove HAVE_RUBBERBAND pitchshift
Paul Brossier [Thu, 29 Sep 2016 08:53:37 +0000 (10:53 +0200)]
tests/src/effects/test-pitchshift.c: remove HAVE_RUBBERBAND

8 years agosrc/effects/pitchshift.h: improve documentation
Paul Brossier [Thu, 29 Sep 2016 08:48:52 +0000 (10:48 +0200)]
src/effects/pitchshift.h: improve documentation

8 years agoMerge branch 'master' into pitchshift
Paul Brossier [Wed, 28 Sep 2016 13:23:01 +0000 (15:23 +0200)]
Merge branch 'master' into pitchshift

8 years agosrc/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static
Paul Brossier [Wed, 28 Sep 2016 13:18:30 +0000 (15:18 +0200)]
src/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static

8 years agosrc/pitch/pitch.c: fail on wrong method, warn on wrong unit, improve error messages
Paul Brossier [Wed, 28 Sep 2016 13:16:45 +0000 (15:16 +0200)]
src/pitch/pitch.c: fail on wrong method, warn on wrong unit, improve error messages

8 years agosrc/onset/onset.c: return null and clean-up if new_aubio_specdesc failed
Paul Brossier [Wed, 28 Sep 2016 13:10:25 +0000 (15:10 +0200)]
src/onset/onset.c: return null and clean-up if new_aubio_specdesc failed

8 years agosrc/onset/onset.c: fix error message
Paul Brossier [Wed, 28 Sep 2016 13:09:40 +0000 (15:09 +0200)]
src/onset/onset.c: fix error message

8 years agosrc/pitch/pitch.c: declare internal functions as static
Paul Brossier [Wed, 28 Sep 2016 13:08:33 +0000 (15:08 +0200)]
src/pitch/pitch.c: declare internal functions as static

8 years agosrc/pitch/pitch.h: add aubio_pitch_get_tolerance
Paul Brossier [Wed, 28 Sep 2016 00:23:16 +0000 (02:23 +0200)]
src/pitch/pitch.h: add aubio_pitch_get_tolerance

8 years agoMerge branch 'master' into pitchshift
Paul Brossier [Tue, 27 Sep 2016 23:54:46 +0000 (01:54 +0200)]
Merge branch 'master' into pitchshift

8 years agosrc/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes
Paul Brossier [Tue, 27 Sep 2016 16:26:02 +0000 (18:26 +0200)]
src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes

8 years agosrc/spectral/fft.c: use prefixed aubio_ooura_rdft
Paul Brossier [Tue, 27 Sep 2016 22:23:24 +0000 (00:23 +0200)]
src/spectral/fft.c: use prefixed aubio_ooura_rdft

8 years agosrc/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with...
Paul Brossier [Tue, 27 Sep 2016 22:22:47 +0000 (00:22 +0200)]
src/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with other apps using ooura (e.g. puredata), make internal functions static

8 years agosrc/spectral/fft.c: use prefixed aubio_ooura_rdft
Paul Brossier [Tue, 27 Sep 2016 22:23:24 +0000 (00:23 +0200)]
src/spectral/fft.c: use prefixed aubio_ooura_rdft

8 years agosrc/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with...
Paul Brossier [Tue, 27 Sep 2016 22:22:47 +0000 (00:22 +0200)]
src/spectral/ooura_fft8g.c: prefix public function with aubio_ooura_ to avoid with other apps using ooura (e.g. puredata), make internal functions static

8 years agosrc/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes
Paul Brossier [Tue, 27 Sep 2016 16:26:02 +0000 (18:26 +0200)]
src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes

8 years agopython/ext/aubiomodule.c: remove duplicate add_generated_objects
Paul Brossier [Fri, 23 Sep 2016 06:03:39 +0000 (08:03 +0200)]
python/ext/aubiomodule.c: remove duplicate add_generated_objects

8 years agopython/ext/aubiomodule.c: undo last commit
Paul Brossier [Fri, 23 Sep 2016 06:01:34 +0000 (08:01 +0200)]
python/ext/aubiomodule.c: undo last commit

8 years agopython/ext/aubiomodule.c: remove extern
Paul Brossier [Fri, 23 Sep 2016 05:54:04 +0000 (07:54 +0200)]
python/ext/aubiomodule.c: remove extern

8 years agopython/tests/test_pitchshift.py: get message from aubio.pitchshift
Paul Brossier [Fri, 23 Sep 2016 05:50:16 +0000 (07:50 +0200)]
python/tests/test_pitchshift.py: get message from aubio.pitchshift

8 years agoMerge branch 'master' into pitchshift
Paul Brossier [Fri, 23 Sep 2016 04:57:20 +0000 (06:57 +0200)]
Merge branch 'master' into pitchshift

8 years agopython/ext/py-source.c: use error string set in src/io/source.c
Paul Brossier [Fri, 23 Sep 2016 01:24:07 +0000 (03:24 +0200)]
python/ext/py-source.c: use error string set in src/io/source.c

8 years agopython/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c
Paul Brossier [Fri, 23 Sep 2016 01:23:47 +0000 (03:23 +0200)]
python/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c

8 years agopython/ext/py-fft.c: use error string set in src/spectral/fft.c
Paul Brossier [Fri, 23 Sep 2016 01:22:51 +0000 (03:22 +0200)]
python/ext/py-fft.c: use error string set in src/spectral/fft.c

8 years agosrc/io/source_sndfile.c: add support for multi-channel resampling
Paul Brossier [Fri, 23 Sep 2016 00:43:35 +0000 (02:43 +0200)]
src/io/source_sndfile.c: add support for multi-channel resampling

8 years agopython/tests/test_source.py: break long line
Paul Brossier [Thu, 22 Sep 2016 23:27:21 +0000 (01:27 +0200)]
python/tests/test_source.py: break long line

8 years agosrc/notes/notes.c: fix error message
Paul Brossier [Thu, 22 Sep 2016 23:14:47 +0000 (01:14 +0200)]
src/notes/notes.c: fix error message

8 years agosrc/spectral/fft.h: strip example path
Paul Brossier [Thu, 22 Sep 2016 22:50:01 +0000 (00:50 +0200)]
src/spectral/fft.h: strip example path

8 years agopython/tests/test_specdesc.py: RuntimeError is now raised on wrong mode
Paul Brossier [Thu, 22 Sep 2016 22:07:36 +0000 (00:07 +0200)]
python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode

8 years agosrc/spectral/specdesc.c: return NULL if wrong mode asked
Paul Brossier [Thu, 22 Sep 2016 22:06:45 +0000 (00:06 +0200)]
src/spectral/specdesc.c: return NULL if wrong mode asked

8 years agosrc/utils/log.c: add header, remove unused code
Paul Brossier [Thu, 22 Sep 2016 22:06:02 +0000 (00:06 +0200)]
src/utils/log.c: add header, remove unused code

8 years agosrc/aubio.h: add some links to examples
Paul Brossier [Thu, 22 Sep 2016 22:01:32 +0000 (00:01 +0200)]
src/aubio.h: add some links to examples

8 years agotests/src/spectral/test-fft.c: fix default size
Paul Brossier [Thu, 22 Sep 2016 21:26:50 +0000 (23:26 +0200)]
tests/src/spectral/test-fft.c: fix default size

8 years agosrc/spectral/specdesc.c: remove trailing spaces
Paul Brossier [Thu, 22 Sep 2016 21:16:09 +0000 (23:16 +0200)]
src/spectral/specdesc.c: remove trailing spaces

8 years agopython/tests/test_source.py: filter user warnings to avoid spamming the console
Paul Brossier [Thu, 22 Sep 2016 20:55:53 +0000 (22:55 +0200)]
python/tests/test_source.py: filter user warnings to avoid spamming the console

8 years agopython/ext/aubiomodule.c: use custom logging function for errors and warnings
Paul Brossier [Thu, 22 Sep 2016 20:55:47 +0000 (22:55 +0200)]
python/ext/aubiomodule.c: use custom logging function for errors and warnings

8 years agopython/lib/moresetuptools.py: add HAVE_STDARG_H
Paul Brossier [Thu, 22 Sep 2016 20:41:08 +0000 (22:41 +0200)]
python/lib/moresetuptools.py: add HAVE_STDARG_H

8 years agotests/src/utils/test-log.c: add example for aubio_log_set_function
Paul Brossier [Thu, 22 Sep 2016 20:34:38 +0000 (22:34 +0200)]
tests/src/utils/test-log.c: add example for aubio_log_set_function

8 years agosrc/aubio_priv.h: use new logging function
Paul Brossier [Thu, 22 Sep 2016 20:34:00 +0000 (22:34 +0200)]
src/aubio_priv.h: use new logging function

8 years agosrc/aubio.h: add utils/log.h
Paul Brossier [Thu, 22 Sep 2016 20:33:29 +0000 (22:33 +0200)]
src/aubio.h: add utils/log.h

8 years agosrc/utils/log.h: add new aubio_log_set_function
Paul Brossier [Thu, 22 Sep 2016 20:33:09 +0000 (22:33 +0200)]
src/utils/log.h: add new aubio_log_set_function

8 years agosrc/aubio_priv.h: add stdarg.h
Paul Brossier [Thu, 22 Sep 2016 17:19:12 +0000 (19:19 +0200)]
src/aubio_priv.h: add stdarg.h

8 years agowscript: add stdarg.h
Paul Brossier [Thu, 22 Sep 2016 17:15:58 +0000 (19:15 +0200)]
wscript: add stdarg.h

8 years agopython/demos/demo_mfcc.py: add options to plot first and second derivatives, and...
Paul Brossier [Thu, 22 Sep 2016 11:48:44 +0000 (13:48 +0200)]
python/demos/demo_mfcc.py: add options to plot first and second derivatives, and set samplerate/win_s/hop_s, thanks to @jhoelzl (closes #68)

8 years agopython/tests/test_fvec.py: reduce alpha norm precision to 10.-4
Paul Brossier [Thu, 22 Sep 2016 11:46:16 +0000 (13:46 +0200)]
python/tests/test_fvec.py: reduce alpha norm precision to 10.-4

8 years agosrc/effects/pitchshift_rubberband.c: fix error message
Paul Brossier [Wed, 21 Sep 2016 16:02:44 +0000 (18:02 +0200)]
src/effects/pitchshift_rubberband.c: fix error message

8 years agosrc/effects/pitchshift.h: split implementations in two files, move option parsing...
Paul Brossier [Wed, 21 Sep 2016 15:36:50 +0000 (17:36 +0200)]
src/effects/pitchshift.h: split implementations in two files, move option parsing to rubberband_utils.c

8 years agotests/src/effects/test-pitchshift.c: add option for mode, shuffle options order
Paul Brossier [Wed, 21 Sep 2016 15:10:56 +0000 (17:10 +0200)]
tests/src/effects/test-pitchshift.c: add option for mode, shuffle options order

8 years agotests/src/effects/test-pitchshift.c: use 64 hopsize by default
Paul Brossier [Wed, 21 Sep 2016 14:56:03 +0000 (16:56 +0200)]
tests/src/effects/test-pitchshift.c: use 64 hopsize by default

8 years agosrc/effects/pitchshift.c: fix lower pitchscale limit
Paul Brossier [Wed, 21 Sep 2016 14:55:34 +0000 (16:55 +0200)]
src/effects/pitchshift.c: fix lower pitchscale limit

8 years agotests/src/effects/test-pitchshift.c: clean-up, use fixed tranposistion
Paul Brossier [Wed, 21 Sep 2016 14:12:33 +0000 (16:12 +0200)]
tests/src/effects/test-pitchshift.c: clean-up, use fixed tranposistion

8 years agopython/tests/test_pitchshift.py: make sure a wrong transpose raises RuntimeError
Paul Brossier [Wed, 21 Sep 2016 14:00:03 +0000 (16:00 +0200)]
python/tests/test_pitchshift.py: make sure a wrong transpose raises RuntimeError

8 years agosrc/effects/pitchshift.h: use transpose, not pitchscale
Paul Brossier [Wed, 21 Sep 2016 13:55:21 +0000 (15:55 +0200)]
src/effects/pitchshift.h: use transpose, not pitchscale

8 years agosrc/effects/pitchshift.c: remove unused timeratio
Paul Brossier [Wed, 21 Sep 2016 13:54:22 +0000 (15:54 +0200)]
src/effects/pitchshift.c: remove unused timeratio

8 years agoMerge branch 'master' into pitchshift
Paul Brossier [Wed, 21 Sep 2016 13:47:48 +0000 (15:47 +0200)]
Merge branch 'master' into pitchshift

8 years agosrc/io/source_wavread.c: skip chunks until data is found, or abort
Paul Brossier [Wed, 21 Sep 2016 13:24:06 +0000 (15:24 +0200)]
src/io/source_wavread.c: skip chunks until data is found, or abort

8 years agosrc/io/source_wavread.c: fix bytes_read for JUNK headers
Paul Brossier [Wed, 21 Sep 2016 13:23:22 +0000 (15:23 +0200)]
src/io/source_wavread.c: fix bytes_read for JUNK headers

8 years ago.appveyor.yml: make nose2 verbose
Paul Brossier [Wed, 21 Sep 2016 12:08:18 +0000 (14:08 +0200)]
.appveyor.yml: make nose2 verbose

8 years agosrc/io/source_sndfile.c: improve formatting
Paul Brossier [Wed, 21 Sep 2016 12:07:04 +0000 (14:07 +0200)]
src/io/source_sndfile.c: improve formatting

8 years agosrc/effects/pitchshift.c: avoid signed/unsigned comparison
Paul Brossier [Wed, 21 Sep 2016 09:26:10 +0000 (11:26 +0200)]
src/effects/pitchshift.c: avoid signed/unsigned comparison

8 years agoMerge branch 'master' into pitchshift
Paul Brossier [Tue, 20 Sep 2016 23:49:22 +0000 (01:49 +0200)]
Merge branch 'master' into pitchshift

8 years agopython/tests/test_pitchshift.py: catch runtime error here too
Paul Brossier [Tue, 20 Sep 2016 23:49:16 +0000 (01:49 +0200)]
python/tests/test_pitchshift.py: catch runtime error here too

8 years agopython/tests/test_source.py: use nose2 params to process one sound file per test
Paul Brossier [Tue, 20 Sep 2016 23:34:33 +0000 (01:34 +0200)]
python/tests/test_source.py: use nose2 params to process one sound file per test

8 years agopython/demos/demo_pitchshift.py: default to 64 hop
Paul Brossier [Tue, 20 Sep 2016 23:33:55 +0000 (01:33 +0200)]
python/demos/demo_pitchshift.py: default to 64 hop

8 years agopython/tests/test_pitchshift.py: run in a few modes
Paul Brossier [Tue, 20 Sep 2016 23:32:57 +0000 (01:32 +0200)]
python/tests/test_pitchshift.py: run in a few modes

8 years agopython/demos/demo_pitchshift.py: add mode option
Paul Brossier [Tue, 20 Sep 2016 21:24:46 +0000 (23:24 +0200)]
python/demos/demo_pitchshift.py: add mode option