Commit graph

165 commits

Author SHA1 Message Date
Ahmet Inan
1ae40ccf3b use simple Delay for the window 2020-10-13 16:23:54 +02:00
Ahmet Inan
b934d9fe4e initialize buffer optionally with provided value 2020-10-13 15:49:58 +02:00
Ahmet Inan
4de8fe9af1 removed system includes 2020-10-13 10:47:14 +02:00
Ahmet Inan
ad9407c66e use the std wrappers 2020-10-13 10:26:26 +02:00
Ahmet Inan
0b8fa61da7 added MovExt to avoid code duplication 2020-10-13 08:38:22 +02:00
Ahmet Inan
52d2a5b0f4 added amortized O(1) moving extrema 2020-10-12 23:12:33 +02:00
Ahmet Inan
5824421c73 added clear() 2020-10-11 13:08:15 +02:00
Ahmet Inan
fde7c654b6 added ring buffer based double-ended queue 2020-10-11 10:48:26 +02:00
Ahmet Inan
18a72daa4c initialize buffer with provided neutral element 2020-10-10 23:30:17 +02:00
Ahmet Inan
0ccdcfd979 use Delay 2020-10-09 16:46:18 +02:00
Ahmet Inan
b643eade0d added sliding window accelerator 2020-10-09 16:46:13 +02:00
Ahmet Inan
2509f5293a use double to avoid numerical issues on large arrays 2020-05-19 16:28:03 +02:00
Ahmet Inan
e2eefcb98b need coeffs computed for the input, not output array .. 2020-05-19 16:25:25 +02:00
Ahmet Inan
c77a4a2c54 compute recip from ratio to solve numerical issues 2020-05-19 13:21:43 +02:00
Ahmet Inan
65925d53a3 added reset() 2020-04-30 19:55:52 +02:00
Ahmet Inan
4b698d51c7 added const 2020-04-29 16:01:09 +02:00
Ahmet Inan
87eb83eef0 added reader and writer for Netpbm P5 and P6 files 2020-04-29 14:22:43 +02:00
Ahmet Inan
3242f2dee8 added const to input 2020-04-27 20:18:00 +02:00
Ahmet Inan
05ea242ae3 added support for equidistant x 2020-04-25 00:07:56 +02:00
Ahmet Inan
c188371411 added support for disabling normalization 2020-04-24 10:16:09 +02:00
Ahmet Inan
707f6539de added support to change thresholds independently 2020-04-23 00:27:14 +02:00
Ahmet Inan
27e8a40e1b added digital delay line 2020-04-23 00:27:14 +02:00
Ahmet Inan
10a8fc6867 added bip buffer 2020-04-23 00:27:06 +02:00
Ahmet Inan
2de77865c1 added SMA3 and SMA4
Pairwise reduction accelerator idea lifted from:
https://github.com/xdsopl/sma/blob/master/pairwise.hh
2020-04-09 15:22:25 +02:00
Ahmet Inan
af64c37b9c added VALUE template parameter 2020-03-26 19:47:19 +01:00
Ahmet Inan
61a611e33c get stride from channel count per default 2020-03-24 08:32:19 +01:00
Ahmet Inan
2e5910bebc set history to zero 2020-03-16 17:57:50 +01:00
Ahmet Inan
6528c1581d added polar() 2020-03-16 13:59:04 +01:00
Ahmet Inan
20515208f3 added freq() to Phasor 2020-03-15 16:19:36 +01:00
Ahmet Inan
fcffc56acc swapped ratio and recip to match new resampler 2020-03-15 11:52:10 +01:00
Ahmet Inan
db805aff47 added streaming resampler 2020-03-15 11:48:11 +01:00
Ahmet Inan
b857753ddf added discrete Hilbert transform 2020-03-12 10:09:06 +01:00
Ahmet Inan
999ee7d2be check if TAPS-1 is divisible by four 2020-03-11 23:35:01 +01:00
Ahmet Inan
58fe117116 expose number of bits 2020-03-11 13:24:05 +01:00
Ahmet Inan
422bfca221 set history to zero 2020-03-02 17:39:39 +01:00
Ahmet Inan
65e24d421f made count of input and output samples independent 2020-02-16 22:26:38 +01:00
Ahmet Inan
e4b687d1f6 be consistend and use one sided difference if outside 2020-01-17 19:02:15 +01:00
Ahmet Inan
7d32acd2bb added simpler interface to non-uniform spline 2020-01-17 17:12:19 +01:00
Ahmet Inan
ad44b0f435 use upper case for array pointers 2020-01-17 16:06:01 +01:00
Ahmet Inan
4f3bd984d2 added simpler eval interface for uniform splines 2020-01-17 15:27:13 +01:00
Ahmet Inan
60830afbe6 added input and output type 2020-01-14 09:53:47 +01:00
Ahmet Inan
7efb7d2f0f moved template argument RATE to constructor argument rate 2020-01-13 12:11:34 +01:00
Ahmet Inan
7043b1e35a added cubic Hermite spline 2020-01-13 10:21:33 +01:00
Ahmet Inan
4025bd126c added RealToHalfComplexTransform 2019-04-25 15:14:19 +02:00
Ahmet Inan
cd7d55a2c4 added Fs/4 complex down conversion 2019-04-03 20:53:17 +02:00
Ahmet Inan
c848ae14f2 replaced pow(x, 2) with sqr(x) 2019-04-03 20:04:19 +02:00
Ahmet Inan
8d3a6e83d8 added Hilbert transform filter 2019-03-31 21:59:16 +02:00
Ahmet Inan
d44f88352c added HighPass2 2019-03-31 15:32:33 +02:00
Ahmet Inan
2cb1e6e148 allow setting omega from radians 2019-03-23 08:47:10 +01:00
Ahmet Inan
55048b527b added biquad allpass filter 2019-03-03 11:08:40 +01:00