13
0
Commit Graph

33044 Commits

Author SHA1 Message Date
12454f0a96 fix delivery of music time to LV2 plugins 2021-08-13 12:51:34 -06:00
ce82efafcf libtemporal: slightly improve output from conversion statistics 2021-08-13 12:51:34 -06:00
f61ba0ccdc fix up broken passing of tempo grid information to LV2 plugins 2021-08-13 12:51:34 -06:00
5f67bbe5e4 fix dangling and incorrect use of numeric_limits<double> as a control event position 2021-08-13 12:51:34 -06:00
8a47dc39f1 remove NUTEMPO warning by replacing with an explanatory comment 2021-08-13 12:51:34 -06:00
92749a1b73 remove another NUTEMPO warning - use implicit conversions 2021-08-13 12:51:34 -06:00
0f67dbf8cc remove another NUTEMPO #warning - use time domain of region's track for content trim dragging 2021-08-13 12:51:34 -06:00
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
3702da5488 fix up osc support after rebase/merge conflicts 2021-08-13 12:51:33 -06:00
c9d3381935 libtemporal: increase DEBUG_TRACE utility for ::get_grid() and related matters 2021-08-13 12:51:33 -06:00
bd1b6dcda3 libtemporal: start making tempo map work with non-monotonic BBT "bar times" present 2021-08-13 12:51:33 -06:00
18fba5dece whitespace adjustments 2021-08-13 12:51:33 -06:00
fe352311f6 make shift-leftclick on bbt ruler set that time to be 3|2|0 (experiment - GUI dialog to follow) 2021-08-13 12:51:33 -06:00
c8175b7c49 libtemporal: add new constructors for MusicTimePoint and MeterPoint 2021-08-13 12:51:33 -06:00
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
c22c8ed69f get TempoMarkerDrag and BBTRulerDrag to compile 2021-08-13 12:51:33 -06:00
c5c14e2416 remove two nutempo #warnings - initialize timecnt_t() using timedomain of route with first selected region (ripple dragging) 2021-08-13 12:51:33 -06:00
82e4545f7c remove nutempo #warning (already fixed, just remove preprocessor line) 2021-08-13 12:51:33 -06:00
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
ff77b3eb75 remove nutempo #warning (already fixed, just remove preprocessor line) 2021-08-13 12:51:33 -06:00
6608700e82 no more need to update locations after a tempo map change 2021-08-13 12:51:33 -06:00
3b06ce6e67 remove 3 nutempo #warnings - use plugin (processor) time_domain() when creating AutomationLists 2021-08-13 12:51:33 -06:00
9d4d3908e6 remove some nutempo #warnings and fix up Location time domain API 2021-08-13 12:51:33 -06:00
a8f9f268b4 use integer division when computing tempo map positions from SMF data 2021-08-13 12:51:33 -06:00
97a3469972 use new Tempo API in two places where Tempo is explicitly constructed 2021-08-13 12:51:33 -06:00
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
888239a834 remove dual (x,y) version of AutomationLine::view_to_model_coord()
The x-axis coordinate was never transformed or modified anyway (6.x just changed it
from double to integer and back again!)
2021-08-13 12:51:33 -06:00
12855c1a83 fix types for MIDI source API, and remove unusued loop length member 2021-08-13 12:51:33 -06:00
4e761807bf remove NUTEMPO warning 2021-08-13 12:51:33 -06:00
18e925e4ac remove another NUTEMPO warning (potentially allows audio regions to have beat time position) 2021-08-13 12:51:33 -06:00
d131a9aa12 remove debug output 2021-08-13 12:51:33 -06:00
c32de2355e extra DEBUG_TRACE statement in tempo map grid computation 2021-08-13 12:51:33 -06:00
80f543dc17 fix missing conversions between samples & superclock for ruler display 2021-08-13 12:51:33 -06:00
e36affe3ae remove another NUTEMPO #warning (use time_domain() of the processor) 2021-08-13 12:51:33 -06:00
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
1a41e98c1c improve comment for future readers 2021-08-13 12:51:33 -06:00
068cc4135f remove another NUTEMPO #warning (see comment) 2021-08-13 12:51:33 -06:00
f321dd4dac remove NUTEMPO #warning (comment explains more) 2021-08-13 12:51:33 -06:00
87dfef28f6 allow new locations creation from playhead to use default time domain 2021-08-13 12:51:33 -06:00
874a009d76 remove NUTEMPO #warning (comment explains more) 2021-08-13 12:51:33 -06:00
9c1e88e675 remove NUTEMPO #warning (dealt with in caller) 2021-08-13 12:51:33 -06:00
e4e953df14 no need to copy-construct here 2021-08-13 12:51:33 -06:00
7e6f0ea2bb remove NUTEMPO warning 2021-08-13 12:51:33 -06:00
b39a771655 start using Editor::canvas_event_time(), initially just in the button release handler 2021-08-13 12:51:33 -06:00
6a44dcbdad add Editor::canvas_event_time()
See comments in header for more
2021-08-13 12:51:33 -06:00
0114059c9d nutempo warning removal 2021-08-13 12:51:33 -06:00
5074553f15 add Editor::default_time_domain()
Not 100% certain about the logic here, but at least the method exists now
2021-08-13 12:51:33 -06:00
af9bc21a07 nutempo warning removal 2021-08-13 12:51:33 -06:00
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
25375ee6f4 add timepos_t::set_time_domain() to potentially change time domains 2021-08-13 12:51:33 -06:00