Commit graph

69 commits

Author SHA1 Message Date
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
Ahmet Inan
71ba720dc1 calculate and store intersections and slope 2018-08-18 10:25:19 +02:00
Ahmet Inan
af22ddb8fd added constexpr to constants .. 2018-08-13 20:21:25 +02:00
Ahmet Inan
7344f2d58c added eighth Pi constant 2018-08-12 17:46:52 +02:00
Ahmet Inan
acdb28bdd7 added info methods to PCM interface and WAV reader 2018-08-08 15:20:43 +02:00
Ahmet Inan
beecb3bd2c added simple linear regression 2018-08-08 10:16:28 +02:00
Ahmet Inan
afdceec5cc added half and fourth Pi constant 2018-08-03 21:14:24 +02:00
Ahmet Inan
d3b4529a6e added another example on how to check the result 2018-07-29 10:53:52 +02:00
Ahmet Inan
479f5e0220 added update() helper 2018-07-29 10:50:30 +02:00
Ahmet Inan
afc3c0ae61 LUT only for lower byte needed, remove nibble code 2018-07-29 10:32:00 +02:00
Ahmet Inan
f410522d4a added some more examples to the CRC test 2018-07-29 09:03:53 +02:00
Ahmet Inan
2055276095 dont use template args, it only couses pain and suffering 2018-07-29 08:59:46 +02:00
Ahmet Inan
9ec3f1a544 gitignore crc test binary 2018-07-29 08:33:11 +02:00
Ahmet Inan
e2def0f3c9 use default value 0 if arg to reset() is ommited 2018-07-29 08:32:22 +02:00
Ahmet Inan
b3bede5cea added operator with void args, just returning CRC 2018-07-29 08:11:14 +02:00
Ahmet Inan
2c9248f6f8 added check for CRC with example from README 2018-07-29 08:01:56 +02:00
Ahmet Inan
5eec31a61f need CRCs way to often 2018-07-28 21:13:53 +02:00
Ahmet Inan
6120bb163f added a divisor argument with default 1 to normalize() 2018-04-11 14:48:02 +02:00
Ahmet Inan
4332041e3e init variables using ITYPE 2018-03-29 08:57:36 +02:00
Ahmet Inan
d3cdb23fb2 simplified and made arrays one element shorter 2018-03-29 08:26:35 +02:00
Ahmet Inan
54ae4f735e added x0 and dx args to constructor 2018-03-28 19:48:42 +02:00
Ahmet Inan
9bd5546470 added Algorithm for computing Natural Cubic Splines
Modified algorithm from Wikipedia to work with integer x_i and x_i >= 0:
https://en.wikipedia.org/wiki/Spline_(mathematics)#Algorithm_for_computing_natural_cubic_splines
2018-03-28 16:29:46 +02:00
Ahmet Inan
6c1064ad37 test double and single float in Kahan summation 2018-03-16 08:13:49 +01:00
Ahmet Inan
37537e2f23 added skip() to PCM reader 2018-03-14 09:03:25 +01:00
Ahmet Inan
7e437b2fc9 added support for 24 and 32 bit signed PCM 2018-03-11 16:38:27 +01:00
Ahmet Inan
823b069f9b quick and dirty WAV reader 2018-03-11 13:47:50 +01:00
Ahmet Inan
d2770a9de2 specify bits instead of bytes 2018-03-11 08:26:44 +01:00