adeireader modified (resampling)