From 6481437f0a7e46941a7e998c160f0fdb8337f84b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 14 Nov 2019 21:15:30 +0100 Subject: LV2 extension for host's time-scale vari-speed Ardour 6 internally always runs at speed 1.0 (or -1.0, or stopped 0.0). There is no vari-speed that scale "BPM" or "n_sample" time progression per cycle. Instead Ardour 6 vari-speed mechanism transparently re-samples I/O. So process-time is scaled only relative to wall-clock time. From a plugin's POV this is similar to "freewheeling": The plugin processes data as if the host plays at speed 1.0. While the host plays this data at a different rate. Some plugins may like to be informed about the host's actual playback rate. Currently this is mainly for the benefit of github.com/x42/repitch.lv2.git --- libs/ardour/ardour/uri_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/uri_map.h') diff --git a/libs/ardour/ardour/uri_map.h b/libs/ardour/ardour/uri_map.h index 6c0b3c8991..9134c6be44 100644 --- a/libs/ardour/ardour/uri_map.h +++ b/libs/ardour/ardour/uri_map.h @@ -81,6 +81,7 @@ public: uint32_t time_beatsPerMinute; uint32_t time_frame; uint32_t time_speed; + uint32_t time_scale; uint32_t patch_Get; uint32_t patch_Set; uint32_t patch_property; -- cgit v1.2.3