[MPlayer-dev-eng] [PATCH] fix for -srate bug

D Richard Felker III dalias at aerifal.cx
Thu Oct 28 17:48:08 CEST 2004


On Thu, Oct 28, 2004 at 12:18:42PM +0100, Ed Wildgoose wrote:
> 
> >blackman nuttall windowed sinc, its trivial to change it to ANY other 
> >linear resampling algorithm, and ive never seen a non-linear one used for 
> >audio, and  u dont even seem to know what linear means ...
> > 
> >
> 
> I'm not quite sure why you and Richard have descended to name calling?
> 
> I have a 1st class honours degree in mathematics, and so I feel 
> reasonably comfortable with the definition of "linear".  On the other 

apparently you are NOT! i'm not just trying to insult you or
something. as michael explained in his reply to this same message i'm
replying to, you really appear to be thinking about something very
different from what we're talking about!

> non-linear one used" is slightly misleading.  First, many of the better 
> resampling routines use sinc based interpolation between samples.  

and as michael said, sinc resampler IS a linear filter!

> However, whilst the sinc function is non-linear (and infinitely long), 
> it turns out that you can approximate it using only (finite) linear 
> functions to a high degree of accuracy.  This is the technique used in 
> libsamplerate.

huh? i really doubt this... i don't think it could improve speed or
quality at all. whether the kernel function is linear or not doesn't
have any bearing on speed, since any kernel function is just a vector
with finitely many components as far as the computer is concerned.

rich





More information about the MPlayer-dev-eng mailing list