aubio.git
8 years agotests/src/synth/test-sampler_table.c: add tests for table mode
Paul Brossier [Mon, 28 Nov 2016 16:05:40 +0000 (17:05 +0100)]
tests/src/synth/test-sampler_table.c: add tests for table mode

8 years agopython/lib/gen_external.py: disable sampler and ringbuffer for now (FIXME)
Paul Brossier [Mon, 28 Nov 2016 16:01:27 +0000 (17:01 +0100)]
python/lib/gen_external.py: disable sampler and ringbuffer for now (FIXME)

8 years agopython/lib/gen_code.py: add ringbuffer
Paul Brossier [Mon, 28 Nov 2016 15:41:09 +0000 (16:41 +0100)]
python/lib/gen_code.py: add ringbuffer

8 years agoMakefile: use bdist_wheel in test_pure_python
Paul Brossier [Thu, 17 Nov 2016 13:04:28 +0000 (14:04 +0100)]
Makefile: use bdist_wheel in test_pure_python

8 years agoMakefile: pass build_ext in test_pure_python{,_wheel}
Paul Brossier [Mon, 3 Oct 2016 14:48:54 +0000 (16:48 +0200)]
Makefile: pass build_ext  in test_pure_python{,_wheel}

8 years agosetup.py: use custom build_ext instead of 'generate' command, define HAVE_AUBIO_DOUBL...
Paul Brossier [Mon, 3 Oct 2016 14:40:48 +0000 (16:40 +0200)]
setup.py: use custom build_ext instead of 'generate' command, define HAVE_AUBIO_DOUBLE to 1 if needed

8 years agosrc/aubio_priv.h: add ATAN alias
Paul Brossier [Mon, 3 Oct 2016 18:57:46 +0000 (20:57 +0200)]
src/aubio_priv.h: add ATAN alias

8 years agopython/demos/demo_timestretch*: use // to yield an integer (closes #71)
Paul Brossier [Wed, 16 Nov 2016 09:54:14 +0000 (10:54 +0100)]
python/demos/demo_timestretch*: use // to yield an integer (closes #71)

8 years agowscript: check for pthread.h libpthread
Paul Brossier [Mon, 28 Nov 2016 15:27:34 +0000 (16:27 +0100)]
wscript: check for pthread.h libpthread

8 years agopython/tests/test_source.py: only check if last frames are non silent on brownnoise...
Paul Brossier [Mon, 3 Oct 2016 10:24:35 +0000 (12:24 +0200)]
python/tests/test_source.py: only check if last frames are non silent on brownnoise (weak)

8 years agopython/tests/test_source.py: check the tail of the file is non-zero on non silent...
Paul Brossier [Mon, 3 Oct 2016 09:46:37 +0000 (11:46 +0200)]
python/tests/test_source.py: check the tail of the file is non-zero on non silent test files

8 years agosrc/io/source_avcodec.c: improve error message
Paul Brossier [Wed, 5 Oct 2016 12:14:24 +0000 (14:14 +0200)]
src/io/source_avcodec.c: improve error message

8 years agosrc/io/source_avcodec.c: fix missing samples in eof block
Paul Brossier [Mon, 3 Oct 2016 09:47:25 +0000 (11:47 +0200)]
src/io/source_avcodec.c: fix missing samples in eof block

8 years agosrc/io/source_sndfile.c: set handle to null after sucessful close
Paul Brossier [Mon, 3 Oct 2016 11:28:08 +0000 (13:28 +0200)]
src/io/source_sndfile.c: set handle to null after sucessful close

8 years agoexamples/: return 1 if object creation failed
Paul Brossier [Mon, 3 Oct 2016 16:59:12 +0000 (18:59 +0200)]
examples/: return 1 if object creation failed

8 years agoexamples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE
Paul Brossier [Mon, 3 Oct 2016 16:41:10 +0000 (18:41 +0200)]
examples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE

8 years agosrc/temporal/resampler.c: throw an error when using libsamplerate with doubles
Paul Brossier [Mon, 3 Oct 2016 14:50:36 +0000 (16:50 +0200)]
src/temporal/resampler.c: throw an error when using libsamplerate with doubles

8 years agotests/src/synth/test-sampler.c: improve
Paul Brossier [Mon, 28 Nov 2016 14:58:42 +0000 (15:58 +0100)]
tests/src/synth/test-sampler.c: improve

8 years agosetup.py, python/lib/: use sorted glob.glob to improve reproducibility
Paul Brossier [Mon, 28 Nov 2016 14:48:34 +0000 (15:48 +0100)]
setup.py, python/lib/: use sorted glob.glob to improve reproducibility

8 years agosrc/synth/sampler.c: no last_read yet
Paul Brossier [Mon, 28 Nov 2016 14:45:11 +0000 (15:45 +0100)]
src/synth/sampler.c: no last_read yet

8 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

8 years agosrc/io/source_wavread.c: improve error messages
Paul Brossier [Mon, 28 Nov 2016 14:13:19 +0000 (15:13 +0100)]
src/io/source_wavread.c: improve error messages

8 years agosrc/synth/sampler.c: trigger resets ringbuffer
Paul Brossier [Mon, 28 Nov 2016 14:01:20 +0000 (15:01 +0100)]
src/synth/sampler.c: trigger resets ringbuffer

8 years agosrc/synth/sampler.c: remove old comment
Paul Brossier [Mon, 28 Nov 2016 14:00:27 +0000 (15:00 +0100)]
src/synth/sampler.c: remove old comment

8 years agosrc/synth/sampler.c: let sampler_read call memset(0) as needed
Paul Brossier [Mon, 28 Nov 2016 13:59:20 +0000 (14:59 +0100)]
src/synth/sampler.c: let sampler_read call memset(0) as needed

8 years agosrc/synth/sampler.c: alwasy signal read_avail in idle
Paul Brossier [Mon, 28 Nov 2016 13:57:39 +0000 (14:57 +0100)]
src/synth/sampler.c: alwasy signal read_avail in idle

8 years agosrc/synth/sampler.c: also seek in table
Paul Brossier [Mon, 28 Nov 2016 13:57:07 +0000 (14:57 +0100)]
src/synth/sampler.c: also seek in table

8 years agosrc/synth/sampler.c: improve comments
Paul Brossier [Mon, 28 Nov 2016 13:55:48 +0000 (14:55 +0100)]
src/synth/sampler.c: improve comments

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