fde1b3d27e
Highlight Drop Trigger Slot
2021-12-14 03:10:03 +01:00
5f810843bb
triggerbox: only require a MIDI output if the data type is MIDI
...
This was a thinko that occured when I added the sidechain for audio tracks to handle
trigger input
2021-12-13 16:50:31 -07:00
0fcc873ec5
correctly hide/show/position triggerbox in route processors
2021-12-13 16:24:13 -07:00
2a9ab18f7b
triggerbox: not visible by default in processor box
2021-12-13 15:27:58 -07:00
237dfb53e7
remove add trigger check box from add route dialog (always use triggers)
2021-12-13 15:12:36 -07:00
087bdaa87b
triggerbox: remove static signal added in dd842fdc5c
...
Bad design idea. Signal would be emitted from the triggerbox thread, and cannot
return a value from the GUI. Would also be problematic for clip loading
initiated from a control surface
2021-12-13 15:12:36 -07:00
5e38da36c6
Allow to drop file into dedicated Triggerbox slot
2021-12-13 23:05:03 +01:00
4f89834e7b
Remove comments that clash with git merge markers
2021-12-13 22:51:42 +01:00
28410ebb9a
Triggerbox accept file DnD
2021-12-13 22:51:16 +01:00
4720a45868
Make convert_drop_to_paths() reusable
2021-12-13 22:50:13 +01:00
a9e1a8a885
fix compilation on macOS (usual conflicts over "Rect" typename)
2021-12-13 12:02:57 -07:00
a0db260daa
audio clip editor: hide ruler if we do not know the tempo, since we can't draw it under such circumstances
2021-12-13 09:21:06 -07:00
dd842fdc5c
triggerbox: add static signal to let the GUI do something when we cannot determine tempo
2021-12-13 09:20:32 -07:00
3e5606415f
Trigger Cues: implement Stop button (gtk part)
2021-12-13 07:27:16 -06:00
e7569eabe7
Trigger Cues: implement master Stop button (libardour part)
2021-12-13 07:26:47 -06:00
c862b604e1
TriggerBox: change highlight behavior and experiment with black borders
2021-12-13 07:02:51 -06:00
f5049cda74
audio clip editor: restore ruler removed during merge conflict resolution; incrementally improve its behavior
2021-12-12 22:49:29 -07:00
9d4a1f080d
triggers: return a segment descriptor
2021-12-12 11:20:58 -07:00
483bdd99cc
libardour: new SegmentDescriptor type added (but not used)
2021-12-12 10:55:05 -07:00
e5d40e86e7
Do not dynamically allocate persistent widgets
2021-12-12 14:34:14 +01:00
be7882d7a7
Skeleton for trigger clip file dialog
2021-12-12 14:25:49 +01:00
8bb0e18f3f
Fix merge-conflict and clang-format in previous commit
2021-12-12 14:01:46 +01:00
efed7343e0
NO-OP: clang-format, cleanup
2021-12-12 13:48:52 +01:00
96e1735646
triggerbox: add heuristic to extract bpm from filename
...
If found, we do not do analysis of the audio data
2021-12-11 21:05:32 -07:00
c233609c7c
audio clip editor: add an incomplete ruler to the display
2021-12-11 21:05:32 -07:00
3753d97599
Add Lua binding for Temporal::TempoMap::write_copy
2021-12-11 18:30:29 +01:00
2003ca7b5f
Add Lua script snippet to query/modify tempo-map
2021-12-11 17:44:43 +01:00
ce15b6ed66
Cont'd work on TempoMap Lua bindings
2021-12-11 17:43:12 +01:00
3b18b025e3
Fix Lua TempoMap bindings
...
* Resolve ambiguity between typef'ed ARDOUR::timepos_t and
Temporal::timepos_t (and timecnt_t, superclock_t)
* Add missing classes TempoPoint, MeterPoint, which are
return value for various TempoMap methods.
* Change TempoMap into a shared_ptr<> class.
* Move Tempo and Meter out of ARDOUR into Temporal namespace.
* add various bindings to access the TempoMap
* move Temporal enums out of ARDOUR::Temporal namespace
2021-12-11 16:49:28 +01:00
208010ff18
Fix Wreorder
2021-12-11 15:51:46 +01:00
3c03e4951e
Use updated temporal API 2/2
2021-12-11 15:51:31 +01:00
60be0c27a1
Use updated temporal API 1/2
2021-12-11 14:42:36 +01:00
506bc3a6f6
Disambiguate zero(bool)
constructor and is_zero()
comparison
...
This is mainly for the benefit of Lua bindings, but also increases
overall API naming consistency with functions and methods
`is_XYZ()` being used elsewhere.
This API change breaks builds!
2021-12-11 14:33:45 +01:00
6f91dc0799
canvas: fix an issue with event coordinate translation by ScrollGroup
...
If there's a grabbed item (GtkCanvas only at present) then unless it belongs to the scroll
group used for scroll offset translation, the event coordinates should not be translated,
even if the mouse pointer moves into the scroll group.
2021-12-10 18:17:58 -07:00
3efd26e864
audio clip editor: actual scrolling with the scroll bar
...
Some issues remain to be solved, related to scroll groups and coordinate offsets
2021-12-10 17:56:10 -07:00
e61c493fa5
audio clip editor: not-quite-working scrollbar
...
Something about Canvas::ScrollGroup::scroll_to() is not working quite
as expected ... to be determined
2021-12-10 17:16:47 -07:00
08e50934c9
canvas: add scroll offset info to Item::dump()
2021-12-10 17:16:10 -07:00
0e9eef46a0
audio clip editor: lines belong to scroll group
2021-12-10 16:06:39 -07:00
cb2b78bb41
audio clip editor: add scroll bar handle
2021-12-10 16:04:47 -07:00
02026c98ff
basic skeleton for clip editor bindings
2021-12-10 15:15:56 -07:00
ef07d47bf8
audio clip editor: use scroll group for waves container
2021-12-10 15:15:16 -07:00
82f2392d85
fix binding for "bar" key in step editing bindings
...
It is not possible to generate "bar" without the shift modifier on most (all?)
keyboards. The same condition exists for the _ key in the main bindings
2021-12-10 13:20:20 -07:00
e3cac796b3
audio clip editor: primitive (left-focus) zoom
2021-12-10 12:50:44 -07:00
5b4dd8dcf4
audio clip editor: basics of line dragging
2021-12-10 11:59:19 -07:00
eac0f28642
audio clip editor: change line widths and fix frame color
2021-12-10 11:07:51 -07:00
56835d342c
audio clip editor: basic line drawing
2021-12-10 09:47:56 -07:00
3bbe54f07a
audio clip editor: draw entire source file(s), not just region
2021-12-10 08:54:38 -07:00
5ada2b7ce1
audio clip editor: draw waveforms (not sized horizonally appropriately yet)
2021-12-09 21:44:23 -07:00
fbfbdbe266
include size request for audio clip editor
2021-12-09 21:21:05 -07:00
757debb711
start putting some relevant elements into the AudioClipEditor
2021-12-09 21:12:47 -07:00