Commit graph

18433 commits

Author SHA1 Message Date
Paul Davis
12454f0a96 fix delivery of music time to LV2 plugins 2021-08-13 12:51:34 -06:00
Paul Davis
ce82efafcf libtemporal: slightly improve output from conversion statistics 2021-08-13 12:51:34 -06:00
Paul Davis
f61ba0ccdc fix up broken passing of tempo grid information to LV2 plugins 2021-08-13 12:51:34 -06:00
Paul Davis
5f67bbe5e4 fix dangling and incorrect use of numeric_limits<double> as a control event position 2021-08-13 12:51:34 -06:00
Paul Davis
8a47dc39f1 remove NUTEMPO warning by replacing with an explanatory comment 2021-08-13 12:51:34 -06:00
Paul Davis
92749a1b73 remove another NUTEMPO warning - use implicit conversions 2021-08-13 12:51:34 -06:00
Paul Davis
ffc9ab66b5 libtemporal: remove TempoMap::metric_at_locked() methods
There is no lock anymore, all modifications are done via RCU
2021-08-13 12:51:33 -06:00
Paul Davis
3702da5488 fix up osc support after rebase/merge conflicts 2021-08-13 12:51:33 -06:00
Paul Davis
c9d3381935 libtemporal: increase DEBUG_TRACE utility for ::get_grid() and related matters 2021-08-13 12:51:33 -06:00
Paul Davis
bd1b6dcda3 libtemporal: start making tempo map work with non-monotonic BBT "bar times" present 2021-08-13 12:51:33 -06:00
Paul Davis
c8175b7c49 libtemporal: add new constructors for MusicTimePoint and MeterPoint 2021-08-13 12:51:33 -06:00
Paul Davis
f86395688e libtemporal: Beats::round_to_subdivision() was incorectly folding the "beats" part of the value back into the answer.
The "beats" value is already implicit in the "ticks" we actually do the math with
2021-08-13 12:51:33 -06:00
Paul Davis
82e4545f7c remove nutempo #warning (already fixed, just remove preprocessor line) 2021-08-13 12:51:33 -06:00
Paul Davis
1637c13fbf extend Lua API a little to allow callers to specify time domain for script/plugin automation data 2021-08-13 12:51:33 -06:00
Paul Davis
ff77b3eb75 remove nutempo #warning (already fixed, just remove preprocessor line) 2021-08-13 12:51:33 -06:00
Paul Davis
6608700e82 no more need to update locations after a tempo map change 2021-08-13 12:51:33 -06:00
Paul Davis
3b06ce6e67 remove 3 nutempo #warnings - use plugin (processor) time_domain() when creating AutomationLists 2021-08-13 12:51:33 -06:00
Paul Davis
9d4d3908e6 remove some nutempo #warnings and fix up Location time domain API 2021-08-13 12:51:33 -06:00
Paul Davis
97a3469972 use new Tempo API in two places where Tempo is explicitly constructed 2021-08-13 12:51:33 -06:00
Paul Davis
b8a7de43b6 libtemporal: change Tempo API to ensure that the correct construtor is called
This could be probably be improved with an even more distinct ramped/non-ramped API
2021-08-13 12:51:33 -06:00
Paul Davis
12855c1a83 fix types for MIDI source API, and remove unusued loop length member 2021-08-13 12:51:33 -06:00
Paul Davis
4e761807bf remove NUTEMPO warning 2021-08-13 12:51:33 -06:00
Paul Davis
18e925e4ac remove another NUTEMPO warning (potentially allows audio regions to have beat time position) 2021-08-13 12:51:33 -06:00
Paul Davis
c32de2355e extra DEBUG_TRACE statement in tempo map grid computation 2021-08-13 12:51:33 -06:00
Paul Davis
e36affe3ae remove another NUTEMPO #warning (use time_domain() of the processor) 2021-08-13 12:51:33 -06:00
Paul Davis
101a9e3a2c remove another NUTEMPO #warning
For the foreseeable future, all audio region fades will be define in audio time
2021-08-13 12:51:33 -06:00
Paul Davis
1a41e98c1c improve comment for future readers 2021-08-13 12:51:33 -06:00
Paul Davis
068cc4135f remove another NUTEMPO #warning (see comment) 2021-08-13 12:51:33 -06:00
Paul Davis
af9bc21a07 nutempo warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
7cefa5fd7e nutempo warning removing - Region::set_position_time_domain() works again
We might not allow this operation/method in the future
2021-08-13 12:51:33 -06:00
Paul Davis
25375ee6f4 add timepos_t::set_time_domain() to potentially change time domains 2021-08-13 12:51:33 -06:00
Paul Davis
5974f68250 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
84da57eb02 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
815028752e nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
24c84bff59 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
d7cb40f177 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
1ccebbf1f0 fixup Lua TempoMap bindings (these will likelyneed to expand in the future
This also likely breaks script back-compatibility for anything tempo-map related
2021-08-13 12:51:33 -06:00
Paul Davis
57311c7643 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
65d5ddb357 nutempo #warning removal 2021-08-13 12:51:33 -06:00
Paul Davis
04688292d6 manual fixups for recent rebase conflicts left in the wrong state 2021-08-13 12:51:33 -06:00
Paul Davis
5ea862ccc2 fix several more controls to take a time domain from their owner (Automatable) 2021-08-13 12:51:33 -06:00
Paul Davis
df37c62e37 mute controls starts with its stripable's time domain 2021-08-13 12:51:33 -06:00
Paul Davis
ceba073065 pan controls starts with its route's time domain 2021-08-13 12:51:33 -06:00
Paul Davis
e72ce1317e record enable control starts with its route's time domain 2021-08-13 12:51:33 -06:00
Paul Davis
dc66a963bb use Automatable's time_domain() to set time_domain() for some controls at creation 2021-08-13 12:51:33 -06:00
Paul Davis
495cc1e4bc plugins use their route's automation time domain 2021-08-13 12:51:33 -06:00
Paul Davis
cd59f876f7 solo isolate control starts with its route's time domain 2021-08-13 12:51:33 -06:00
Paul Davis
a7b011c06b solo safe control starts with its route's time domain 2021-08-13 12:51:32 -06:00
Paul Davis
7f31c11073 delay line processor starts with the default automation time domain 2021-08-13 12:51:32 -06:00
Paul Davis
7c10cf1d54 Automatable now requires (and owns) a time domain to be used by automation data 2021-08-13 12:51:32 -06:00