import audio/iir1. ok bentley@

DESCR:
An infinite impulse response (IIR) filter library for Linux, Mac OSX and Windows
which implements Butterworth, RBJ, Chebychev filters and can easily import
coefficients generated by Python (scipy).

The filter processes the data sample by sample for realtime processing.

It uses templates to allocate the required memory so that it can run without any
malloc / new commands. Memory is allocated at compile time so that there is
never the risk of memory leaks.

All realtime filter code is in the header files which guarantees efficient
integration into the main program and the compiler can optimise both filter code
and main program at the same time.
This commit is contained in:
thfr
2025-06-30 21:55:00 +00:00
parent aa9d62ae33
commit 8665a170e4
4 changed files with 60 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
COMMENT = DSP IIR realtime filter library
V = 1.9.5
PKGNAME = iir1-${V}
DIST_TUPLE += github berndporr iir1 ${V} .
SHARED_LIBS = iir 0.0 # 1.9.5
CATEGORIES = audio
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} m
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (berndporr-iir1-1.9.5.tar.gz) = vrFhQuCOX2gBDG5QFN6iJ26km3GiWEOe/wnF7j94HYg=
SIZE (berndporr-iir1-1.9.5.tar.gz) = 2115864
+13
View File
@@ -0,0 +1,13 @@
An infinite impulse response (IIR) filter library for Linux, Mac OSX and Windows
which implements Butterworth, RBJ, Chebychev filters and can easily import
coefficients generated by Python (scipy).
The filter processes the data sample by sample for realtime processing.
It uses templates to allocate the required memory so that it can run without any
malloc / new commands. Memory is allocated at compile time so that there is
never the risk of memory leaks.
All realtime filter code is in the header files which guarantees efficient
integration into the main program and the compiler can optimise both filter code
and main program at the same time.
+24
View File
@@ -0,0 +1,24 @@
include/Iir.h
include/iir/
include/iir/Biquad.h
include/iir/Butterworth.h
include/iir/Cascade.h
include/iir/ChebyshevI.h
include/iir/ChebyshevII.h
include/iir/Common.h
include/iir/Custom.h
include/iir/Layout.h
include/iir/MathSupplement.h
include/iir/PoleFilter.h
include/iir/RBJ.h
include/iir/State.h
include/iir/Types.h
lib/cmake/
lib/cmake/iir/
lib/cmake/iir/iirConfig.cmake
lib/cmake/iir/iirConfigVersion.cmake
lib/cmake/iir/iirTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/iir/iirTargets.cmake
@lib lib/libiir.so.${LIBiir_VERSION}
@static-lib lib/libiir_static.a
lib/pkgconfig/iir.pc