Commit graph

34003 commits

Author SHA1 Message Date
Robin Gareus
8bb0e18f3f
Fix merge-conflict and clang-format in previous commit 2021-12-12 14:01:46 +01:00
Robin Gareus
efed7343e0
NO-OP: clang-format, cleanup 2021-12-12 13:48:52 +01:00
Paul Davis
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
Paul Davis
c233609c7c audio clip editor: add an incomplete ruler to the display 2021-12-11 21:05:32 -07:00
Robin Gareus
3753d97599
Add Lua binding for Temporal::TempoMap::write_copy 2021-12-11 18:30:29 +01:00
Robin Gareus
2003ca7b5f
Add Lua script snippet to query/modify tempo-map 2021-12-11 17:44:43 +01:00
Robin Gareus
ce15b6ed66
Cont'd work on TempoMap Lua bindings 2021-12-11 17:43:12 +01:00
Robin Gareus
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
Robin Gareus
208010ff18
Fix Wreorder 2021-12-11 15:51:46 +01:00
Robin Gareus
3c03e4951e
Use updated temporal API 2/2 2021-12-11 15:51:31 +01:00
Robin Gareus
60be0c27a1
Use updated temporal API 1/2 2021-12-11 14:42:36 +01:00
Robin Gareus
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
08e50934c9 canvas: add scroll offset info to Item::dump() 2021-12-10 17:16:10 -07:00
Paul Davis
0e9eef46a0 audio clip editor: lines belong to scroll group 2021-12-10 16:06:39 -07:00
Paul Davis
cb2b78bb41 audio clip editor: add scroll bar handle 2021-12-10 16:04:47 -07:00
Paul Davis
02026c98ff basic skeleton for clip editor bindings 2021-12-10 15:15:56 -07:00
Paul Davis
ef07d47bf8 audio clip editor: use scroll group for waves container 2021-12-10 15:15:16 -07:00
Paul Davis
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
Paul Davis
e3cac796b3 audio clip editor: primitive (left-focus) zoom 2021-12-10 12:50:44 -07:00
Paul Davis
5b4dd8dcf4 audio clip editor: basics of line dragging 2021-12-10 11:59:19 -07:00
Paul Davis
eac0f28642 audio clip editor: change line widths and fix frame color 2021-12-10 11:07:51 -07:00
Paul Davis
56835d342c audio clip editor: basic line drawing 2021-12-10 09:47:56 -07:00
Paul Davis
3bbe54f07a audio clip editor: draw entire source file(s), not just region 2021-12-10 08:54:38 -07:00
Paul Davis
5ada2b7ce1 audio clip editor: draw waveforms (not sized horizonally appropriately yet) 2021-12-09 21:44:23 -07:00
Paul Davis
fbfbdbe266 include size request for audio clip editor 2021-12-09 21:21:05 -07:00
Paul Davis
757debb711 start putting some relevant elements into the AudioClipEditor 2021-12-09 21:12:47 -07:00
Paul Davis
12dc428a60 change class names and heirarchy for the GUI elements that will be used to edit/trim clips 2021-12-09 19:45:25 -07:00
Paul Davis
7426c96812 remove incorrectly added files 2021-12-09 19:41:21 -07:00
Ben Loftis
972229a02f Remove some spurious printouts 2021-12-08 13:39:38 -06:00
Ben Loftis
be27e7359f Property Boxen: handle more {audio|midi} cases; move code around. 2021-12-08 12:58:12 -06:00
Ben Loftis
132779ab39 Property Boxen: populate the Trigger page with property-editor placeholders 2021-12-08 12:58:12 -06:00
Ben Loftis
d30f87bf00 PropertyBoxen: provide all slot property editors in a popup dialog (?) 2021-12-08 12:58:12 -06:00
Ben Loftis
3918ee2ed6 Add New Region variables for Clips
Properties are created for announcing changes, but values are not actually stored as undo-able properties.
2021-12-08 12:57:48 -06:00
Ben Loftis
1e38797efc PropertyBoxen: move selection-properties into the sidebar 2021-12-08 12:45:11 -06:00
Ben Loftis
50aa2c490d PropertyBoxen: initial draft of property-editing widgets that follow the Selection 2021-12-08 12:45:11 -06:00
Ben Loftis
62662f888c PropertyBoxen: Publish some region operations to PublicEditor so we can access them more easily 2021-12-08 12:45:11 -06:00
Ben Loftis
cdce9e120e Trigger_UI: De-Canvas the trigger_ui widget so it can be reused in other places 2021-12-08 12:45:05 -06:00
Ben Loftis
d7116c985e Trigger_UI: change API to use set_trigger() instead of constructor arg 2021-12-08 12:40:20 -06:00
Ben Loftis
9d0d8e1785 Selection: Region Operations in a Slot need a RegionView proxy (ToDo) 2021-12-08 12:40:20 -06:00
Ben Loftis
1489fabbcd Selection: make trigger slots more exclusive wrt some other selectables 2021-12-08 12:40:20 -06:00
Ben Loftis
fcab855fca Trigger Cues: continued work on triggers, cues and master widgets 2021-12-08 12:35:32 -06:00
Ben Loftis
d20298549e Trigger Cues: add to trigger page 2021-12-08 12:35:32 -06:00
Ben Loftis
0e26bd19c4 Trigger Cues: Rough-in controls for Cues 2021-12-08 12:35:32 -06:00
Ben Loftis
c0ff182e5f triggerbox: add a master-stopper-widget (currently it stops whatever slot is playing) 2021-12-08 12:35:17 -06:00
Ben Loftis
ab8a2cb4d0 FittedCanvas: a GtkCanvas wrapper that follows ui-scale and ignores child size requests 2021-12-07 16:32:49 -06:00
Ben Loftis
dc826c6521 ArdourCanvas Rectangle: allow subclasses access to _rect 2021-12-07 16:32:49 -06:00
Robin Gareus
80939f2228
Option to show gain-knob on Meterbridge 2021-12-07 17:56:39 +01:00