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
Paul Brossier [Thu, 29 Sep 2016 14:31:10 +0000 (16:31 +0200)]
src/effects/timestretch_rubberband.c: factorise into aubio_timestretch_fetch
Paul Brossier [Thu, 29 Sep 2016 14:21:50 +0000 (16:21 +0200)]
src/effects/timestretch_rubberband.c: split into functions
Paul Brossier [Thu, 29 Sep 2016 14:16:57 +0000 (16:16 +0200)]
src/effects/timestretch_rubberband.c: remove unused variable, erase internal vector
Paul Brossier [Thu, 29 Sep 2016 12:23:58 +0000 (14:23 +0200)]
src/effects/timestretch_rubberband.c: invert stretch ratio
Paul Brossier [Thu, 29 Sep 2016 11:38:04 +0000 (13:38 +0200)]
src/effects/timestretch.h: add _seek method
Paul Brossier [Thu, 29 Sep 2016 11:34:13 +0000 (13:34 +0200)]
src/aubio.h: add effects/timestretch.h
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
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
Paul Brossier [Thu, 29 Sep 2016 11:22:22 +0000 (13:22 +0200)]
src/effects/timestretch.h: add get_samplerate method
Paul Brossier [Thu, 29 Sep 2016 11:03:07 +0000 (13:03 +0200)]
src/effects/timestretch.h: add time stretching object, rubberband implementation
Paul Brossier [Thu, 29 Sep 2016 08:53:37 +0000 (10:53 +0200)]
tests/src/effects/test-pitchshift.c: remove HAVE_RUBBERBAND
Paul Brossier [Thu, 29 Sep 2016 08:48:52 +0000 (10:48 +0200)]
src/effects/pitchshift.h: improve documentation
Paul Brossier [Wed, 28 Sep 2016 13:23:01 +0000 (15:23 +0200)]
Merge branch 'master' into pitchshift
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
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
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
Paul Brossier [Wed, 28 Sep 2016 13:09:40 +0000 (15:09 +0200)]
src/onset/onset.c: fix error message
Paul Brossier [Wed, 28 Sep 2016 13:08:33 +0000 (15:08 +0200)]
src/pitch/pitch.c: declare internal functions as static
Paul Brossier [Wed, 28 Sep 2016 00:23:16 +0000 (02:23 +0200)]
src/pitch/pitch.h: add aubio_pitch_get_tolerance
Paul Brossier [Tue, 27 Sep 2016 23:54:46 +0000 (01:54 +0200)]
Merge branch 'master' into pitchshift
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
Paul Brossier [Tue, 27 Sep 2016 22:23:24 +0000 (00:23 +0200)]
src/spectral/fft.c: use prefixed aubio_ooura_rdft
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
Paul Brossier [Tue, 27 Sep 2016 22:23:24 +0000 (00:23 +0200)]
src/spectral/fft.c: use prefixed aubio_ooura_rdft
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
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
Paul Brossier [Fri, 23 Sep 2016 06:03:39 +0000 (08:03 +0200)]
python/ext/aubiomodule.c: remove duplicate add_generated_objects
Paul Brossier [Fri, 23 Sep 2016 06:01:34 +0000 (08:01 +0200)]
python/ext/aubiomodule.c: undo last commit
Paul Brossier [Fri, 23 Sep 2016 05:54:04 +0000 (07:54 +0200)]
python/ext/aubiomodule.c: remove extern
Paul Brossier [Fri, 23 Sep 2016 05:50:16 +0000 (07:50 +0200)]
python/tests/test_pitchshift.py: get message from aubio.pitchshift
Paul Brossier [Fri, 23 Sep 2016 04:57:20 +0000 (06:57 +0200)]
Merge branch 'master' into pitchshift
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
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
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
Paul Brossier [Fri, 23 Sep 2016 00:43:35 +0000 (02:43 +0200)]
src/io/source_sndfile.c: add support for multi-channel resampling
Paul Brossier [Thu, 22 Sep 2016 23:27:21 +0000 (01:27 +0200)]
python/tests/test_source.py: break long line
Paul Brossier [Thu, 22 Sep 2016 23:14:47 +0000 (01:14 +0200)]
src/notes/notes.c: fix error message
Paul Brossier [Thu, 22 Sep 2016 22:50:01 +0000 (00:50 +0200)]
src/spectral/fft.h: strip example path
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
Paul Brossier [Thu, 22 Sep 2016 22:06:45 +0000 (00:06 +0200)]
src/spectral/specdesc.c: return NULL if wrong mode asked
Paul Brossier [Thu, 22 Sep 2016 22:06:02 +0000 (00:06 +0200)]
src/utils/log.c: add header, remove unused code
Paul Brossier [Thu, 22 Sep 2016 22:01:32 +0000 (00:01 +0200)]
src/aubio.h: add some links to examples
Paul Brossier [Thu, 22 Sep 2016 21:26:50 +0000 (23:26 +0200)]
tests/src/spectral/test-fft.c: fix default size
Paul Brossier [Thu, 22 Sep 2016 21:16:09 +0000 (23:16 +0200)]
src/spectral/specdesc.c: remove trailing spaces
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
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
Paul Brossier [Thu, 22 Sep 2016 20:41:08 +0000 (22:41 +0200)]
python/lib/moresetuptools.py: add HAVE_STDARG_H
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
Paul Brossier [Thu, 22 Sep 2016 20:34:00 +0000 (22:34 +0200)]
src/aubio_priv.h: use new logging function
Paul Brossier [Thu, 22 Sep 2016 20:33:29 +0000 (22:33 +0200)]
src/aubio.h: add utils/log.h
Paul Brossier [Thu, 22 Sep 2016 20:33:09 +0000 (22:33 +0200)]
src/utils/log.h: add new aubio_log_set_function
Paul Brossier [Thu, 22 Sep 2016 17:19:12 +0000 (19:19 +0200)]
src/aubio_priv.h: add stdarg.h
Paul Brossier [Thu, 22 Sep 2016 17:15:58 +0000 (19:15 +0200)]
wscript: add stdarg.h
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)
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
Paul Brossier [Wed, 21 Sep 2016 16:02:44 +0000 (18:02 +0200)]
src/effects/pitchshift_rubberband.c: fix error message
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
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
Paul Brossier [Wed, 21 Sep 2016 14:56:03 +0000 (16:56 +0200)]
tests/src/effects/test-pitchshift.c: use 64 hopsize by default
Paul Brossier [Wed, 21 Sep 2016 14:55:34 +0000 (16:55 +0200)]
src/effects/pitchshift.c: fix lower pitchscale limit
Paul Brossier [Wed, 21 Sep 2016 14:12:33 +0000 (16:12 +0200)]
tests/src/effects/test-pitchshift.c: clean-up, use fixed tranposistion
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
Paul Brossier [Wed, 21 Sep 2016 13:55:21 +0000 (15:55 +0200)]
src/effects/pitchshift.h: use transpose, not pitchscale
Paul Brossier [Wed, 21 Sep 2016 13:54:22 +0000 (15:54 +0200)]
src/effects/pitchshift.c: remove unused timeratio
Paul Brossier [Wed, 21 Sep 2016 13:47:48 +0000 (15:47 +0200)]
Merge branch 'master' into pitchshift
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
Paul Brossier [Wed, 21 Sep 2016 13:23:22 +0000 (15:23 +0200)]
src/io/source_wavread.c: fix bytes_read for JUNK headers
Paul Brossier [Wed, 21 Sep 2016 12:08:18 +0000 (14:08 +0200)]
.appveyor.yml: make nose2 verbose
Paul Brossier [Wed, 21 Sep 2016 12:07:04 +0000 (14:07 +0200)]
src/io/source_sndfile.c: improve formatting
Paul Brossier [Wed, 21 Sep 2016 09:26:10 +0000 (11:26 +0200)]
src/effects/pitchshift.c: avoid signed/unsigned comparison
Paul Brossier [Tue, 20 Sep 2016 23:49:22 +0000 (01:49 +0200)]
Merge branch 'master' into pitchshift
Paul Brossier [Tue, 20 Sep 2016 23:49:16 +0000 (01:49 +0200)]
python/tests/test_pitchshift.py: catch runtime error here too
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
Paul Brossier [Tue, 20 Sep 2016 23:33:55 +0000 (01:33 +0200)]
python/demos/demo_pitchshift.py: default to 64 hop
Paul Brossier [Tue, 20 Sep 2016 23:32:57 +0000 (01:32 +0200)]
python/tests/test_pitchshift.py: run in a few modes
Paul Brossier [Tue, 20 Sep 2016 21:24:46 +0000 (23:24 +0200)]
python/demos/demo_pitchshift.py: add mode option
Paul Brossier [Tue, 20 Sep 2016 09:13:53 +0000 (11:13 +0200)]
src/effects/pitchshift.c: fix max_process_size, simplify warm-up
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
Paul Brossier [Mon, 19 Sep 2016 18:30:05 +0000 (20:30 +0200)]
src/effects/pitchshift.c: simplify warm-up code, remove old strcmp
Paul Brossier [Mon, 19 Sep 2016 18:22:45 +0000 (20:22 +0200)]
src/effects/pitchshift.c: simplify _do, calling available after process
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
Paul Brossier [Mon, 19 Sep 2016 18:13:44 +0000 (20:13 +0200)]
src/effects/pitchshift.h: improve documentation
Paul Brossier [Sun, 18 Sep 2016 10:54:10 +0000 (12:54 +0200)]
src/effects/pitchshift.h: add aubio_pitchshift_get_latency
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
Paul Brossier [Sat, 17 Sep 2016 01:32:32 +0000 (03:32 +0200)]
src/effects/pitchshift.c: clean-up options, set to default
Paul Brossier [Sat, 17 Sep 2016 01:20:57 +0000 (03:20 +0200)]
wscript: loosen rubberband version
Paul Brossier [Sat, 17 Sep 2016 01:18:39 +0000 (03:18 +0200)]
python/lib/gen_code.py: compare to value in param_init
Paul Brossier [Sat, 17 Sep 2016 01:09:42 +0000 (03:09 +0200)]
python/tests/test_pitchshift.py: skip test on RuntimeError
Paul Brossier [Sat, 17 Sep 2016 01:09:37 +0000 (03:09 +0200)]
python/tests/test_pitchshift.py: fix import
Paul Brossier [Sat, 17 Sep 2016 01:03:43 +0000 (03:03 +0200)]
python/tests/test_pitchshift.py: add minimal tests
Paul Brossier [Sat, 17 Sep 2016 00:58:16 +0000 (02:58 +0200)]
.travis.yml: add rubberband
Paul Brossier [Sat, 17 Sep 2016 00:31:39 +0000 (02:31 +0200)]
python/lib/gen_code.py: fix regression from previous commit
Paul Brossier [Sat, 17 Sep 2016 00:04:15 +0000 (02:04 +0200)]
doc/aubio*.txt: document -T/--timeformat option
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
Paul Brossier [Fri, 16 Sep 2016 23:45:45 +0000 (01:45 +0200)]
src/wscript_build: add rubberband if found
Paul Brossier [Fri, 16 Sep 2016 23:45:22 +0000 (01:45 +0200)]
python/lib/gen_code.py: add pitchshift
Paul Brossier [Fri, 16 Sep 2016 23:44:22 +0000 (01:44 +0200)]
src/effects/pitchshift.c: add some comments
Paul Brossier [Fri, 16 Sep 2016 23:43:14 +0000 (01:43 +0200)]
src/effects/pitchshift.h: fix documentation
Paul Brossier [Fri, 16 Sep 2016 23:36:06 +0000 (01:36 +0200)]
src/effects/pitchshift.h: add a pitch shifter based on rubberband