kfr
kfr copied to clipboard
Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Hi, could someone give me an example of goertzel expression usage? with my best regards,
For now, KFR DFT can be built only using Clang/Xcode. Building with GCC 7 has been recently added while GCC 8 & 9 have bug described here: https://github.com/kfrlib/kfr/issues/56 that prevents...
It makes it easier to embed kfr through add_subdirectory directly.
it would be great to use std type like vector or complex how can we define a list of tests to measure the performance or precision differences ?
this is my example CMakeLists.txt : ` cmake_minimum_required(VERSION 3.15) SET(CMAKE_CXX_STANDARD 17) file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/svg) add_executable(main iir.cpp) set(Python3_ROOT_DIR "/home/jiang/miniconda3/envs/py3_tf2_torch") find_package(Python3 COMPONENTS Interpreter Development REQUIRED) find_package(Python3 COMPONENTS NumPy) include_directories(${Python3_INCLUDE_DIRS}) target_link_libraries(main ${Python3_LIBRARIES}) `
Hi all! I saw in documentation that real dft works only with even numbers, but my test shows that it fails when size of transform /= 2**n. Example can be...
when I running these commands: ``` mkdir build && cd build cmake -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release .. make -- -j ``` I got: ``` [ 1%] Building CXX object CMakeFiles/kfr_dft.dir/include/kfr/dft/impl/convolution-impl.cpp.o In...
The implementation of real DFT has bug: when input size is even but not equal to 4N, the result is incorrect. This is due to: 1. incorrect calculation of twiddle...
The clamp function used with 2 arg raise error: ` error: no matching function for call to 'clamp' return intrinsics::clamp(static_cast(x), static_cast(hi)); ` when call with explicit lo and hi, the...