: nearest-neighbor downsampling causes noise
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000496
======================================================================
Reported By: grabner
Assigned To:
======================================================================
Project: ALSA - lib Bug ID: 496 Category: pcm - digital audio Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 09-10-2004 22:06 CEST Last Modified: 09-16-2004 11:24 CEST
======================================================================
Summary: nearest-neighbor downsampling causes noise
Description:
The rate-conversion plugin in ALSA-1.0.7rc1 uses the nearest-neighbor method for downsampling (function snd_pcm_rate_shrink in src/pcm/pcm_rate.c), which causes considerable noise.
======================================================================
----------------------------------------------------------------------
tiwai - 09-15-2004 18:18 CEST
----------------------------------------------------------------------
The patch looks fine.
Could you provide the summary, description and signed-off-by for the patch to apply to ALSA CVS tree?
thanks.
----------------------------------------------------------------------
grabner - 09-16-2004 11:24 CEST
----------------------------------------------------------------------
Ok, here is the required information:
-----
Summary: Fix the downsampling noise problem
The patch replaces the nearest neighbor downsampling method in the sample rate conversion plugin by linear interpolation of the closest two samples, thus significantly reducing the resampling noise.
-----
Regards,
Markus
Bug History
Date Modified Username Field Change
======================================================================
09-10-04 22:06 grabner New Bug 09-10-04 22:06 grabner File Added: downsample_interpolate.patch 09-10-04 22:08 grabner Bug Monitored: grabner 09-15-04 18:18 tiwai Bugnote Added: 0001763 09-16-04 11:24 grabner Bugnote Added: 0001768
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php