resampler from duncanlock