Commit graph

95 commits

Author SHA1 Message Date
Ahmet Inan
fe59404f1f unwrap -> wrap_around 2019-02-08 08:17:32 +01:00
Ahmet Inan
6fc424dca6 unwrap delta 2019-02-07 14:08:50 +01:00
Ahmet Inan
99baec64a5 added FMD{1..5}, atan and atan2 approximations 2019-02-06 19:58:00 +01:00
Ahmet Inan
d72ca2727d added conj() 2019-02-06 14:27:03 +01:00
Ahmet Inan
a3a2dbdc5f added an NCO 2019-02-04 12:29:40 +01:00
Ahmet Inan
639204fed8 added EMA and Biquad 2019-02-04 11:11:18 +01:00
Ahmet Inan
475114d2e1 added low pass which only uses unit circle 2019-01-26 21:50:00 +01:00
Ahmet Inan
f141e04dc6 Revert "do not initialize Complex to zero"
This reverts commit 277af07511.
2019-01-23 16:33:21 +01:00
Ahmet Inan
97d5b68045 added quick and dirty decibel approximation 2019-01-21 11:36:50 +01:00
Ahmet Inan
2d8cedbd66 be able to normalize at construction 2019-01-20 17:45:26 +01:00
Ahmet Inan
76f1590f1a moved Complex to DSP namespace 2019-01-20 15:25:54 +01:00
Ahmet Inan
7b2cf8970a removed CoeffsFunc 2019-01-20 13:23:08 +01:00
Ahmet Inan
98a5a204d1 removed std:: from math functions 2019-01-20 11:03:29 +01:00
Ahmet Inan
277af07511 do not initialize Complex to zero 2019-01-20 08:45:22 +01:00
Ahmet Inan
c4b837b045 time to embrace #pragma once 2019-01-19 14:07:07 +01:00
Ahmet Inan
a85cbcf6ba removed exp() and replaced hypot() with sqrt(norm()) 2019-01-19 13:59:52 +01:00
Ahmet Inan
c81732c768 use UnitCircle where possible in window functions 2019-01-19 09:58:31 +01:00
Ahmet Inan
cf54a8e431 make it work for negative n too 2019-01-18 22:21:51 +01:00
Ahmet Inan
692bfa4d31 use UnitCircle to get constants 2019-01-18 17:20:13 +01:00
Ahmet Inan
15843df336 added UnitCircle with sine and cosine functions 2019-01-18 16:59:11 +01:00
Ahmet Inan
ba89cc21d6 need to add L to get full precision for long doubles 2019-01-18 15:50:04 +01:00
Ahmet Inan
69c3080931 made Complex constexpr 2019-01-17 14:07:16 +01:00
Ahmet Inan
79a6a85b47 reorganized and recomputed constants 2019-01-17 12:12:12 +01:00
Ahmet Inan
f71b7ae711 use cos() and sin() to compute factors 2019-01-15 22:55:28 +01:00
Ahmet Inan
6d8e0dbc94 removed unused function 2019-01-15 22:36:00 +01:00
Ahmet Inan
5462e20751 added 1/sqrt(2) constant 2019-01-15 22:23:27 +01:00
Ahmet Inan
00501fa433 added FIR LPF, HPF and BPF 2019-01-03 21:57:39 +01:00
Ahmet Inan
f3c22ed3cc added delta() and decibel() to utils 2019-01-03 21:20:29 +01:00
Ahmet Inan
6769872b39 moved sinc() to utils 2019-01-03 21:17:21 +01:00
Ahmet Inan
6c5a418693 renamed Window and WinFunc to Coeffs and CoeffsFunc and moved to own header 2019-01-03 19:44:31 +01:00
Ahmet Inan
f9992b5372 added default virtual destructors to interfaces 2018-10-26 12:35:30 +02:00
Ahmet Inan
75094bb2db stay c++11 compatible 2018-10-25 08:57:58 +02:00
Ahmet Inan
749668d830 added probability density function of the normal distribution 2018-10-07 19:06:49 +02:00
Ahmet Inan
ef6871f94b moved crc and xorshift from DSP to CODE repository 2018-09-20 08:45:26 +02:00
Ahmet Inan
ae658f23f4 improved testing scheme 2018-09-20 08:40:25 +02:00
Ahmet Inan
b5f5948097 added reset() to xorshift 2018-09-17 15:35:05 +02:00
Ahmet Inan
4ff2e0f148 added an resampler for arbitrary rate differences 2018-09-13 11:33:10 +02:00
Ahmet Inan
6780bd4dc1 added some Xorshift PRNGs of George Marsaglia 2018-09-13 10:25:43 +02:00
Ahmet Inan
5270069422 added rate() and channels() to pcm writer interface 2018-09-12 14:43:22 +02:00
Ahmet Inan
d0419241ea made CRC32 example a bit more representative 2018-09-11 10:35:30 +02:00
Ahmet Inan
61b3358cbf added lerp function 2018-09-11 08:09:29 +02:00
Ahmet Inan
7c19098c87 added signum() 2018-09-09 20:24:14 +02:00
Ahmet Inan
f7868833e7 added good() to pcm 2018-09-05 12:30:36 +02:00
Ahmet Inan
8951bd1404 constexpr implies inline on functions 2018-08-30 08:40:20 +02:00
Ahmet Inan
790888bdf4 give it a default constructor 2018-08-27 22:53:11 +02:00
Ahmet Inan
56e793a265 stride can be ommited in the interface 2018-08-27 14:08:20 +02:00
Ahmet Inan
7f64356dde overwrite members directly here 2018-08-27 14:04:39 +02:00
Ahmet Inan
e149e5edc4 added mixed-radix fast Fourier transform
lifted from my fft project and changed interface:
https://github.com/xdsopl/fft
2018-08-25 12:22:58 +02:00
Ahmet Inan
9057df88b0 added faster complex math
This is lifted from my mixed-radix fft project:
https://github.com/xdsopl/fft
2018-08-25 11:25:39 +02:00
Ahmet Inan
e1671026da add default constructor 2018-08-19 15:45:00 +02:00