aubio.git
7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 years agosrc/effects/pitchshift.c: fix max_process_size, simplify warm-up
Paul Brossier [Tue, 20 Sep 2016 09:13:53 +0000 (11:13 +0200)]
src/effects/pitchshift.c: fix max_process_size, simplify warm-up

7 years agosrc/effects/pitchshift.c: avoid error with rubberband 1.3, print a warning
Paul Brossier [Mon, 19 Sep 2016 20:50:19 +0000 (22:50 +0200)]
src/effects/pitchshift.c: avoid error with rubberband 1.3, print a warning

7 years agosrc/effects/pitchshift.c: simplify warm-up code, remove old strcmp
Paul Brossier [Mon, 19 Sep 2016 18:30:05 +0000 (20:30 +0200)]
src/effects/pitchshift.c: simplify warm-up code, remove old strcmp

7 years agosrc/effects/pitchshift.c: simplify _do, calling available after process
Paul Brossier [Mon, 19 Sep 2016 18:22:45 +0000 (20:22 +0200)]
src/effects/pitchshift.c: simplify _do, calling available after process

7 years agosrc/effects/pitchshift.c: add crispness as per rubberband command line option
Paul Brossier [Mon, 19 Sep 2016 18:14:21 +0000 (20:14 +0200)]
src/effects/pitchshift.c: add crispness as per rubberband command line option

7 years agosrc/effects/pitchshift.h: improve documentation
Paul Brossier [Mon, 19 Sep 2016 18:13:44 +0000 (20:13 +0200)]
src/effects/pitchshift.h: improve documentation

7 years agosrc/effects/pitchshift.h: add aubio_pitchshift_get_latency
Paul Brossier [Sun, 18 Sep 2016 10:54:10 +0000 (12:54 +0200)]
src/effects/pitchshift.h: add aubio_pitchshift_get_latency

7 years ago.travis.yml: add libsamplerate and libsndfile to brew, disable them to build fat
Paul Brossier [Sat, 17 Sep 2016 01:35:55 +0000 (03:35 +0200)]
.travis.yml: add libsamplerate and libsndfile to brew, disable them to build fat

7 years agosrc/effects/pitchshift.c: clean-up options, set to default
Paul Brossier [Sat, 17 Sep 2016 01:32:32 +0000 (03:32 +0200)]
src/effects/pitchshift.c: clean-up options, set to default

7 years agowscript: loosen rubberband version
Paul Brossier [Sat, 17 Sep 2016 01:20:57 +0000 (03:20 +0200)]
wscript: loosen rubberband version

7 years agopython/lib/gen_code.py: compare to value in param_init
Paul Brossier [Sat, 17 Sep 2016 01:18:39 +0000 (03:18 +0200)]
python/lib/gen_code.py: compare to value in param_init

7 years agopython/tests/test_pitchshift.py: skip test on RuntimeError
Paul Brossier [Sat, 17 Sep 2016 01:09:42 +0000 (03:09 +0200)]
python/tests/test_pitchshift.py: skip test on RuntimeError

7 years agopython/tests/test_pitchshift.py: fix import
Paul Brossier [Sat, 17 Sep 2016 01:09:37 +0000 (03:09 +0200)]
python/tests/test_pitchshift.py: fix import

7 years agopython/tests/test_pitchshift.py: add minimal tests
Paul Brossier [Sat, 17 Sep 2016 01:03:43 +0000 (03:03 +0200)]
python/tests/test_pitchshift.py: add minimal tests

7 years ago.travis.yml: add rubberband
Paul Brossier [Sat, 17 Sep 2016 00:58:16 +0000 (02:58 +0200)]
.travis.yml: add rubberband

7 years agopython/lib/gen_code.py: fix regression from previous commit
Paul Brossier [Sat, 17 Sep 2016 00:31:39 +0000 (02:31 +0200)]
python/lib/gen_code.py: fix regression from previous commit

7 years agodoc/aubio*.txt: document -T/--timeformat option
Paul Brossier [Sat, 17 Sep 2016 00:04:15 +0000 (02:04 +0200)]
doc/aubio*.txt: document -T/--timeformat option

7 years agopython/demos/demo_pitchshift.py: add simple pitch demo with a ramp
Paul Brossier [Fri, 16 Sep 2016 23:47:46 +0000 (01:47 +0200)]
python/demos/demo_pitchshift.py: add simple pitch demo with a ramp

7 years agosrc/wscript_build: add rubberband if found
Paul Brossier [Fri, 16 Sep 2016 23:45:45 +0000 (01:45 +0200)]
src/wscript_build: add rubberband if found

7 years agopython/lib/gen_code.py: add pitchshift
Paul Brossier [Fri, 16 Sep 2016 23:45:22 +0000 (01:45 +0200)]
python/lib/gen_code.py: add pitchshift

7 years agosrc/effects/pitchshift.c: add some comments
Paul Brossier [Fri, 16 Sep 2016 23:44:22 +0000 (01:44 +0200)]
src/effects/pitchshift.c: add some comments

7 years agosrc/effects/pitchshift.h: fix documentation
Paul Brossier [Fri, 16 Sep 2016 23:43:14 +0000 (01:43 +0200)]
src/effects/pitchshift.h: fix documentation

7 years agosrc/effects/pitchshift.h: add a pitch shifter based on rubberband
Paul Brossier [Fri, 16 Sep 2016 23:36:06 +0000 (01:36 +0200)]
src/effects/pitchshift.h: add a pitch shifter based on rubberband

7 years agopython/lib/moresetuptools.py: check if rubberband can be found
Paul Brossier [Fri, 16 Sep 2016 23:04:53 +0000 (01:04 +0200)]
python/lib/moresetuptools.py: check if rubberband can be found

7 years agowscript: check if rubberband can be foud
Paul Brossier [Fri, 16 Sep 2016 22:57:17 +0000 (00:57 +0200)]
wscript: check if rubberband can be foud

7 years agowscript: improve tarball creation (./waf dist)
Paul Brossier [Fri, 16 Sep 2016 17:14:07 +0000 (19:14 +0200)]
wscript: improve tarball creation (./waf dist)

7 years agowscript: build sphinx documentation if sphinx-build is found in PATH
Paul Brossier [Fri, 16 Sep 2016 16:33:17 +0000 (18:33 +0200)]
wscript: build sphinx documentation if sphinx-build is found in PATH

7 years agosrc/spectral/fft.c: make calls to fftw_destroy_plan thread-safe
Paul Brossier [Tue, 30 Aug 2016 14:33:31 +0000 (16:33 +0200)]
src/spectral/fft.c: make calls to fftw_destroy_plan thread-safe

7 years agosrc/io/source_wavread.c: skip junk chunk
Paul Brossier [Tue, 30 Aug 2016 13:07:04 +0000 (15:07 +0200)]
src/io/source_wavread.c: skip junk chunk

7 years agosrc/notes/notes.c: fix out-of-bound write
Paul Brossier [Tue, 30 Aug 2016 13:06:40 +0000 (15:06 +0200)]
src/notes/notes.c: fix out-of-bound write

7 years agopython/lib/gen_external.py: clean-up
Paul Brossier [Mon, 29 Aug 2016 21:21:41 +0000 (23:21 +0200)]
python/lib/gen_external.py: clean-up

7 years agopython/tests/test_cvec.py: simplify
Paul Brossier [Mon, 29 Aug 2016 21:07:15 +0000 (23:07 +0200)]
python/tests/test_cvec.py: simplify

7 years agodoc/index.rst: add number of commits since last release, use https
Paul Brossier [Sat, 27 Aug 2016 15:43:37 +0000 (17:43 +0200)]
doc/index.rst: add number of commits since last release, use https

7 years agodoc/develop.rst: add some documentation about the c-api
Paul Brossier [Sat, 27 Aug 2016 15:23:58 +0000 (17:23 +0200)]
doc/develop.rst: add some documentation about the c-api