summaryrefslogtreecommitdiff
path: root/libs/ardour/interpolation.cc
AgeCommit message (Collapse)Author
2017-10-31Interpolation phase[] is initially emptyRobin Gareus
2017-10-02change API and implementation for CubicInterpolation and Interpolation.Paul Davis
Also remove LinearInterpolation which is not used
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-03-16Sanitize cubic-interpolation code (NO-OP safe for float inaccuracies)Robin Gareus
Prefer fmod(x, 1) over (x - floor (x))
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-03-10NOOP, re-indent.Robin Gareus
2015-03-10yet unheard of edge-case.Robin Gareus
2015-03-10MIDI vari-speed playbackRobin Gareus
2013-08-27fix vari-speed phase (when used for calculation only)Robin Gareus
and clarify an old comment.
2013-01-16add copyright commentsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20Fix linear interpolator to avoid error accumulation.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Fix broken whitespace. I'd apologize for the compile times if it was my ↵David Robillard
fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04Fix broken whitespace (no functional changes).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-22remember to reset inm1 each time around the interpolation loopPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-16fix conceptually broken cubic interpolator that failed to handle the i=0 ↵Paul Davis
case, and don't rely on inlining for speed there git-svn-id: svn://localhost/ardour2/branches/3.0@5792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24interpolation.cc/h: Remove all failed and obsolete attempts, leave linear ↵Hans Baier
and cubic git-svn-id: svn://localhost/ardour2/branches/3.0@5424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24Another failed attemt at natural spline interpolationHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24fixes for 64 bit compilation - see commentPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23interpolation.cc/h: Fix crash bug and introduce add simple cubic interpolationHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22spline interpolation: fix crash bugs on negative speed and NULL inputsHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22interpolation.cc/.h: Spline-Bugfixes: Crash bug at tempos close to 0, wrong ↵Hans Baier
calculation of M, unbounded precalculated L/U Matrices git-svn-id: svn://localhost/ardour2/branches/3.0@5410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22interpolation.cc/.h: first working but buggy implementation of cubic Spline ↵Hans Baier
interpolation git-svn-id: svn://localhost/ardour2/branches/3.0@5408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19replace fixed-point linear interpolation with double-based version, thereby ↵Hans Baier
removing noise at low speeds and drift issues git-svn-id: svn://localhost/ardour2/branches/3.0@5392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01include <cstdio> so that printf() is declaredPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23interpolation: fix some warningsHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23Fix some warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23Xinterpolation.*: Add old fixed point and double linear interpolation as ↵Hans Baier
alternatives git-svn-id: svn://localhost/ardour2/branches/3.0@5258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23Interpolation -> LibSamplerateInterpolation, keep state per channelHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23Interpolation: first working version with sincHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23Interpolation: First working but buggy version using libsamplerateHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@5255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10* Refactor varispeed playback into own class, replace fixed-point arithmetic ↵Hans Baier
by double, fix unit tests for libardour git-svn-id: svn://localhost/ardour2/branches/3.0@5145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10libardour: * Add basic classes for later support of multiple interpolation ↵Hans Baier
algorithms for varispeed * Add unit tests: Test which shows how the varispeed implementation in diskstream is broken. git-svn-id: svn://localhost/ardour2/branches/3.0@5144 d708f5d6-7413-0410-9779-e7cbd77b26cf