13
0
Commit Graph

34390 Commits

Author SHA1 Message Date
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
7f2b09085e triggerbox UI: fix uninitialized member variable 2022-01-13 13:29:22 -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
521beab486
Fix missing color 2022-01-13 00:11:41 +01:00
a970ddbaa5
Trigger clip picker: cleanup c'tor (sensitivity) 2022-01-13 00:10:58 +01:00
3c9e5279ab
Add example meta-data file 2022-01-13 00:10:54 +01:00
78d15aa153
Trigger clip picker: add support for media meta data 2022-01-13 00:10:45 +01:00
beb0a96f42
API to directly retrieve XML child content 2022-01-13 00:09:55 +01:00
a9d2a1c3f8 triggerbox: reset default _follow_Length to zero 2022-01-12 14:17:33 -07:00
2ed4af0c7a triggerbox: continued work on getting MIDITriggers to use _follow_length correctly 2022-01-12 14:12:20 -07:00
f0843e3cd9 trigger_ui: stretch_mode selector (gtk part) 2022-01-11 16:27:44 -06:00
ac97b30e55 triggerbox: implement stretch options, save+recall 2022-01-11 16:27:03 -06:00
1cc470264f
NO-OP: clang format 2022-01-11 22:12:04 +01:00
4eb6a2f195
TriggerBox: draw DnD icon 2022-01-11 22:12:02 +01:00
5e3c49f397
TriggerBox: DnD, better version of 8b90ea39a22cl
Move start-drag logic into individual TriggerEntry instances.
This allows to use local data in drag_data_get as-is.
2022-01-11 22:11:57 +01:00
4d04849be9 triggerbox: continuing work on follow action length, particuarly for MIDI triggers 2022-01-11 11:48:22 -07:00
66290bfffc trigger_ui: remove fade in+out buttons; we will not be using them 2022-01-11 12:41:08 -06:00
2f9b896f06 trigger picker: tweak layout and behaviors ... more ArdourButton-y 2022-01-11 12:26:14 -06:00
5f0839141b trigger_ui: refactor property_boxen to subclasses of TriggerUI 2022-01-11 10:51:24 -06:00
7ddecb91e0 trigger_ui: Fix crash when selecting a midi trigger 2022-01-11 10:41:32 -06:00
3b9fb818e8 trigger_ui: remove update timer, and consolidate set_widget_colors() code 2022-01-11 10:13:06 -06:00
07738e815b trigger_ui: better connection management: watch both the Trigger and the Box 2022-01-11 10:09:47 -06:00
192d513cba
NO-OP: clang-format 2022-01-11 13:52:02 +01:00
8b90ea39a2
TriggerBox: implement basic TriggerSlot DnD 2022-01-11 05:21:52 +01:00
96137739a7
Reduce includes required for Selection
Previously a triggerbox_ui.h change triggered a complete UI
rebuild. This follows the concept of other editor_selection
lists which use forward declarations.
2022-01-11 05:21:51 +01:00
1661f6479f
TriggerBox: allow to receive Regions by ID via DnD 2022-01-11 05:21:51 +01:00
1db6e9edca trigger_ui: add spinner for clip gain 2022-01-10 19:33:30 -06:00
7fdc83bfbf triggerbox: disambiguate velocity_gain from the trigger's gain property 2022-01-10 19:33:05 -06:00
589c92e2c6 trigger_ui: fix copy+paste thinko 2022-01-10 19:30:17 -06:00
d0ec37e223 trigger_ui: implement follow_length widget, WIP, crashy 2022-01-10 18:25:01 -06:00
a48d9a31bc
Trigger clip picker: allow auto-audition on selection 2022-01-11 00:56:33 +01:00
806f62ffe6
Allow import via DnD to Source list (not region list) 2022-01-11 00:56:32 +01:00
04bc44c7ad triggerbox: fix typo 2022-01-10 15:51:12 -07:00
e0004791f0 triggerbox: fix audio clips when _follow_length is zero 2022-01-10 15:49:07 -07:00
0c89ab82e1 triggerbox: tweaks, twirls and scrapes to get _follow_length working, apparently 2022-01-10 14:03:06 -07:00
cb83d11681 triggerbox: add new trigger state enum to enums.cc 2022-01-10 14:02:38 -07:00
dbb816b1f9 triggerbox: add "final sample" concept to start dealing with post-data playout 2022-01-10 14:02:38 -07:00
1afc0ce69c triggerbox: add follow length property to triggers (not used yet) 2022-01-10 14:02:33 -07:00
2342caae46
Push a few more nutempo DnD warning macros 2022-01-10 21:48:11 +01:00
fa7e7a462c
Work-around/Fix DnD from sidebar to editor-canvas
Editor::drop_regions() creates a new RegionInsertDrag()
with the region to drop to the timeline.

RegionInsertDrag is-a RegionMotionDrag is-a RegionDrag is-a Drag.
However the region does not yet exist on the timeline and
RegionView is NULL.

This will likely need an API change. e.g.
Directly pass the TimeDomain as argument. The information can
be provided by the region, or from the TimeAxisView or RouteUI
when dropping a new source/region.
2022-01-10 21:36:17 +01:00
056189c76c
Clean up DnD, use MIME-types
This is in preparation for allowing to drag trigger-regions
or trigger-slots. Those will not use a static singleton
PublicEditor API.

Additionally this constrains Ardour-internal drags to Ardour
(via Gtk::TARGET_SAME_APP).
2022-01-10 21:29:29 +01:00
1078dc7eda
DnD-TV: Allow to specify TargetFlags 2022-01-10 20:40:46 +01:00