13
0
Commit Graph

34145 Commits

Author SHA1 Message Date
27ba2c7ea6
Cleanup and clang-format source 2021-12-17 15:30:14 +01:00
6e3ed7f822
Clean up trigger-page layout
* move strip name-button to the top
* only manage() Gtk Widgets, not Canvas Items
* use identical layout for Cue and Strip
2021-12-17 14:51:19 +01:00
cf41055f7c
Disambiguate another Rect (fixes macOS builds)
/usr/include/MacTypes.h:550:41: note: candidate found by name lookup is 'Rect'
libs/canvas/canvas/canvas.h:57:8: note: candidate found by name lookup is 'ArdourCanvas::Rect'
2021-12-17 12:07:45 +01:00
b4c98f10e8 tweak towards getting handling of trigger_display in MixerStrip correct 2021-12-16 22:52:56 -07:00
d59a1944fe
Tweak trigger/clip media browser layout 2021-12-17 03:57:17 +01:00
50b5ba51bf Revert "fix initial (and only) ::show() calls for triggerbox and trigger master widgets"
This was wrong. Busses do not have triggerboxen (at this time).

This reverts commit 8ebf91ae14.
2021-12-16 18:59:48 -07:00
8ebf91ae14 fix initial (and only) ::show() calls for triggerbox and trigger master widgets 2021-12-16 18:55:40 -07:00
4c8559ecdf fix redisplay/reset of triggerbox ui as part of set_route() 2021-12-16 18:55:05 -07:00
de6178093e allow FittedCanvasWidget to have it's root first child replaced 2021-12-16 18:54:32 -07:00
5ad5603f1e
Unset CueMaster session-handle on session close 2021-12-17 00:42:07 +01:00
e3be6836ca
Trigger-clip-picker audition 2021-12-17 00:42:06 +01:00
95aad0dc15
Disambiguate Rect(angle) -- fixes Windows and macOS builds 2021-12-17 00:42:06 +01:00
8193d579de trigger master widget visibility now also visibility group controlled 2021-12-16 15:53:49 -07:00
81ebe47fdd triggerbox: some initial fixups for always-there trigger display 2021-12-16 15:45:46 -07:00
6a0b720d8f convert trigger display into a permanent, VisibilityGroup-controlled element of MixerStrip
Likely to be soem SNAFUs to find
2021-12-16 15:30:25 -07:00
d933af6c81 attach triggerbox to triggerbox widget after construction 2021-12-16 15:15:14 -07:00
1e09a12642 remove TriggerBoxWindow API (not used) 2021-12-16 15:09:20 -07:00
9fd0b20b2a
Towards a proper media/clip-browser 2021-12-16 19:08:04 +01:00
6b6ae5dedb
Fix file-extension check
If the extension is not found, string::rfind() returns -1,
That can still match unrelated file if the file-name is one
char longer than an arbitrary extension.

eg. "foo" matched ".aiff" because
-1 = strlen("foo") - strlen(".aiff")

Also due to a missing comma ".VOC.vwe" matched any file shorter
than 7 chars in length.
2021-12-16 19:08:03 +01:00
9f7114f761
Add dir names for media-folder 2021-12-16 19:08:03 +01:00
ddc03bbc5e
Bundle some media-files 2021-12-16 19:08:03 +01:00
21ed6a2626 add Config variable for trigger enable 2021-12-16 10:39:43 -07:00
f7792cb425 triggerbox: fix typo that caused crash when handling unstretched audio 2021-12-16 10:39:43 -07:00
39d9c39452 remove redundant double-add of "solo-selection" to session-sensitive-actions 2021-12-16 10:39:43 -07:00
f4009e0e09 triggerbox: display pass_thru state and allow control via context menu 2021-12-16 10:53:30 -06:00
ce40f82cc4 triggerbox: add TriggerMaster widget to mixer strip 2021-12-16 10:40:16 -06:00
899c217511 triggerbox: fix passthru handling and default to off 2021-12-16 09:31:12 -07:00
9593cb97d1 triggerbox gui: replace stop-button with Loopster progress-indicator 2021-12-16 08:15:29 -06:00
f8432d0647 Triggerbox: these properties will not be stored in Region (reverts 3918ee) 2021-12-16 08:15:29 -06:00
fc0dfd5d38
Wreturn-type, fixes unconfigured processors 2021-12-16 14:47:10 +01:00
1bf8f9bd0e
Remove 'l', 'i', 'b', 'p', 't', 'f', 'o', 'r', 'm', 'a', 't'
This fixes obj.use += 'libptformat' vs. obj.use += [ 'libptformat' ]
however the latter is already added unconditionally.
2021-12-16 04:09:25 +01:00
07d5b16e6f more missing files 2021-12-15 20:48:10 -06:00
1812769f84 add missing files 2021-12-15 19:27:43 -06:00
8a58155dcf triggerbox: use Session::import_files() to load from file
This uses the SRC infrastructure set up for normal imports, which
is desirable.
2021-12-15 18:19:20 -07:00
02eb39325f triggerbox: fix channel handling for audio
We do not modify the audio I/O of the parent route, and process
at most std::min (route_inputs,region_channels).
2021-12-15 18:19:20 -07:00
a15397f746 triggerbox: new trigger_property widgets, because trigger data != a region 2021-12-15 18:08:22 -06:00
2e48fbc8cb fix shutdown crash 2021-12-15 18:08:22 -06:00
382f73fa51 triggerbox: use stretching() internally but change property name to stretchable (libardour) 2021-12-15 18:08:22 -06:00
4b26ce3f5f remove assert(video_timeline)
The idle visual changer can run after the video timeline has been deleted, and this
is not an error.
2021-12-15 16:09:28 -07:00
7ade2099ce move point of deletion of video timeline
The "ask about deletion" dialog will run a recursive main loop
which will call idle handlers, which could call the visual change
handler if the playhead is rolling. VTL is assumed to stoll
exist when this is called
2021-12-15 15:52:15 -07:00
40c1a7016a triggerbox: NOOP - add explanatory comment 2021-12-15 15:39:28 -07:00
ca7b418281 triggerbox: NOOP - commented out extra debugging info 2021-12-15 14:58:24 -07:00
1ecdc5c515 triggerbox: try to avoid tempo that results in fractional bar cnts
If minibpm's estimate of tempo implies that the clip has a duration measured in
fractional bars, use the estimate as a starting point to get to a tempo that
will lead to an integer number of bars (and quarters)
2021-12-15 14:58:03 -07:00
ed6121d76e triggerbox: continued work on Repeat trigger mode 2021-12-15 12:26:46 -07:00
8b1f7a696d triggerbox: TriggerMaster widget: better loop-progress indication 2021-12-15 12:27:56 -06:00
2688c02e0e triggerbox: do not use follow action if Trigger::_use_follow is not set 2021-12-15 11:19:36 -07:00
347a17cdb2 triggerbox: telling a Toggle/Gate/Repeat launch mode slots to not use a follow action when stopped 2021-12-15 11:03:53 -07:00
abf0eecca3 triggerbox: cont'd work on TriggerMaster widget 2021-12-15 11:45:17 -06:00
ab03e09a79 triggerbox: publish the loop_cnt for the gui 2021-12-15 11:43:48 -06:00
71f7f7a09b triggerbox: add stretching property, virtualize computation of expected end sample, maybe fix position_as_fraction() 2021-12-15 10:21:28 -07:00