Re: [linux-audio-dev] Re: Looking for fast integer resampling code

From: Erik de Castro Lopo <erikd-lad@email-addr-hidden-nerd.com>
Date: Mon Jun 13 2005 - 15:49:38 EEST

Kjetil Svalastog Matheussen wrote:

> I was primarily testing speed, but both libraries where using the sinc
> routine, so...

Yes, but you can design a sinc filter with 10 coefficients and one
with 10000. The one with 10000 coefficients will have a steeper
transition band and a better signal to noise ratio.

> When I compaired mus_src with width=5, and libsamplerate with
> SRC_SINC_FASTEST, the first one is much faster, I don't know what kind of
> SNR/Bandwidth you get with your way of measuring when using mus_src with
> width=5, but the source is easy to read so I guess you can figure it out.

The SNR and bandwith cannot be determined by reading code. Measurement
is the only option.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@email-addr-hidden-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"To me C++ seems to be a language that has sacrificed orthogonality
and elegance for random expediency." -- Meilir Page-Jones
Received on Mon Jun 13 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 13 2005 - 20:15:07 EEST