TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24273 19
KFR 7: major DSP update, new audio I/O, elliptic filters, and performance improvements

KFR, an open-source C++ DSP library, has reached version 7 with new DSP algorithms, wider platform support, and performance gains.

Key additions:

Elliptic IIR filter design and zero-phase IIR filtering via `filtfilt`.
Reworked audio reading/writing with support for WAV, W64, RF64/BW64, AIFF, FLAC, CAF, ALAC, MP3, and raw formats.
New high-level Audio module aimed at multichannel processing.
Initial RISC-V SIMD support.
Requires C++20.

KFR capabilities:

IIR and FIR filter design and processing.
DFT, including multidimensional transforms.
Sample-rate conversion using a polyphase filter based on a Kaiser window.
Matrix transpose and other matrix/tensor operations.
SIMD-optimized math and DSP functions.

KFR focuses on performance through extensive vectorization (SSE, AVX, NEON, RVV) with optional runtime dispatch.

GitHub: https://github.com/kfrlib/kfr
Docs: https://kfr.dev/docs/latest/
License: GPLv2+ (see the site for other licensing options).

New benchmark results from the LIGO, Virgo, and KAGRA collaborations are available, comparing KFR's performance against FFTW for signal processing in gravitational-wave research: https://ar5iv.labs.arxiv.org/html/2503.14292

https://redd.it/1ozhd60
@r_cpp
GitHub GitHub - kfrlib/kfr: Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM… Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV) - kfrlib/kfr
More from @r_cpp
  1. Oct 12, 2026cxvm: pin a GCC or Clang version per project on Linux (pyenv/nvm, but for C++ compilers) I…
  2. Oct 12, 2026cppreference-doc for Qt Creator Release cppreference C++ v2025.12.01 · cristianadam/cppref…
  3. Oct 12, 2026ACCU Overload Journal 195 - October 2026 https://accu.org/journals/overload/overload195 ht…
  4. Oct 12, 2026C++ Contracts C++ contracts are a good thing, why are people saying it's a bad thing? Anyb…
  5. Oct 11, 2026wxWidgets 3.2.12 and 3.3.4 Released https://wxwidgets.org/news/2026/10/wxwidgets-3.2.12-an…
  6. Oct 11, 2026VKRT NES Remaster — an open-source C++20 NES emulator with an observation-driven remasteri…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →