KFR  1.0.0
Fast, Modern C++ DSP Framework
KFR - Fast, modern C++ DSP framework

https://www.kfrlib.com

What's new in release 1.0 - https://www.kfrlib.com/whatsnew

KFR is an open source C++ DSP framework that focuses on high performance (see benchmark results section).

KFR is a header-only and has no external dependencies.

Features

Included DSP/audio algorithms:

Benchmark results

FFT

FFT (double precision, sizes from 1024 to 16777216) See fft benchmark for details about benchmarking process.

fft_performance.png
FFT Performance

Biquad

Biquad performance

Prerequisites

KFR is a header-only so just #include <kfr/math.hpp> to start using it

The following tools are required to build the examples:

To build the tests:

Installation

To obtain the full code, including examples and tests, you can clone the git repository:

1 git clone https://github.com/kfrlib/kfr.git

To be able to run the tests and examples install the following python modules:

1 pip install matplotlib # or download prebuilt package for windows
2 pip install numpy # or download prebuilt package for windows
3 pip install scipy # or download prebuilt package for windows

Install dspplot using python setup.py install inside dspplot directory

Tests

Execute build.py or build-cl.py (Visual Studio version) to run the tests or run tests manually from the tests directory

Tested on the following systems:

macOS

Ubuntu

Windows

Linux on Windows 10

Planned for future versions

License

KFR is dual-licensed, available under both commercial and open-source GPL license.

If you want to use KFR in commercial product or a closed-source project, you need to purchase a Commercial License