90e6107972
triggerbox: left follow action == None means "no follow action at all"
2022-01-20 14:15:45 -07:00
8ddf057553
triggerbox: fix enum (compiler should have noticed this)
2022-01-20 14:15:25 -07:00
b884f7c534
triggerbox: do not use follow length when (left) follow action is None
2022-01-20 14:03:40 -07:00
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
02f4daffe4
fix inconsequential debug-trace garbage value report from clang
2022-01-20 13:40:49 -07:00
ee5d3da929
fix inconsequential (unlikely) memory leak from clang
2022-01-20 13:40:49 -07:00
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
413f2e9d1b
triggerbox: implement (?) JumpTrigger follow action
2022-01-20 11:01:00 -07:00
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
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
62a098811c
Allow DnDTreeView drag w/o object reference
2022-01-19 17:13:51 +01:00
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
4ec70bbaec
Source::natural_position API uses samplepos_t
2022-01-19 03:01:09 +01:00
267229c03c
ArdourCanvas::Arc (i.e. Circle) should allow for child items to be drawn
2022-01-18 16:42:00 -06:00
9be853d555
triggerbox: initialize the follow_count value as well as barcnt
2022-01-18 16:33:45 -06:00
6cdeed8945
triggerbox: first draft: allow gui access to audio-segment meter and barcnt
2022-01-17 18:04:43 -06:00
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
bf9ef3abd3
add comment
2022-01-16 20:34:24 -07:00
7e37ae4b17
Do not add TriggerBox Processor to Auditioner
2022-01-17 04:31:25 +01:00
3e0bb03363
triggerbox: defensive coding changes
2022-01-16 10:57:07 -06:00
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
9ee4c14bce
generic MIDI: extend menu options to drop ALL MIDI bindings, not just a binding map
2022-01-15 13:15:38 -07:00
cb640c7e9c
NO-OP: clang-format (and some manual re-indent)
2022-01-15 04:46:58 +01:00
21c22cc850
Add API to render a Icon with a text caption
2022-01-15 04:46:55 +01:00
f339c0b5f9
triggerbox: remove "use follow action" as an explicit property of a trigger
2022-01-14 17:39:27 -07:00
670e1f9025
NO-OP: clarify variable name (1/2)
2022-01-15 00:06:26 +01:00
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
0c4769cb3f
Fix compilation when including polarity_processor.h directly
2022-01-14 22:46:50 +01:00
de9322e0d3
triggerbox: cleanup some DEBUG_TRACE statements and convert some debug output to trace statements
2022-01-14 14:39:16 -07:00
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
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
787a66815d
triggerbox: fix initialization warning
2022-01-14 14:35:51 -07:00
9ccaab5deb
working segment descriptor save/restore/set/fetch and use by triggerbox
2022-01-14 12:22:34 -07:00
6d2a124f5e
triggerbox: fix newline in debug trace output
2022-01-14 12:21:56 -07:00
de324b54b9
triggerbox: disambiguate esteimated_tempo from the actual segment_tempo
2022-01-13 23:19:01 -06:00
c159614902
restore source segment descriptors
2022-01-13 17:41:15 -07:00
b9a798ebb8
add XMLNode constructor for SegmentDescriptor
2022-01-13 17:38:40 -07:00
680a27c29d
store source segment descriptors
2022-01-13 17:29:33 -07:00
e00779c57d
SegmentDescriptor::get_state() can be const
2022-01-13 17:29:16 -07:00
154f406256
segment descriptor: restore state
2022-01-13 17:25:42 -07:00
bb75b03724
segment descriptor: save state
2022-01-13 16:51:55 -07:00
cf10808640
change Source segment descriptor API (and triggerbox use of it)
2022-01-13 16:00:03 -07:00
d85607bfc7
teiggerbox: fix signedness warning with cast
2022-01-13 15:59:23 -07:00
2570b43ab6
triggerbox: try to get tempo from segment descriptor, and add Meter member var
2022-01-13 15:48:44 -07:00
1994935550
source HAS-SOME SegmentDescriptors
2022-01-13 15:07:21 -07:00
25bd59958c
triggerbox: fix/add save/restore of trigger _follow_length property
2022-01-13 13:30:04 -07:00
d8c90decf3
triggerbox: use follow length when quantizing re-start of Again-selected trigger
...
This also changes the virtual method from ::startup() to ::_startup() so that we can
safely have a default argument in ::startup().
2022-01-13 12:09:23 -07:00
98cd0f1ba3
triggerbox: fix for handling follow lengths, previously for MIDITrigger now for Audio
2022-01-13 12:07:26 -07:00
c3732e12ea
fix handling of zero _follow_length in MIDI triggers
2022-01-12 21:43:40 -07:00
beb0a96f42
API to directly retrieve XML child content
2022-01-13 00:09:55 +01:00