13
0
Commit Graph

25892 Commits

Author SHA1 Message Date
ba383b4726 OSC link: Clean up link not ready and surface refresh 2017-11-07 09:31:14 -08:00
bb8d65c528 OSC link: make selection work correctly 2017-11-06 13:38:18 -08:00
77a94e1015 Optimize zresampler for no re-sampling case. 2017-11-06 00:13:14 +01:00
4cdd3f5df6 Some further notes (and experiments) on optimizations 2017-11-06 00:12:32 +01:00
da4cea0526 Add some notes for future optimizations (and prepare API) 2017-11-04 17:11:10 +01:00
8366fbaa62 Change Delayline to use power-of-two size and bitmasking 2017-11-04 16:39:08 +01:00
06abdee652 [Re]-Implement Delayline flush.
Also don't automatically flush the delayline at transport or monitor-
changes anymore.

With full-graph latency compensation, delaylines are before the
disk-reader, aligning input (disk uses read-ahead to align).

Flushing the delayline should only happen when input-monitoring
is disengaged. It's best degated to the Route or object using the
Delayline (potentially latency-aligned delayed flush).
2017-11-04 16:24:09 +01:00
d26ad5573c Optimize Delaylines: block-process (not one sample at a time)
This also tweaks fade behavior when the latency changes to prefer a
x-fade when possible.

This new variant does not support concurrent re-allocation and
execution. Hence the auto-connect thread needs to take a lock before
updating latencies (actually there's no need for an explicit update with
built-in backends, so this case remains to be updated further)
2017-11-04 07:14:12 +01:00
5fdd6ca21e Clean up delayline API: don't use 'get_' for accessor method-name 2017-11-04 07:14:12 +01:00
3eee4fe8a5 OSC link: first working commit for linking two surfaces as one 2017-11-03 14:04:52 -07:00
caedbbf543 Fix scroll-wheel on mixer-sliders
74c986534b changes the semantics of fader-flags:
NoVerticalScroll  was "ignore vertical scroll for horizontal faders".
Now the flag ignores all vertical scrolling.
2017-11-03 15:55:33 +01:00
edff34a59b Auditioner, silence buffer at end. 2017-11-03 04:26:33 +01:00
c63f7f775d Don't crash when auditioning empty .mid files. 2017-11-03 04:14:23 +01:00
0c041dc372 Fix polarity-control size (and crash during audition)
Also initialize new polarity-invert with gain 1.0, not inverted.
Don't fade-in.
2017-11-03 03:06:22 +01:00
f7bca32ab1 Accommodate newly added/removed source(s) in our MSVC project (libardour) 2017-11-02 10:16:24 +00:00
c291cb64b1 Wrap automation on loop-position, split plugin processing 2017-11-01 15:46:23 +01:00
c411e05b6f Click-free polarity inversion, also use accelerated (AVX, SSE) Amp 2017-10-31 22:21:12 +01:00
466cbecaba Fix samples-moved (and invalid use of not initialized CubicInterpolation) 2017-10-31 22:01:46 +01:00
f5c5adee6a Interpolation phase[] is initially empty 2017-10-31 22:01:04 +01:00
79b1275b7c Fix set_loop() return value (amend 00a4ad) 2017-10-31 22:00:22 +01:00
8cf323c15d Relax assertion to allow rolling backwards into 0. 2017-10-31 19:54:08 +01:00
00a4ad712c Move Loop Location to Processors
The processors will becomes responsible to know about loop-positions
and map latency-compensated start_sample, end_sample into the loop-range
as needed.
2017-10-31 18:32:26 +01:00
8e8168547b Fix NSM for distro-builds (waf install) 2017-10-31 15:26:29 +01:00
3b785b9d35 Small steps towards rolling backwards.. 2017-10-31 03:51:08 +01:00
9a2433eacf Migrate to Polarity-inversion processor & fix proc positions
* invert polarity after disk i/o proc or return
* fix position of export-proc (after polarity)
* fix input-meter (before disk-writer or after return)
2017-10-31 03:18:59 +01:00
539560bcac Add polarity-invert processor 2017-10-31 03:15:43 +01:00
c5c4cd0246 Fix importing tempo-maps for non-integer pulsed time-signatures 2017-10-30 22:24:21 +01:00
ea8d089e3c Use new externally_connected API 2017-10-30 19:43:32 +01:00
9fd972c920 NO-OP: whitespace 2017-10-30 19:43:18 +01:00
94e2bce740 Add & implement PortEngine::externally_connected() API 2017-10-30 19:41:42 +01:00
16b4535281 Add missing header (-Wmissing-prototypes) 2017-10-30 19:39:42 +01:00
7adb1297cd Add weak linked symbol for "jack_port_is_mine" 2017-10-30 19:39:10 +01:00
b54db1cab7 Fix fade-out at quit. 2017-10-30 17:27:13 +01:00
d6e96a688d Always optimize zita-resampler, nothing to debug here 2017-10-30 16:31:38 +01:00
ea64e46594 remove non rt-safe debug messages 2017-10-30 16:31:38 +01:00
471644c59d Parallel execution of cycle-start/end 2017-10-30 16:31:38 +01:00
fba0fce441 Add a RT-Tasklist 2017-10-30 16:31:38 +01:00
c0dbe8eaaf Move coreaudio_set_realtime_policy into libpbd 2017-10-30 16:31:38 +01:00
fee03dc467 Add MSVC support for building the 'zita-resampler' library (which is now needed by libardour) 2017-10-30 13:55:51 +00:00
e9103051db Accommodate the change from libtimecode to libtemporal (gtk2_ardour) 2017-10-30 12:44:44 +00:00
9fbdfaf5a9 Accommodate the change from libtimecode to libtemporal 2017-10-30 11:01:19 +00:00
db674ac8b6 Remove unused per-port buffer offset 2017-10-29 20:04:11 +01:00
4f03b7c101 NO-OP: whitespace 2017-10-29 20:04:09 +01:00
bc18c54c73 Quick hack to test engine vari-speed (2/2) 2017-10-29 20:04:06 +01:00
6e11844889 Quick hack to test engine vari-speed (1/2) 2017-10-29 20:04:03 +01:00
927788a0b0 Move vari-speed into backend (resample ports)
Previously Ardour used a /local/ per track vari-speed mechanism.
Now that the disk-reader is a latency-compensated processor, the speed
of each disk-reader would need to be maintained locally, offset by each
disk-reader's output latency. Furthermore each disk-reader may
produce a different number of samples, depending on its global alignment.

This commit introduces port-data resampling directly at the engine-level:
Up/down-sample all input ports at the beginning, and down/up-sample output
port-data using the inverse ratio at the end of the session's process
cycle.
The session itself is unaware of the speed-change, and only needs to
handle transport speeds {-1, 0, +1}.

This also allows for aligned cue-monitoring and vari-speed recording,
and also pitch-shifts synthesized MIDI along.
2017-10-29 20:04:00 +01:00
7fb3c3e137 Add a dedicated mono variable resampler version 2017-10-29 20:03:55 +01:00
c0f27be59e Fix/update alsa backend build recipe (statically link zresampler) 2017-10-29 20:03:51 +01:00
47c97ca7e2 Update Lua Bindings, fix inconsistencies. 2017-10-29 20:01:19 +01:00
7b98ea911d Revert "relax zita-resampler's relative ratio"
This reverts commit d1b5a9ed3d.
2017-10-29 17:55:57 +01:00