Commit Graph

40636 Commits

Author SHA1 Message Date
Robin Gareus
b2a5920971 Fix RegionFx processor selection, leave notify
This fixes "delete" keyboard shortcut when the mouse.
Previously moving the mouse from the box to the selected
processor unset the `current_rfx_box` pointer.
2025-04-09 20:18:29 +02:00
Robin Gareus
58d7189e9c Fix "Delete" processor-box context menu
For some reason the action prefix before the slash is
irrelevant. The "RegionFxMenu/delete" action overrides
the earlier registered "ProcessorMenu/delete".

Processor Box context menu called `RegionFxBox::static_delete`.
2025-04-09 20:15:53 +02:00
Robin Gareus
3c5f8fe7ed RTA: small fixes:
* redraw when removing all routes: clear Legend
* queue draw after changing settings
* prepare for RTA button on mixer-strip
2025-04-09 18:41:45 +02:00
Robin Gareus
1b10e0916a NO-OP: unify codebase with Livetrax, whitespace 2025-04-09 18:40:04 +02:00
John Emmas
937dd4b587 Class 'MIDISceneChange' now needs to be visible outside of libardour 2025-04-09 12:01:01 +01:00
Paul Davis
1f4ddcd53f fix inheritance design error in MidiRegionView/MidiView
trim_front_(starting|ending) must be in a class derived from RegionView,
which MidiView is not.

This ensures that Carl's original design for this (with these two methods
called at the start and end of a front-trim drag) is still operational, and we
do not end up with MIDI regions that have a negative start value.
2025-04-08 15:50:30 -06:00
Paul Davis
0c924c3933 pianoroll: dragging start handle before zero shifts MIDI later in time 2025-04-08 15:50:30 -06:00
Paul Davis
259e878887 libardour: fix MidiRegion::fix_negative_start() to match new API 2025-04-08 15:50:30 -06:00
Paul Davis
72dd5b1258 NO-OP tiny rewording of a comment 2025-04-08 15:50:30 -06:00
Paul Davis
fe3aadb1bc libardour: change implementation of MidiModel::insert_silence_at_start()
Use the much lighter weight ShiftCommand model introduced in 4ee709af7b.
2025-04-08 15:50:30 -06:00
Ben Loftis
8c49330cfb fix rec-arm circles in triggerboxen 2025-04-08 15:12:37 -05:00
Paul Davis
15c808c9f4 expand the dialog used for renaming location markers to allow scene editing
This has no visible effect for anything that is not livetrax (for now).
2025-04-07 17:46:01 -06:00
Robin Gareus
5e9a4f54a6 Fix RegionFxMenu/* keyboard shortcuts
They now work in the property attachment pane, but not
in a dedicated region property window.
2025-04-07 19:21:33 +02:00
Paul Davis
e48f1adbbb clear pianoroll undo/redo history when resetting the region it is using 2025-04-07 11:13:31 -06:00
Paul Davis
1a48787361 when setting up a fake event for using in Editor::drop_regions(), use BUTTON_PRESS not MOTION_NOTIFY
It is not legal to start drags from anything except BUTTON_PRESS
2025-04-07 08:19:08 -06:00
Ben Loftis
0b15408297 really remove unused call to std::min (correct fix for 25114f) 2025-04-07 08:43:44 -05:00
Paul Davis
b58abd5bf9 remove as-yet-undeclared method from Pianoroll 2025-04-05 18:32:28 -06:00
Paul Davis
be3e6c8f1b make sure enter/leave events propagate to both MidiView and EditingContext
This helps with cursor setting as we enter/leave the canvas.
2025-04-05 17:25:03 -06:00
Paul Davis
4ee709af7b libardour APIs for Sequence::shift (timepos_t const &)
A way to move all MIDI data in a Sequence later in time.

This is likely not finished, and may need a new signal for
notifications
2025-04-05 17:25:03 -06:00
Paul Davis
9c0c3309e6 avoid compiler warnings 2025-04-05 17:25:03 -06:00
Paul Davis
8677ebe1f0 fix playhead in pianoroll
Logic had all been messed up by earlier commits
2025-04-05 17:25:03 -06:00
Robin Gareus
3b8dcdcc9e RTA: update min window-size with scale to allow for more dB labels 2025-04-06 01:16:49 +02:00
Robin Gareus
635fcdc206 Add scroll-wheel support to RT Analyzer 2025-04-05 21:11:46 +02:00
Robin Gareus
24e8784719 Increases contrast of RTA grid labels 2025-04-05 18:24:23 +02:00
Robin Gareus
db16c8818c Add debug messages to investigate Windows/OneDrive read-only sessions 2025-04-05 18:23:28 +02:00
Robin Gareus
e6e536b923 NO-OP: whitespace 2025-04-04 17:51:45 +02:00
Houston4444
5550654513 Create Lua script to create a playlist on selected audio tracks with only audible contents 2025-04-04 13:17:53 +02:00
Houston4444
eb6f525938 add fade_in_length and fade_out_length lua bindings on region 2025-04-04 13:16:55 +02:00
Robin Gareus
70792e7f1c Add Lua script snippet showing how to add sources to a track 2025-04-04 13:07:56 +02:00
Robin Gareus
04565528b7 Update icon tool ydk paths (after 07866caf1, f1e0f4b1) 2025-04-04 02:14:30 +02:00
Robin Gareus
0e011e0e90 NO-OP: cleanup 2025-04-03 21:06:14 +02:00
Robin Gareus
4f8a6e8e80 Fix stretching mono files on multi-channel trigger slots
Like in the non-stretch case `chn % data.size ()` is used.
2025-04-03 21:01:45 +02:00
Robin Gareus
8dd89616e1 Fix EmScale initialization, pixel-sizes are unsigned int 2025-04-03 03:15:29 +02:00
Paul Davis
1a95595e3d remove more debug output 2025-04-02 09:08:11 -06:00
Paul Davis
e927b34391 remove debug output 2025-04-02 08:31:18 -06:00
Paul Davis
def69dd383 temporary workaround for a weird callback problem with pianoroll automation buttons 2025-04-01 14:55:32 -06:00
Paul Davis
25114fee0e remove unused call to std::min(), dangling from commit ea0524177 2025-04-01 14:55:32 -06:00
Paul Davis
fad3c32267 better handling of cloned bindings/actions 2025-04-01 14:55:32 -06:00
Paul Davis
87ed40a855 design to handle "cloned" bindings/actions 2025-04-01 14:55:32 -06:00
Ben Loftis
7a8fbdd5b1 Cue page: recover missing Stretch Options box 2025-04-01 12:17:08 -05:00
Robin Gareus
03daa45bab Add Automation List / Region envelope example script 2025-04-01 16:12:01 +02:00
Robin Gareus
53773ec310 Prepare RouteUI for RTA 2025-04-01 15:52:58 +02:00
Robin Gareus
53ac429b4f Fix SNAFU, only expose RTA in debug builds for the time being 2025-03-31 21:37:45 +02:00
Robin Gareus
daee40a013 License Manager be gone 2025-03-31 20:21:31 +02:00
Robin Gareus
6a647c422d Commence work on actual RTA GUI 2025-03-31 20:20:10 +02:00
Robin Gareus
0508d8cc4d Expose RTA in Route context menu 2025-03-31 20:20:10 +02:00
Robin Gareus
b41bc2cf95 Outline RTA Manager API 2025-03-31 20:20:10 +02:00
Robin Gareus
e12d8b3769 Add API to tap signal from a Delivery to RTA
Rater than having each Delivery Object provide a Ringbuffer,
which is unused most of the time, the GUI will provide
them on demand.

We need to be careful of lifetime, and use `rt_safe_delete` in
case the Delivery holds the last instance.
2025-03-31 20:20:09 +02:00
Robin Gareus
76ba840be0 Bootstrap RTA Window 2025-03-31 20:20:09 +02:00
Robin Gareus
6609ea1564 Micro-step toward unified FFT API 2025-03-31 20:20:09 +02:00