Robin Gareus
8f3794f0ca
Remove unused CubicInterpolation
2024-05-26 05:37:05 +02:00
Paul Davis
aad60e37b9
small adjustments to TransportMaster API to better accomodate the "ignore/accept commands" concept
2020-03-10 11:39:39 -06:00
Robin Gareus
a22f918d9d
Update libardour GPL boilerplate and (C) from git log
2019-08-03 15:53:16 +02:00
Robin Gareus
f5c5adee6a
Interpolation phase[] is initially empty
2017-10-31 22:01:04 +01:00
Paul Davis
45b1f6f6b8
change API and implementation for CubicInterpolation and Interpolation.
...
Also remove LinearInterpolation which is not used
2017-10-02 12:44:52 -04:00
Paul Davis
30b087ab3d
globally change all use of "frame" to refer to audio into "sample".
...
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-09-18 12:39:17 -04:00
Robin Gareus
6c65fd41cb
Sanitize cubic-interpolation code (NO-OP safe for float inaccuracies)
...
Prefer fmod(x, 1) over (x - floor (x))
2017-03-16 15:06:27 +01:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
1a5a48436a
NOOP, re-indent.
2015-03-10 22:15:44 +01:00
Robin Gareus
9b2898c533
yet unheard of edge-case.
2015-03-10 22:15:44 +01:00
Robin Gareus
7619946b4b
MIDI vari-speed playback
2015-03-10 22:15:44 +01:00
Robin Gareus
4864833669
fix vari-speed phase (when used for calculation only)
...
and clarify an old comment.
2013-08-27 20:55:15 +02:00
Paul Davis
01d57ff3e7
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:14:11 +00:00
Carl Hetherington
842bddde1e
Fix linear interpolator to avoid error accumulation.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 17:52:42 +00:00
David Robillard
a473d630eb
Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 16:50:12 +00:00
David Robillard
62e730b57a
Fix broken whitespace (no functional changes).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:46:48 +00:00
Carl Hetherington
73192bc1a7
Remove all use of nframes_t.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:26:29 +00:00
Paul Davis
7a2a37ad50
remember to reset inm1 each time around the interpolation loop
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-22 13:29:09 +00:00
Paul Davis
69be1aa7bf
fix conceptually broken cubic interpolator that failed to handle the i=0 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-16 19:53:25 +00:00
David Robillard
bb9cc45cd2
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab 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-10-14 16:10:01 +00:00
Hans Baier
16b964020f
interpolation.cc/h: Remove all failed and obsolete attempts, leave linear and cubic
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 05:27:49 +00:00
Hans Baier
3e88c8aa25
Another failed attemt at natural spline interpolation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 05:27:43 +00:00
Paul Davis
793372d7d4
fixes for 64 bit compilation - see comment
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 01:30:50 +00:00
Hans Baier
19d89fc1dc
interpolation.cc/h: Fix crash bug and introduce add simple cubic interpolation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 16:55:38 +00:00
Hans Baier
272c1a40db
spline interpolation: fix crash bugs on negative speed and NULL inputs
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 09:27:13 +00:00
Hans Baier
b0bb5342dd
interpolation.cc/.h: Spline-Bugfixes: Crash bug at tempos close to 0, wrong 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-22 08:42:33 +00:00
Hans Baier
7186593442
interpolation.cc/.h: first working but buggy implementation of cubic Spline interpolation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 00:19:50 +00:00
Carl Hetherington
b65f8073ba
Fix some unused parameter warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
Hans Baier
de58b257ae
replace fixed-point linear interpolation with double-based version, thereby 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-19 22:30:36 +00:00
Paul Davis
86db1ebc5f
include <cstdio> so that printf() is declared
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 18:55:12 +00:00
Hans Baier
d45dfa5cb6
interpolation: fix some warnings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 14:53:42 +00:00
Carl Hetherington
417309d6d4
Fix some warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 10:40:48 +00:00
Hans Baier
dd84d5312e
Xinterpolation.*: Add old fixed point and double linear interpolation as alternatives
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:39 +00:00
Hans Baier
47e5690552
Interpolation -> LibSamplerateInterpolation, keep state per channel
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:17 +00:00
Hans Baier
875568f01f
Interpolation: first working version with sinc
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:10 +00:00
Hans Baier
f42f577bed
Interpolation: First working but buggy version using libsamplerate
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:02 +00:00
Hans Baier
43340cd37c
* Refactor varispeed playback into own class, replace fixed-point arithmetic by double, fix unit tests for libardour
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:03:47 +00:00
Hans Baier
f284d28d53
libardour: * Add basic classes for later support of multiple interpolation 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
2009-06-10 00:03:28 +00:00