Ben Loftis
2a6da0113f
MIDI Draw: Provide a menu to explicitly select note-length
...
ToDo: 3,5,7's? keyboard shortcuts?
2021-11-18 07:35:13 -06:00
Paul Davis
c24cabead0
GUI changes to follow TempoMap::sample_at() API changes
2021-11-17 15:57:30 -07:00
Paul Davis
fd5594f831
use Editor::reassociate_metric_markers() before performing edits on tempo map
...
The objects referenced by markers point to the copy of the map held by the per-thread ptr. But
the edits must be done on a writable copy of the map. ::reassociate_metric_markers() fixes
the references to use the writable copy, so that when we pass references to the objects in the map
to the writable copy, it will find them and modify them (rather then ones in the previous
generation of the tempo map)
2021-11-17 12:16:39 -07:00
Paul Davis
18e851cd73
catch too-early use of PublicEditor::instance()
2021-11-17 12:16:39 -07:00
Paul Davis
710c5b9b78
do not use PublicEditor::instance() in MainClock, since these obejcts can exist before the editor
...
The AudioEngine on the other hand is created in the global libardour init method, so use that instead
2021-11-17 12:16:39 -07:00
Paul Davis
f0cd3b5c0c
editor: when the tempo map changes, update the per-thread pointer
...
TempoMap::use() merely returns the current per-thread tempo map
pointer; if a change is signalled, we should force an update
of the per-thread ptr via TempoMap::fetch()
2021-11-17 12:16:38 -07:00
Paul Davis
dd4e495d90
audioclock: use correct call for "right now" tempo display
2021-11-17 12:16:38 -07:00
Paul Davis
2735022357
audio_clock: fix uninitalized variable
2021-11-17 12:16:38 -07:00
Ben Loftis
f6adf9c897
MIDI Import: gtk part
2021-11-14 08:21:00 -06:00
Ben Loftis
4c472ca1c5
TriggerSlot: Remove Queued menu-item (for now)
2021-11-13 15:54:11 -06:00
Paul Davis
85fc3d5629
add missing file
2021-11-10 21:16:27 -07:00
Paul Davis
4f58a92c6d
show trigger/slot selection
2021-11-10 17:51:04 -07:00
Paul Davis
a9949f20e6
basic architecture for Trigger selection
...
This is all done in the GUI, using GUI objects. THe primary goal
here is to allow actions to be applied to selected triggers, so
there's no real need for a trigger aspect to libardour (core)
selection.
2021-11-10 16:37:15 -07:00
Paul Davis
0d96753364
remove unused variable
2021-11-10 11:55:20 -07:00
Paul Davis
605daf23f2
add default bindings for note shortening
2021-11-06 10:21:31 -06:00
Paul Davis
8cfdd0ca5b
add actions to provide access to note-shortening
2021-11-06 09:49:39 -06:00
Paul Davis
7fca55eeb5
Fix placement of drawn MIDI notes.
...
Important logic from 6.9 was either missing or incorrectly implemented. New
version is much simpler - we just use the RoundDownMaybe mode of round_to_bbt()
to ensure that the note start is always within the current grid even if the
mouse is more than halfway "through" it.
2021-11-04 18:27:02 -06:00
Paul Davis
2d9eb6ec81
Fix error in drawing length of ghost MIDI notes in note drawing mode
2021-11-04 18:25:45 -06:00
Paul Davis
efdd3e86c3
remove unused variable
2021-11-04 13:59:43 -06:00
Paul Davis
af2af29c95
remove Kiwi constraint-based packing code from canvas library and users (GUI version)
2021-11-04 11:25:56 -06:00
Paul Davis
0c5d41039a
more scene triggering actions
2021-11-03 18:44:31 -06:00
Paul Davis
aba0de91f8
add missing file
2021-11-01 13:40:23 -06:00
Paul Davis
b7ce131557
triggerboxUI: skeleton for triggerbox bindings and actions, include triggering of scene 1
2021-11-01 12:11:57 -06:00
BrunoVernay
e16ac4b036
Typo in comment: paramater
2021-10-30 23:02:35 +02:00
Paul Davis
65f85dfdfe
triggerboxUI: GUI elements to load slots from selected regions
2021-10-24 09:25:49 -06:00
Paul Davis
28d8ad1ede
triggerbox UI: no need for a render method
2021-10-19 19:08:52 -06:00
Paul Davis
9ed9544f87
triggerbox UI: indicate clip playing status with full-height, shaded fill color
2021-10-19 14:41:05 -06:00
Paul Davis
ed823defe0
triggerbox_UI: mark text for size-allocate-based resizing
2021-10-19 10:55:10 -06:00
Paul Davis
d129a64890
when GUI scale changes, drop Canvas::Text font size maps
2021-10-19 10:54:51 -06:00
Paul Davis
ccc1fd8a2d
remove some debug output
2021-10-17 21:18:06 -06:00
Paul Davis
291adf11cd
triggerbox UI: add two more quantization settings
2021-10-17 17:58:48 -06:00
Paul Davis
ae83d8121d
triggerbox UI: size_allocate() for trigger name text
2021-10-17 17:58:34 -06:00
Paul Davis
82ba897be6
triggerbox UI: some color work
2021-10-17 17:58:08 -06:00
Paul Davis
9d49efdc8c
triggerbox ui: use radio menu elements not check elements
2021-10-17 10:49:15 -06:00
Paul Davis
a30148b2a1
triggerboxUI: showing trigger box UI is global now; move load op to context menu; handle multiple selection
2021-10-11 17:58:51 -06:00
Paul Davis
9e763c2672
remove all dangling event-loop-precall code
2021-10-11 17:48:53 -06:00
Paul Davis
c0720c7a4c
don't show standalone triggerbox window after adding tracks with a triggerbox
2021-10-10 13:53:45 -06:00
Paul Davis
cf8f0b4702
triggerbox: respond to changes in default trigger input port (GUI)
2021-10-09 16:59:07 -06:00
Paul Davis
af02413aef
derive TriggerPortSelectionOption for trigger default input port preference (incomplete)
2021-10-08 17:04:07 -06:00
Paul Davis
e677863424
refactor LTC port option element to make it re-usable
2021-10-08 16:34:08 -06:00
Paul Davis
9ca287dbdb
triggerboxUI: hide/show trigger play/stop buttons when entering/leaving trigger (logic-y experiment
2021-10-08 13:45:27 -06:00
Paul Davis
305c9ba6e9
triggerboxGUI: use new API and tweak add route dialog to allow choice to add triggerbox
2021-10-08 13:45:27 -06:00
Paul Davis
97f323137c
triggerbox: initial (incorrect) attempt at handling tempo map changes
2021-10-07 08:03:46 -06:00
Paul Davis
3ddfdbc790
triggerboxUI: start adding per-slot event handling
2021-10-07 07:57:47 -06:00
Paul Davis
6daf0f0451
triggerbox UI: fix usual ambiguity on macOS etc. when using "Rect"
2021-10-07 07:48:07 -06:00
Robin Gareus
05df62ed79
Amend fdf1c1aba2, don't unconditionally show plugin-manager
2021-10-07 03:47:00 +02:00
Robin Gareus
fdf1c1aba2
Show plugin-manager when missing plugins are found
2021-10-07 03:10:48 +02:00
Paul Davis
28784a0da7
triggerboxUI: change progress display to partial width, thin horizontal line
2021-10-06 15:21:44 -06:00
Paul Davis
0bace97916
triggerboxUI: shrink font size
2021-10-06 15:21:44 -06:00
Paul Davis
248d7e5980
prevent trim-dragging that doesn't change region duration from incorrectly resetting fades
2021-10-05 10:43:24 -06:00