diff options
author | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-17 19:53:52 +0000 |
---|---|---|
committer | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-17 19:53:52 +0000 |
commit | 54e2a19b7fa2e806ac7f99e01884fe42c098a894 (patch) | |
tree | 432456fec123f760d5983970d112f11b5013561d /audio/ir-lv2/files/patch-ir.h | |
parent | The Midi Matrix (Channel Filter) is a 3-in-1 filter plugin with a simple UI (diff) |
LV2 Impulse response (convolution) plugin (for reverb and cabinet simulation).
This fork adds LV2 State extenstion support for proper storing of internal
plugin data.
IR is a no-latency/low-latency, realtime, high performance signal
convolver especially for creating reverb effects. Supports impulse
responses with 1, 2 or 4 channels, in any soundfile format supported
by libsndfile.
WWW: https://github.com/Anchakor/ir.lv2
PR: 221232
Submitted by: Yuri Victorovich (maintainer)
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D12059
Notes
Notes:
svn path=/head/; revision=448184
Diffstat (limited to 'audio/ir-lv2/files/patch-ir.h')
-rw-r--r-- | audio/ir-lv2/files/patch-ir.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/ir-lv2/files/patch-ir.h b/audio/ir-lv2/files/patch-ir.h new file mode 100644 index 000000000000..a86c39d84f0b --- /dev/null +++ b/audio/ir-lv2/files/patch-ir.h @@ -0,0 +1,12 @@ +--- ir.h.orig 2013-09-10 06:27:31 UTC ++++ ir.h +@@ -35,6 +35,9 @@ + #define BSIZE_SR 0x1000 /* Blocksize for SRC */ + #define MAXSIZE 0x00100000 /* Max. available convolver size of zita-convolver */ + ++#define exp10(x) pow(10., x) // TODO not as good as exp10()? ++#define exp10f(x) powf(10., x) // TODO not as good as exp10f()? ++ + #define DB_CO(g) ((g) > -90.0f ? exp10f((g) * 0.05f) : 0.0f) + #define CO_DB(g) ((g) > 0.0f ? 20.0f * log10f(g) : -90.0f) + |