13
0
Commit Graph

33974 Commits

Author SHA1 Message Date
afd8554b43 triggerbox: waking up the triggerbox thread has nothing to do with RT, so remove comment etc. 2021-12-18 09:33:51 -07:00
4d980bee6a triggerbox: catch file-name-based incorrect types when loading into slots 2021-12-18 09:31:44 -07:00
16dfb410bc triggerbox: catch failure to load files 2021-12-18 08:29:48 -07:00
8e3e3ea01f triggerbox: fix load-from-file for MIDI 2021-12-18 08:29:48 -07:00
4852ebc49a
Update Lua script to new request_transport_speed() API 2021-12-18 15:36:40 +01:00
d28422d420 MIDI import: load MIDI model after writing/copying MIDI to a new file
Fixes problem with edits to newly imported MIDI not changing what is played back, because
there was no model to connect the region/playlist to, and thus no notifications about
the changes to the model were sent
2021-12-17 19:24:12 -07:00
2111cfe557 triggerbox: allow set_region_threaded() to "unset" the region 2021-12-17 19:24:12 -07:00
c6e141aaba triggerbox: avoid float/double warning 2021-12-17 19:24:12 -07:00
9f957f8220 triggerbox: change type of _follow_count property to avoid signed/unsigned warnings 2021-12-17 19:24:12 -07:00
95355f943f triggerbox: start encapsulating audio trigger data object
The goal will be to be able to swap out the data, atomically, when stopped
2021-12-17 19:24:12 -07:00
689c569319 triggerbox: extend debugging info 2021-12-17 19:24:12 -07:00
4432a89704
Cont'd work on trigger-clip picker
* Only enabled auditioning when a file is selected
* Skip hidden folders/files
* Only drag files (not folders)
2021-12-18 01:27:47 +01:00
9d4a40ec61
Clean up c4de76c835
* consolidate redraws on property changes
* use RAII to unwind _ignore_menu_action
* replace comments, always add a space after a comment start
  never a Tab
* clang-format
2021-12-18 00:20:50 +01:00
a908218676
Dynamically create clip-picker file tree, lazy load subfolders 2021-12-18 00:02:32 +01:00
c4de76c835 triggerbox: implement clear_trigger and isolate (gtk part) 2021-12-17 13:12:00 -06:00
f9192decbf triggerbox: workaround for CheckMenuItems that fire the action when we set the display state 2021-12-17 13:09:49 -06:00
243ddae928 triggerbox: implement trigger gain as a save-able property (libardour) 2021-12-17 13:09:49 -06:00
dd7f474125 triggerbox: scene-isolate property for triggers (libardour part) 2021-12-17 13:09:49 -06:00
9aa6e4c89e triggerbox: highlight stop-button (empty triggers) on entry 2021-12-17 13:09:49 -06:00
c734957aaa triggerbox: loop count should be 1-based 2021-12-17 13:00:17 -06:00
d5e13f093f triggerboxui: explicitly disconnect from update/selection signals
sigc::connection is not scoped, so disconnection is not automation
2021-12-17 09:54:43 -07:00
c58a2a5749 video monitor: no need to test sigc::connection for connected() before disconnecting 2021-12-17 09:54:10 -07:00
ec04ab3865
Fix Triggerbox mono to stereo playback 2021-12-17 17:50:50 +01:00
0dad657c89
Amend previous commit 2021-12-17 17:48:27 +01:00
0e930ae5f4
Re-add another explicit sigc::disconnect
Apparently signals are not disconnected when the connection
is destroyed.
2021-12-17 17:28:32 +01:00
8b5711238e
Mysterious fix crash on selection
This was removed in 422ad6656d since disconnecting
sigc::connection in the d'tor is not supposed to be a no-op.
2021-12-17 17:11:48 +01:00
422ad6656d
Re-do source-code cleanup and formatting
Some of this was lost in 26df9ccdf8
This also removes some excess code
2021-12-17 16:53:16 +01:00
49b1eb401d
Yet more code cleaning and formatting 2021-12-17 16:21:33 +01:00
26df9ccdf8 pixel pushing: return of drop-shadows (maybe) 2021-12-17 08:55:30 -06:00
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