Reusable C++ DSP code library
  • C++ 99.7%
  • Makefile 0.3%
Find a file
2018-03-28 16:29:46 +02:00
tests test double and single float in Kahan summation 2018-03-16 08:13:49 +01:00
.gitignore Initial commit 2018-03-02 14:04:46 +01:00
const.hh added FourPi() 2018-03-04 09:11:00 +01:00
kahan.hh added same() method to Kahan summation 2018-03-03 12:14:22 +01:00
LICENSE Initial commit 2018-03-02 14:04:46 +01:00
pcm.hh added skip() to PCM reader 2018-03-14 09:03:25 +01:00
README.md added Algorithm for computing Natural Cubic Splines 2018-03-28 16:29:46 +02:00
spline.hh added Algorithm for computing Natural Cubic Splines 2018-03-28 16:29:46 +02:00
wav.hh added skip() to PCM reader 2018-03-14 09:03:25 +01:00
window.hh renamed Window to WinFunc and Taps to Window 2018-03-06 07:43:48 +01:00

This is a work in progress and a long overdue attempt to bring all our DSP code together and make it reusable for our future projects.

Before using any of this you should enter the tests directory and execute "make". This will check if your compiler is able to create binaries that are able to produce correct results when executed.

What we have included so far:

kahan.hh

When working with Floating-point arithmetic we soon realize, that addition is not necessarily associative. For example, whenever we need to add values with an ever decreasing magnitude to a running sum with an ever increasing magnitude, the Kahan summation algorithm comes in handy and helps keeping the error growth small.

window.hh

Implemented are the follwing Window functions:

const.hh

Some constants we need

pcm.hh

Interface for reading and writing PCM data

wav.hh

Read and write WAV files

spline.hh

Algorithm for computing uniform and natural cubic splines Very useful for data interpolation.