View Single Post
Old 1st February 2015, 16:02   #2  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Divet View Post
Hi!
Could anybody answer, does the taps parameter of SincResize really work?
I've tried taps=128, taps=256, taps=512 and see no difference!
It's impossible because such giant taps must produce giant ringing halo and must reduce the speed almost to zero!

taps=20 and taps=10 looks the same as taps=512! No ringing at all!

Is this parameter completely disabled?
If yes, how many taps does SincResize use instead?
The documentation would suggest that "taps" gets clamped to 20 for sincresize.

A look at the code confirms it:
Code:
/***********************
 *** Sinc filter ***
 ***********************/
SincFilter::SincFilter(int t = 4) {
   taps = (double)(max( 1,min(20,t)));
}

Last edited by Groucho2004; 1st February 2015 at 16:05.
Groucho2004 is offline   Reply With Quote