Paul Brossier [Tue, 8 Jan 2019 14:51:03 +0000 (15:51 +0100)]
[maxpool2d] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:50:31 +0000 (15:50 +0100)]
[dense] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:49:55 +0000 (15:49 +0100)]
[conv1d] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:49:30 +0000 (15:49 +0100)]
[conv1d] avoid unused variable, update comment
Paul Brossier [Tue, 8 Jan 2019 14:45:59 +0000 (15:45 +0100)]
[conv1d] add second blas optimisation using gemv
Paul Brossier [Tue, 8 Jan 2019 14:29:51 +0000 (15:29 +0100)]
[conv1d] add first blas optimisation using sdot
Paul Brossier [Tue, 8 Jan 2019 14:12:35 +0000 (15:12 +0100)]
[conv2d] set_stride accepts int[]
Paul Brossier [Tue, 8 Jan 2019 14:11:30 +0000 (15:11 +0100)]
[batchnorm] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:11:09 +0000 (15:11 +0100)]
[maxpool1d] improve debug string
Paul Brossier [Mon, 7 Jan 2019 23:06:02 +0000 (00:06 +0100)]
[maxpool2d] use first element to initialize output value, add stride
Paul Brossier [Mon, 7 Jan 2019 23:05:26 +0000 (00:05 +0100)]
[maxpool1d] use first element to initialize output value, add a stride
Paul Brossier [Mon, 7 Jan 2019 23:00:16 +0000 (00:00 +0100)]
[tests] add tensor_matmul test
Paul Brossier [Mon, 7 Jan 2019 22:46:20 +0000 (23:46 +0100)]
[maxpool2d] add first draft implementation
Paul Brossier [Mon, 7 Jan 2019 22:26:09 +0000 (23:26 +0100)]
[tensor] add matmul
Paul Brossier [Mon, 7 Jan 2019 22:11:28 +0000 (23:11 +0100)]
[fmat] add fvec_matmul
Paul Brossier [Mon, 7 Jan 2019 21:55:27 +0000 (22:55 +0100)]
[fmat] use gemv in fmat_vecmul
This is possible since we use contiguous memory from
1fcd3928f.
Paul Brossier [Mon, 7 Jan 2019 21:51:34 +0000 (22:51 +0100)]
[aubio_priv] add AUBIO_ASSERT_EQUAL_SHAPE helper
Paul Brossier [Mon, 7 Jan 2019 21:49:39 +0000 (22:49 +0100)]
[conv2d] add first plain draft
Paul Brossier [Mon, 7 Jan 2019 21:19:48 +0000 (22:19 +0100)]
[fvec] add fvec_vecadd
Paul Brossier [Mon, 7 Jan 2019 21:14:13 +0000 (22:14 +0100)]
[tensor] always use buffer in tensor_as_fvec
Paul Brossier [Mon, 7 Jan 2019 21:13:03 +0000 (22:13 +0100)]
[tensor] add header
Paul Brossier [Mon, 7 Jan 2019 21:08:13 +0000 (22:08 +0100)]
[dense] add first plain version
Paul Brossier [Mon, 7 Jan 2019 21:04:37 +0000 (22:04 +0100)]
[batchnorm] add first plain version
Paul Brossier [Wed, 2 Jan 2019 22:07:16 +0000 (23:07 +0100)]
[tensor] add some documentation
Paul Brossier [Wed, 2 Jan 2019 22:02:26 +0000 (23:02 +0100)]
[tensor] remove old macro, add more public prototypes
Paul Brossier [Wed, 2 Jan 2019 21:58:45 +0000 (22:58 +0100)]
[tensor] add print helpers
Paul Brossier [Wed, 2 Jan 2019 21:57:49 +0000 (22:57 +0100)]
[tensor] add have_same_size
Paul Brossier [Wed, 2 Jan 2019 21:56:47 +0000 (22:56 +0100)]
[tensor] add get_subtensor
Paul Brossier [Wed, 2 Jan 2019 21:55:36 +0000 (22:55 +0100)]
[tensor] complet get_shape_string
Paul Brossier [Wed, 2 Jan 2019 21:54:55 +0000 (22:54 +0100)]
[tensor] set initial max value to first element
Paul Brossier [Wed, 2 Jan 2019 21:54:21 +0000 (22:54 +0100)]
[tensor] view any tensor as fvec/fmat
Paul Brossier [Wed, 2 Jan 2019 21:53:40 +0000 (22:53 +0100)]
[tensor] set buffer, remove old comments
Paul Brossier [Wed, 2 Jan 2019 21:51:35 +0000 (22:51 +0100)]
[tensor] add buffer field, improve documentation
Paul Brossier [Wed, 2 Jan 2019 21:47:51 +0000 (22:47 +0100)]
[tensor] add get_shape_string
Paul Brossier [Wed, 2 Jan 2019 21:46:39 +0000 (22:46 +0100)]
[tests] add tensor tests
Paul Brossier [Wed, 2 Jan 2019 01:10:48 +0000 (02:10 +0100)]
[tensor] also set size when viewing fmat/fvec
Paul Brossier [Tue, 1 Jan 2019 18:20:51 +0000 (19:20 +0100)]
[tensor] rename n_items to size, remove items_per_row
Paul Brossier [Tue, 1 Jan 2019 17:41:40 +0000 (18:41 +0100)]
[tensor] use new member names
Paul Brossier [Tue, 1 Jan 2019 17:39:56 +0000 (18:39 +0100)]
[maxpool1d] update to new tensor members
Paul Brossier [Tue, 1 Jan 2019 17:39:26 +0000 (18:39 +0100)]
[conv1d] update to new tensor members
Paul Brossier [Tue, 1 Jan 2019 17:38:05 +0000 (18:38 +0100)]
[tensor] rename attributes to ndim and shape[] to match numpy
Paul Brossier [Mon, 31 Dec 2018 20:48:19 +0000 (21:48 +0100)]
Merge branch 'master' into feature/cnn
Paul Brossier [Mon, 31 Dec 2018 16:25:08 +0000 (17:25 +0100)]
[source_avcodec] prevent leak when closing swresample context
Paul Brossier [Mon, 31 Dec 2018 16:14:00 +0000 (17:14 +0100)]
[priv] add AUBIO_GOTO_FAILURE helper
Paul Brossier [Mon, 31 Dec 2018 16:12:38 +0000 (17:12 +0100)]
[ai] add first maxpool1d draft
Paul Brossier [Mon, 31 Dec 2018 16:09:34 +0000 (17:09 +0100)]
[ai] add first conv1d draft
Paul Brossier [Mon, 31 Dec 2018 16:04:15 +0000 (17:04 +0100)]
[ai] add first tensor draft
Paul Brossier [Sun, 30 Dec 2018 14:24:23 +0000 (15:24 +0100)]
[fmat] ensure contiguous memory
Paul Brossier [Sun, 23 Dec 2018 04:55:56 +0000 (05:55 +0100)]
[py] fix compilation warning in py-source
Paul Brossier [Sun, 23 Dec 2018 04:50:36 +0000 (05:50 +0100)]
[tests] also capture expected source warnings in test_sink
Paul Brossier [Sun, 23 Dec 2018 04:50:07 +0000 (05:50 +0100)]
[tests] check resampling a source raises a warning when expected
Paul Brossier [Sun, 23 Dec 2018 04:48:12 +0000 (05:48 +0100)]
[tests] add parse_file_samplerate to fetch samplerate from path
Paul Brossier [Sun, 23 Dec 2018 04:46:47 +0000 (05:46 +0100)]
[py] take a copy for the last source block when iterating
Appears to be the simplest solution to prevent resizing internal objects.
See also
8e76c71.
Paul Brossier [Sun, 23 Dec 2018 04:44:18 +0000 (05:44 +0100)]
[source_avcodec] show a warning only when an error occurred in swr_convert
Paul Brossier [Sun, 23 Dec 2018 02:56:38 +0000 (03:56 +0100)]
[source_avcodec] clean up unused statements and previously included stdlib
Paul Brossier [Sun, 23 Dec 2018 02:49:09 +0000 (03:49 +0100)]
[py] define HAVE_ERRNO_H in add_local_macros
Paul Brossier [Sat, 22 Dec 2018 23:48:19 +0000 (00:48 +0100)]
[source_sndfile] avoid declaration after statement
Paul Brossier [Sat, 22 Dec 2018 23:13:50 +0000 (00:13 +0100)]
[source_wavread] comment unused macro
Paul Brossier [Sat, 22 Dec 2018 23:11:17 +0000 (00:11 +0100)]
[source_wavread] use STRERR macro
Paul Brossier [Sat, 22 Dec 2018 23:09:31 +0000 (00:09 +0100)]
[sink_wavwrite] use STRERR macro
Paul Brossier [Sat, 22 Dec 2018 23:06:32 +0000 (00:06 +0100)]
[lib] add AUBIO_STRERR to log system error messages
Paul Brossier [Sat, 22 Dec 2018 23:05:32 +0000 (00:05 +0100)]
[waf] check for errno.h
Paul Brossier [Fri, 21 Dec 2018 17:15:53 +0000 (18:15 +0100)]
[osx] build frameworks with -Os
The new tests revealed a crash in test-pitchmcomb when compiling with
-Ofast (somewhere in fvec_median, but not reproducible from aubiopitch,
needs more poking).
Paul Brossier [Fri, 21 Dec 2018 17:14:21 +0000 (18:14 +0100)]
[ci] add py3.6, drop py3.4 on travis
Paul Brossier [Fri, 21 Dec 2018 16:16:18 +0000 (17:16 +0100)]
[source_sndfile] set error message when reading after close
Paul Brossier [Fri, 21 Dec 2018 15:41:30 +0000 (16:41 +0100)]
[py] raise an exception when reading source failed
Paul Brossier [Fri, 21 Dec 2018 15:40:24 +0000 (16:40 +0100)]
[source_avcodec] prevent reading after close
Paul Brossier [Fri, 21 Dec 2018 15:39:56 +0000 (16:39 +0100)]
[tests] simplify test_source.py, skip if no test sounds
Paul Brossier [Fri, 21 Dec 2018 15:26:00 +0000 (16:26 +0100)]
[tests] try reading after close in test-source.c
Paul Brossier [Fri, 21 Dec 2018 15:22:27 +0000 (16:22 +0100)]
[tests] check reading source after close raises RuntimeError
Paul Brossier [Fri, 21 Dec 2018 14:30:14 +0000 (15:30 +0100)]
[tests] test del_aubio_sink on null
Paul Brossier [Fri, 21 Dec 2018 14:28:11 +0000 (15:28 +0100)]
[tests] test del_aubio_source on null
Paul Brossier [Fri, 21 Dec 2018 14:26:52 +0000 (15:26 +0100)]
[source_apple_audio] get_duration returns 0 on failure
Paul Brossier [Fri, 21 Dec 2018 14:26:04 +0000 (15:26 +0100)]
[py] check if filter was created before deleting it
Paul Brossier [Fri, 21 Dec 2018 14:25:43 +0000 (15:25 +0100)]
[sink] del_aubio_sink argument can be null
Most del_ methods in aubio do not check if their argument is NULL, but
del_aubio_sink used to, so we keep it this way to avoid breaking
existing programs.
Paul Brossier [Fri, 21 Dec 2018 14:15:47 +0000 (15:15 +0100)]
[source] del_aubio_source argument can be null
Most del_ methods in aubio do not check if their argument is NULL, but
del_aubio_source used to, so we keep it this way to avoid breaking
existing programs.
Paul Brossier [Fri, 21 Dec 2018 14:01:10 +0000 (15:01 +0100)]
[examples] only delete sink if needed
Paul Brossier [Fri, 21 Dec 2018 14:00:34 +0000 (15:00 +0100)]
[py] check sink was created before calling del_aubio_sink
Paul Brossier [Fri, 21 Dec 2018 13:58:39 +0000 (14:58 +0100)]
Revert "[py] avoid resizing py-source output"
This reverts commit
8e76c71be6136f4e2289f8c67e422097f5e10dfe.
No need to copy here, the culprit should be in py-sink.c.
Paul Brossier [Fri, 21 Dec 2018 13:16:29 +0000 (14:16 +0100)]
[tests] test-mathutils-window input validation
Paul Brossier [Fri, 21 Dec 2018 13:08:58 +0000 (14:08 +0100)]
[tests] add test-vecutils
Paul Brossier [Fri, 21 Dec 2018 13:08:48 +0000 (14:08 +0100)]
[tests] improve test-fmat
Paul Brossier [Fri, 21 Dec 2018 11:44:46 +0000 (12:44 +0100)]
[tests] improve test-lvec
Paul Brossier [Fri, 21 Dec 2018 11:44:35 +0000 (12:44 +0100)]
[tests] improve test-cvec
Paul Brossier [Fri, 21 Dec 2018 11:44:22 +0000 (12:44 +0100)]
[tests] improve test-fvec
Paul Brossier [Thu, 20 Dec 2018 21:35:07 +0000 (22:35 +0100)]
[py] avoid resizing py-source output
Make sure a copy of the source output is taken before resizing it.
Paul Brossier [Thu, 20 Dec 2018 21:08:58 +0000 (22:08 +0100)]
[source_avcodec] fix warning messages
Paul Brossier [Thu, 20 Dec 2018 20:26:32 +0000 (21:26 +0100)]
[source_sndfile] fix reading sizes when resampling
Paul Brossier [Thu, 20 Dec 2018 19:49:09 +0000 (20:49 +0100)]
[ci] improve coverage of sndfile/samplerate support
Paul Brossier [Thu, 20 Dec 2018 19:16:40 +0000 (20:16 +0100)]
[ci] add pypy on travis, use it to test sndfile/libsamplerate directly
Paul Brossier [Thu, 20 Dec 2018 19:08:16 +0000 (20:08 +0100)]
[ci] set one of the travis config to use sndfile only
Paul Brossier [Thu, 20 Dec 2018 18:44:51 +0000 (19:44 +0100)]
[source_apple_audio] use input validation and padding helpers
Paul Brossier [Thu, 20 Dec 2018 18:26:08 +0000 (19:26 +0100)]
[io] fix source output padding sizes
Paul Brossier [Thu, 20 Dec 2018 18:17:58 +0000 (19:17 +0100)]
[io] source_pad_do_output to pad extra channels
Paul Brossier [Thu, 20 Dec 2018 18:16:32 +0000 (19:16 +0100)]
[tests] test-source checks for undersized/oversized output
Paul Brossier [Thu, 20 Dec 2018 18:06:51 +0000 (19:06 +0100)]
[io] use memset in padding helpers
Paul Brossier [Thu, 20 Dec 2018 18:05:50 +0000 (19:05 +0100)]
[source_avcodec] use padding helpers
Paul Brossier [Thu, 20 Dec 2018 18:05:41 +0000 (19:05 +0100)]
[source_wavread] use padding helpers
Paul Brossier [Thu, 20 Dec 2018 18:05:29 +0000 (19:05 +0100)]
[source_sndfile] use padding helpers
Paul Brossier [Thu, 20 Dec 2018 18:03:45 +0000 (19:03 +0100)]
[io] add helpers to pad source output