[Bug 14717] resampled sound is horrible

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 5 01:19:32 CDT 2011


--- Comment #206 from Alexander E. Patrakov <patrakov at gmail.com> 2011-11-05 01:19:32 CDT ---
Sorry, yesterday I referenced a cubic interpolation formula that is not good
for our task. Namely, it produces a cubic curve that passes through all four
given points. It is (when compared to the exact value) actually as noisy as the
linear interpolation, just changes the sign of the error.

A different formula gives a cubic curve that passes through the middle two
given points and also gives correct derivatives here, but doesn't pass through
the two outer points: http://www.paulinternet.nl/?page=bicubic (just below the
words "So our cubic interpolation formula becomes"). From the noise viewpoint,
it is much better.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list