Commit graph

34604 commits

Author SHA1 Message Date
Paul Davis
c916d3d952 Substantial overhaul of tempo display code
Major changes: do not delete and recreate markers and curves for every tempo map
change, attach tempo curves directly to their (preceding) tempo marker, notable
cleanup of TempoCurve class to remove unnecessary members.

More tweaks expected since algorithm for matching markers and tempo map
points is not correct yet.
2022-01-18 19:47:20 -07: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
ddd5b26686 trigger_ui: pixel-pushing: remove drop-shadows and try circles for Cues 2022-01-18 16:42:10 -06: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
2147ec6da7 trigger_ui: hide midi clip properties (pgm, ccs) until implemented 2022-01-18 16:33:45 -06:00
Ben Loftis
2501d3534a trigger_ui: rename user-visible text 'One Shot' to 'Trigger' to match convention
it is probably  best to leave the enum=OneShot to disambiguate from Trigger classes
2022-01-18 16:33:45 -06:00
Ben Loftis
e6bb88178c trigger_ui: (de)sensitize more stretch and follow options 2022-01-18 16:33:39 -06:00
Robin Gareus
945849cfb5
TriggerPage: show newly created tracks
The default argument changed, see 76facc0b13 and 670e1f9025
2022-01-18 16:01:42 +01:00
Ben Loftis
0eb44c3be9 trigger_ui: cancel audition when you drag+drop a clip so you can play with it 2022-01-17 19:47:49 -06:00
Ben Loftis
c6a3c54907 trigger_ui: tweaks to Stretch properties box 2022-01-17 19:02:11 -06:00
Ben Loftis
251263828b trigger_ui: gui for barcnt and meter (AudioTriggers only) 2022-01-17 19:02:06 -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
Ben Loftis
8e96dd40ed Tweak layout of Slot properties area 2022-01-17 18:04:43 -06:00
Ben Loftis
8595348db0 Remove unused property-editor widgets (for now). Resolves some SessionHandleRef shutdown errors 2022-01-17 18:04:43 -06:00
Ben Loftis
2f0e8e4cd7 Remove unused region-property-editor widgets, for now 2022-01-17 18:04:43 -06:00
Robin Gareus
fef4c2aba0
NO-OP: fix indent 2022-01-17 22:07:35 +01:00
Robin Gareus
213cc626be
Add sidebar to trigger-page 2022-01-17 22:06:48 +01:00
Robin Gareus
3e59902573
Yet another media-clip bundle fix 2022-01-17 20:38:40 +01:00
Robin Gareus
2d46d9a882
Fix bundling media content for macOS (again) 2022-01-17 20:26:24 +01:00
Robin Gareus
7e36daecd6
Fix bundling media content 2022-01-17 20:04:52 +01:00
Robin Gareus
0481b10d97
Bundle Mixbus Media 2022-01-17 19:50:34 +01:00
Robin Gareus
20824b6407
Fix bundling demo sessions (mac, win) 2022-01-17 19:50:06 +01: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
378ad277bd typo fix 2022-01-16 17:15:46 -06:00
Ben Loftis
14787059c2 trigger_ui: move gain spinbox to selected-trigger header row 2022-01-16 16:56:59 -06:00
Ben Loftis
f0951e86cc trigger_ui: fix copy+paste thinko 2022-01-16 16:04:31 -06:00
Ben Loftis
c888cdf5e5 trigger_ui: use ardourwidget::frame for themeing 2022-01-16 16:04:12 -06:00
Ben Loftis
6862d52d87 trigger_ui: use_follow_length property, plus some defensive coding changes 2022-01-16 11:19:31 -06: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
a6727cace5 use new editor/tempo map editing API for tempo marker drag 2022-01-15 22:53:58 -07:00
Paul Davis
4db7aa6bdc add Editor API to manage tempo map edits (at least, drags) 2022-01-15 22:53:36 -07:00
Paul Davis
7ea072a4f4 editor markers: refactor ::reassociate_metric_marks() to be able to process one marker at a time 2022-01-15 20:04:03 -07: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
60f8cfb841
Add capttion to Trigger Page "+" icon 2022-01-15 04:46:58 +01: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
203017e2d5 triggerbox: remove "use follow action" as an explicit property of a trigger (GUI edition, partial) 2022-01-14 17:39:27 -07: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
de355155ed
NO-OP: clarify variable name (2/2) 2022-01-15 00:06:38 +01:00
Robin Gareus
670e1f9025
NO-OP: clarify variable name (1/2) 2022-01-15 00:06:26 +01:00
Robin Gareus
f2a4ec3776
Only ImportAsTrigger shows the track on the TriggerPage 2022-01-14 22:46:51 +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