Time-varying or tunable filters?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
So far I've been studying only filters that are static, whose parameters are assumed to left untouched during the processing. However, most digital audio effects vary the filter parameters.
What are the basics of making filters with time-variable parameters?
What are the basics of making filters with time-variable parameters?
-
- KVRian
- 573 posts since 1 Jan, 2013 from Denmark
The basics are really just to recalculate the coefficients at periodic intervals, leaving the state alone.Fluky wrote:What are the basics of making filters with time-variable parameters?
Different filters respond differently to this procedure, some might blow up and/or become unstable, others are designed specifically to or intrinsically withstands it. In the general case one usually applies smoothing to the parameters.
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
Periodically in the sense of time- or frequency domain? I.e. at periodic time intervals or frequency intervals?Mayae wrote:The basics are really just to recalculate the coefficients at periodic intervals, leaving the state alone.Fluky wrote:What are the basics of making filters with time-variable parameters?
Different filters respond differently to this procedure, some might blow up and/or become unstable, others are designed specifically to or intrinsically withstands it. In the general case one usually applies smoothing to the parameters.
What does smoothing the parameters mean (in relation to recalculating the coefficients)?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
Good point, forgot that thread.matt42 wrote:Perhaps you could check the thread on sweepable filters that you started....Fluky wrote:What are the basics of making filters with time-variable parameters?
http://www.kvraudio.com/forum/viewtopic ... e#p6441717
But I also meant this more theory-focused rather than "where to get sweepable filter libraries". Specifically, because I'm yet to find a book chapter that goes in detail to how tunable filters are realized, everything I've read so far has been only about static filter designs.
-
- KVRian
- 573 posts since 1 Jan, 2013 from Denmark
In time. Often plugins have a "control rate" where coefficients will be updated, for instance every 32th sample or something. You can do it every sample to get audio rate modulation, obviously less efficient though.Fluky wrote:Periodically in the sense of time- or frequency domain? I.e. at periodic time intervals or frequency intervals?
To avoid sudden/extreme changes in automation or control, that will make the filter blow up or in general not sound nice. Common choices are a first order lowpass or simply a linear interpolation to the next control value over some amount of time.What does smoothing the parameters mean (in relation to recalculating the coefficients)?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
So it's done, when the parameter change by the user has been too big in too small amount of time?Mayae wrote:Fluky wrote:To avoid sudden/extreme changes in automation or control, that will make the filter blow up or in general not sound nice. Common choices are a first order lowpass or simply a linear interpolation to the next control value over some amount of time.What does smoothing the parameters mean (in relation to recalculating the coefficients)?
-
- KVRian
- 573 posts since 1 Jan, 2013 from Denmark
If you consider the automation input data as a signal, a lowpass filter (be it linear interpolation or whatever) is applied to smooth transients and higher frequencies, just like with audio. This signal is then used to modulate the filter's parameters.Fluky wrote:So it's done, when the parameter change by the user has been too big in too small amount of time?Mayae wrote:Fluky wrote:To avoid sudden/extreme changes in automation or control, that will make the filter blow up or in general not sound nice. Common choices are a first order lowpass or simply a linear interpolation to the next control value over some amount of time.What does smoothing the parameters mean (in relation to recalculating the coefficients)?
-
- KVRer
- 25 posts since 12 Jan, 2008
A good introduction to this topic is http://www.dafx14.fau.de/papers/dafx14_ ... s_for_.pdf