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(a)mega-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