|
From: | Krzysztof Foltman |
Subject: | Re: [fluid-dev] A change to the IIR filter |
Date: | Mon, 04 Apr 2011 16:52:07 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
On 03/04/11 10:38, David Henningsson wrote:3) I'm not an IIR filter expert, and so I'm a little out on deep water here and I'm not completely sure this is the right way to fix it. If you happen to know any digital filter algorithm expert, feel free to ask him/her to review the code :-) The whole problem is a royal PITA for everyone. www.dafx.ca/proceedings/papers/p_057.pdf http://www.acoustics.hut.fi/~vpv/publications/icassp98-trel.pdf And this thread on KVR: http://www.kvraudio.com/forum/viewtopic.php?p=4134891 I had some success interpolating filter coefficients for a number of frames (say, 64), but this is just a partial solution. The problem is, depending on filter implementation there may be a risk of coefficients getting out of the unit circle, causing temporary instability. There are some clever solutions to try. For example, interpolating log(magnitude) and phase of the poles/zeros separately, so that the poles never get outside of the unit circle and the amplitude changes are "even". But it sounds like a rather CPU-consuming approach and I never tried that myself. K. |
[Prev in Thread] | Current Thread | [Next in Thread] |