Commit graph

18601 commits

Author SHA1 Message Date
Ben Loftis
4bc3230756 Locations: provide a signal for when a single Location's Cue-ID changes 2022-01-21 10:06:18 -06:00
Ben Loftis
11bb40a06e Ruler Markers: for now, ignore Cue Markers in various Range operations 2022-01-21 10:02:18 -06:00
Paul Davis
5ade0927dd remove Other/Any follow action types 2022-01-20 18:56:07 -07:00
Paul Davis
b94c5dcec7 remove Next/Prev (Live-style) follow action types 2022-01-20 18:56:07 -07:00
Paul Davis
bbdfc5e777 remove FollowAction type "QueuedTrigger" 2022-01-20 18:56:07 -07:00
Paul Davis
90e6107972 triggerbox: left follow action == None means "no follow action at all" 2022-01-20 14:15:45 -07:00
Paul Davis
8ddf057553 triggerbox: fix enum (compiler should have noticed this) 2022-01-20 14:15:25 -07:00
Paul Davis
b884f7c534 triggerbox: do not use follow length when (left) follow action is None 2022-01-20 14:03:40 -07:00
Paul Davis
68c87c3f29 triggerbox: fix various errors caused by not setting transition_bbt
In cases where no quantization is done, transition_bbt was not set,
and this led to expected_end_sample being incorrect.
2022-01-20 13:57:47 -07:00
Paul Davis
02f4daffe4 fix inconsequential debug-trace garbage value report from clang 2022-01-20 13:40:49 -07:00
Paul Davis
ee5d3da929 fix inconsequential (unlikely) memory leak from clang 2022-01-20 13:40:49 -07:00
Paul Davis
4c9460b697 fix incorrect code that passed a null boost::shared_ptr<AudioRegion> into a ::get_state() call 2022-01-20 12:07:59 -07:00
Paul Davis
413f2e9d1b triggerbox: implement (?) JumpTrigger follow action 2022-01-20 11:01:00 -07:00
Paul Davis
993c7c4bec canvas: manually remove changes from 6f91dc0799 and implement same goal in a different way
The AudioClipEditor features a scroll bar that is a part of the canvas. Because scroll
groups are at the top level of a canvas, the scroll bar is necessary within a scroll
group, which causes it to get confused about the difference between its own
position within the canvas and that of the scroll group. This commit introduces
a per-Item flag, _scroll_translation, which is true by default. If false, the
item will not have coordinates translated to reflect scroll group position.
2022-01-20 09:45:47 -07:00
Paul Davis
95edfbac4a triggerbox: change FollowActions into an object with a target list
Should be no functional changes in this commit, but older sessions will likely not
load.
2022-01-19 15:50:55 -07:00
Robin Gareus
62a098811c
Allow DnDTreeView drag w/o object reference 2022-01-19 17:13:51 +01:00
Paul Davis
dbefba9904 temporal: have tempo map expose it's separate (intrusive) lists of tempo, meter and bbt points 2022-01-18 19:47:20 -07:00
Robin Gareus
4ec70bbaec
Source::natural_position API uses samplepos_t 2022-01-19 03:01:09 +01:00
Ben Loftis
267229c03c ArdourCanvas::Arc (i.e. Circle) should allow for child items to be drawn 2022-01-18 16:42:00 -06:00
Ben Loftis
9be853d555 triggerbox: initialize the follow_count value as well as barcnt 2022-01-18 16:33:45 -06:00
Ben Loftis
6cdeed8945 triggerbox: first draft: allow gui access to audio-segment meter and barcnt 2022-01-17 18:04:43 -06:00
Robin Gareus
e0f6ef4369
Always use a sidechain input to control triggers
This allows MIDI trigger tacks to distinguish between music-data
and control-data.
2022-01-17 05:03:18 +01:00
Paul Davis
bf9ef3abd3 add comment 2022-01-16 20:34:24 -07:00
Robin Gareus
7e37ae4b17
Do not add TriggerBox Processor to Auditioner 2022-01-17 04:31:25 +01:00
Ben Loftis
3e0bb03363 triggerbox: defensive coding changes 2022-01-16 10:57:07 -06:00
Ben Loftis
869a862c86 triggerbox: use_follow_length should be an explicit property
this allows you to enable/disable the follow-length without starting from 0 every time
2022-01-16 10:57:01 -06:00
Paul Davis
9ee4c14bce generic MIDI: extend menu options to drop ALL MIDI bindings, not just a binding map 2022-01-15 13:15:38 -07:00
Robin Gareus
cb640c7e9c
NO-OP: clang-format (and some manual re-indent) 2022-01-15 04:46:58 +01:00
Robin Gareus
21c22cc850
Add API to render a Icon with a text caption 2022-01-15 04:46:55 +01:00
Paul Davis
f339c0b5f9 triggerbox: remove "use follow action" as an explicit property of a trigger 2022-01-14 17:39:27 -07:00
Robin Gareus
670e1f9025
NO-OP: clarify variable name (1/2) 2022-01-15 00:06:26 +01:00
Robin Gareus
76facc0b13
Unconditionally create Triggerbox for each Track
This addresses and issue when loading old sessions or creating
tracks from [old] templates.
2022-01-14 22:46:50 +01:00
Robin Gareus
0c4769cb3f
Fix compilation when including polarity_processor.h directly 2022-01-14 22:46:50 +01:00
Paul Davis
de9322e0d3 triggerbox: cleanup some DEBUG_TRACE statements and convert some debug output to trace statements 2022-01-14 14:39:16 -07:00
Paul Davis
6a6a42c272 triggerbox: another important tweak for trigger behavior
This fixes another code point where we realize that there is nothing to do
within a triggerbox, but we failed to reset _stop_all to false, causing
misbehavior until the next trigger plays to completion with no subsequent
trigger.
2022-01-14 14:37:53 -07:00
Paul Davis
8e9c4f6a67 triggerbox: fixes to get follow length to do what is intended to do
Hard to explain more concisely than the code changes, so please read.
2022-01-14 14:36:38 -07:00
Paul Davis
787a66815d triggerbox: fix initialization warning 2022-01-14 14:35:51 -07:00
Paul Davis
9ccaab5deb working segment descriptor save/restore/set/fetch and use by triggerbox 2022-01-14 12:22:34 -07:00
Paul Davis
6d2a124f5e triggerbox: fix newline in debug trace output 2022-01-14 12:21:56 -07:00
Ben Loftis
de324b54b9 triggerbox: disambiguate esteimated_tempo from the actual segment_tempo 2022-01-13 23:19:01 -06:00
Paul Davis
c159614902 restore source segment descriptors 2022-01-13 17:41:15 -07:00
Paul Davis
b9a798ebb8 add XMLNode constructor for SegmentDescriptor 2022-01-13 17:38:40 -07:00
Paul Davis
680a27c29d store source segment descriptors 2022-01-13 17:29:33 -07:00
Paul Davis
e00779c57d SegmentDescriptor::get_state() can be const 2022-01-13 17:29:16 -07:00
Paul Davis
154f406256 segment descriptor: restore state 2022-01-13 17:25:42 -07:00
Paul Davis
bb75b03724 segment descriptor: save state 2022-01-13 16:51:55 -07:00
Paul Davis
cf10808640 change Source segment descriptor API (and triggerbox use of it) 2022-01-13 16:00:03 -07:00
Paul Davis
d85607bfc7 teiggerbox: fix signedness warning with cast 2022-01-13 15:59:23 -07:00
Paul Davis
2570b43ab6 triggerbox: try to get tempo from segment descriptor, and add Meter member var 2022-01-13 15:48:44 -07:00
Paul Davis
1994935550 source HAS-SOME SegmentDescriptors 2022-01-13 15:07:21 -07:00