Algebraic minimum-phase variant of sinc function
- KVRAF
- 4030 posts since 7 Sep, 2002
-
Christian Schüler Christian Schüler https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=48996
- KVRist
- 266 posts since 23 Nov, 2004 from Hamburg, Germany
The sinc function is the limit of a periodic impulse train as the period goes infinity. So start with a discrete minimum phase impulse train, increase the period, take the limit.
- KVRAF
- Topic Starter
- 4030 posts since 7 Sep, 2002
- KVRAF
- 2187 posts since 25 Jan, 2007 from the back room, away from his wife's sight (or so he thinks)
I've always wondered if there was a single equation that could be used to generate minimum phase sinc impulses... Would certainly come in handy 
Cakewalk by Bandlab / FL Studio
Squire Stratocaster / Chapman ML3 Modern V2 / Fender Precision Bass
Formerly known as arke, VladimirDimitrievich, bslf, and ctmg. Yep, those bans were deserved.
Squire Stratocaster / Chapman ML3 Modern V2 / Fender Precision Bass
Formerly known as arke, VladimirDimitrievich, bslf, and ctmg. Yep, those bans were deserved.
-
Christian Budde Christian Budde https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=25572
- KVRAF
- 1538 posts since 14 May, 2004 from Europe
I would try to use the hilbert transform for this, but I'm not sure, wheter this will lead to a closed expression in case of a sinc function. Don't try this at home, baby!
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4379 posts since 8 Mar, 2004 from Berlin, Germany
this is a bandlimited impulse (BLIT):Aleksey Vaneev wrote:Does anybody know how it looks?

...and this is the minimum phase reconstruction of it (let's call it minBLIT?):

concatenation of (minimum-phase) bandlimited impulses gives (minimum-phase) bandlimited impulse-trains.
...and integration of those BLITs leads us to the BLEPs. i'd call the integration of the first 'linBLEP', it looks like:

...and the integration of the latter is well known and celebrated under the name 'minBLEP':

edit: i think, i have confused the terminology a bit: the term 'BLIT' actually does not refer to a bandlimited impulse but to a train thereof (BLIT = Band-Limited Impulse Train).
Last edited by Music Engineer on Sat Mar 03, 2007 6:20 pm, edited 1 time in total.
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4379 posts since 8 Mar, 2004 from Berlin, Germany
oohh, i guess i missed the point of 'looks like' - this is a quest for closed form equation for these plots above, right?
-
- KVRAF
- 3404 posts since 15 Sep, 2002
I think I've seen an equation for the BLIT in a DSP book or somewhere.
-
- KVRian
- 1153 posts since 10 Dec, 2003
It's in the "Alias-Free Digital Synthesis of Classic Analog Waveforms" paper by stilson & smith...
http://www-ccrma.stanford.edu/~stilti/papers/blit.pdf
And as blit's (or rather the individual impules that make the train) are basicly sinc functions, a minimum phase windowed sinc should look the similar to minimum phase blit..
So braindocs "minBLIT" img is basicly a minimum phase windowed sinc. (obviously with cuttoff frq pretty close to fs/2)
i think, maybe..
http://www-ccrma.stanford.edu/~stilti/papers/blit.pdf
And as blit's (or rather the individual impules that make the train) are basicly sinc functions, a minimum phase windowed sinc should look the similar to minimum phase blit..
So braindocs "minBLIT" img is basicly a minimum phase windowed sinc. (obviously with cuttoff frq pretty close to fs/2)
i think, maybe..
- KVRAF
- Topic Starter
- 4030 posts since 7 Sep, 2002
Sure thing, I was asking about a finite algebraic equation, in which I can change "t" (and, preferrably, "c" - cutoff point) and have a valid 'min-phase' value (i.e. skipping discretization like in your example).braindoc wrote:oohh, i guess i missed the point of 'looks like' - this is a quest for closed form equation for these plots above, right?
- KVRAF
- Topic Starter
- 4030 posts since 7 Sep, 2002
No, it's not the same thing. I already know formula for ideal linear-phase low-pass function (sinc). But I would like to know a similar formula, for a similar ideal low-pass filter, but which produces result similar to min-phase transform one does to transform FIR filter produced from sinc function evaluation. I.e. direct formula which produces ideal min-phase low-pass filter 'in one step'.nollock wrote:It's in the "Alias-Free Digital Synthesis of Classic Analog Waveforms" paper by stilson & smith...
http://www-ccrma.stanford.edu/~stilti/papers/blit.pdf
And as blit's (or rather the individual impules that make the train) are basicly sinc functions, a minimum phase windowed sinc should look the similar to minimum phase blit..
So braindocs "minBLIT" img is basicly a minimum phase windowed sinc. (obviously with cuttoff frq pretty close to fs/2)
i think, maybe..
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4379 posts since 8 Mar, 2004 from Berlin, Germany
what do you need this for - i mean what is the advantage of a FIR above a classical IIR-design (say elliptic or so), if not its linear phase property? the classical IIR-designs are (as far as i know) minimum phase in the first place.Aleksey Vaneev wrote:I already know formula for ideal linear-phase low-pass function (sinc). But I would like to know a similar formula, for a similar ideal low-pass filter, but which produces result similar to min-phase transform one does to transform FIR filter produced from sinc function evaluation.
-
AdmiralQuality AdmiralQuality https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=83902
- Banned
- 6657 posts since 10 Oct, 2005 from Toronto, Canada
- KVRAF
- Topic Starter
- 4030 posts since 7 Sep, 2002
Ok, I'm showing my cards (right out of my head).braindoc wrote:what do you need this for - i mean what is the advantage of a FIR above a classical IIR-design (say elliptic or so), if not its linear phase property? the classical IIR-designs are (as far as i know) minimum phase in the first place.
Biquad IIR filter contains two parts: FIR (numerator) and IIR (denominator) part. IIR part is the same as FIR, but technically works as response inversion/deconvolution (and is infinite due to its feedback topology). Coefficients of both parts should be multiplied so that first element of IIR part is 1.0 (for the biquad filter algorithm to work).
So, since both parts are equal in their "filtering nature" we can use resampling on both parts.
What this means? I can take [a0 a1 a2] FIR coefficients, and resample them to any required samplerate using sinc function (it's a straightforard thing and is very efficient in calculation times) - the mathematical representation of such resampling is infinite (it is a sum of 3 weighted sinc functions), but I'll be taking only 3 resampled elements thus performing kernel truncation. Then I can do the same on [b0 b1 b2] IIR (deconvolution) coefficients. After such resampling I can divide all elements by b0 and have 5 standard biquad coefficients.
The problem is, if I resample using linear-phase sinc function, truncation I'm talking about will be very rough - probably even unacceptable, as the filter after such resampling becomes a bit linear-phase as well (in its sinc cutoff band). So, I have to use minimum-phase sinc-function so that truncation artifacts are minimized.
Now, why do I need such resampling, at all? Take, for example, RBJ biquad equations. They are fine as long as you are designing filters with lower center frequencies. But when you are approaching Nyquist/2, filter starts to distort (to say it easier, equations are simplistic and they can't cope with Nyquist/2 frequencies where "z" phase shift progresses quickly).
In the approach I'm describing all you need is to design filter at center frequency of 1.0 Hz. Then, using resampling, move this center frequency to whatever frequency you need, while at the same time applying a required 'ideal' cutoff built-in into the sinc function.
With such approach you can even specify target center frequencies that are far above Nyquist/2.
And you can apply this approach to ANY biquad (or higher order) filter, with 'octave-independent' EQ curve.
Now, all I (and probably all of you) need is a simple minimum-phase sinc formula.
OK, this approach can be checked for validity using discrete minimum-phase filtering, but it won't be usable in real applications due to high amount of computations required. (while having a simple minimum-phase sinc formula this method requires only 3 formula evaluations per filter coefficient).
To sum up, this approach is theoretically correct, but may require increasing biquad to 3rd order IIR filter for stable results.
(sounds like band-limited resampled bi-linear transformation filter design, or Vaneev's filter design method - if it works, of course
edit: on the other hand, if we band-limit the IIR part it will go crazy if we use it for division - but on yet another hand this craziness is moved beyond Nyquist/2, so it may not manifest itself in real implementation.
- KVRAF
- Topic Starter
- 4030 posts since 7 Sep, 2002
OK, after experimentation I have concluded that this approach does work as expected, but requires a much higher target filter order (not even 3rd) - somewhere around 4000 (ouch).
This is required to support such steep "sinc" cutoff. Without this, original EQ curve supplied by FIR/IIR triplets is not restorable.
So, the method I've shown requires more thinking. (probably there is way to extract resampled EQ curve that is close to original EQ curve (plus shift) from such band-limited variant)
So, the method I've shown requires more thinking. (probably there is way to extract resampled EQ curve that is close to original EQ curve (plus shift) from such band-limited variant)

