Commit graph

2354 commits

Author SHA1 Message Date
Paul Davis
3c0820e36e move default_triggers_per_box into a namespace ; change value for Ardour to 16 2022-10-04 19:55:05 -06:00
Paul Davis
a0c93328ea push2: fix intended behavior of push2 "lower buttons" 2022-10-03 15:41:50 -06:00
Ben Loftis
42a4216f22 osc: publish session-provided trigger functions: bang/unbang 2022-10-01 09:13:14 -05:00
Ben Loftis
7fe7adb83c push2: adapt to new unbang and 'stop' semantics (needs testing) 2022-10-01 09:13:14 -05:00
Ben Loftis
6c292a83da basic_ui: use session-provided bang/unbang functions 2022-10-01 09:13:14 -05:00
Ben Loftis
1e283adb22 disambiguate trigger functions: stop_all_triggers -> trigger_stop_all 2022-10-01 09:13:14 -05:00
Ben Loftis
75ae0fd4b1 disambiguate trigger functions: cue_bang -> trigger_cue_row 2022-10-01 09:13:14 -05:00
Ben Loftis
be28c9ff88 osc: add functions to trigger cue rows, and stop all triggers 2022-10-01 09:13:14 -05:00
Robin Gareus
9a34d15b3c
Fix crash when disabling generic MIDI surface
The event-loop has to be stopped before unregistering ports
and deleting the instance.
2022-09-30 01:58:24 +02:00
Paul Davis
0cd87a917c push2: apply concept in 0af0e3a8e8 to push2 code (unused follow action icon) 2022-09-22 09:20:01 -06:00
Paul Davis
af28394bfd push2: fix an apparent bug in cairo when drawing follow action icons
It seems that using ::move_to() followed by Pango::Layout::show_in_cairo_context() leaves
the context in a state that is not correctly restored when using ::restore(). Therefore,
clear the path to avoid leaving any dangling current point
2022-09-22 00:43:38 -06:00
Paul Davis
10ac1901dd push2: temporarily comment display of jump loop actions due to cairo oddity 2022-09-07 17:03:08 -06:00
Paul Davis
1eab84b7da push2: remove unconditional setting of canvas item names 2022-09-03 17:48:03 -06:00
Robin Gareus
4863e6b45e Fix mac and windows builds (resolve namespace ambiguities) 2022-09-04 01:37:48 +02:00
Paul Davis
97540dafde push2: update cue layout when tracks are added 2022-09-03 16:46:41 -06:00
Paul Davis
2d4042abd7 push2: fix handling of pads-as-note-entry during selection changes 2022-09-03 16:46:41 -06:00
Paul Davis
b3b6e94297 push2: fix canvas level meter object so that it draws 2022-09-03 16:46:41 -06:00
Paul Davis
b7d86cb118 push2: track mix layout needs to be setup even if not currently visible 2022-09-03 16:46:41 -06:00
Paul Davis
96a9c1df7f push2: bug fixes for pad color mgmt and other fixes/improvements 2022-09-02 17:57:46 -06:00
Robin Gareus
49e6066306 Fix mac and windows builds (resolve namespace ambiguities) 2022-09-02 12:44:44 +02:00
Paul Davis
f8312cacc4 add back Rect -> ArdourCanvas::Rect define 2022-09-01 22:03:11 -06:00
Paul Davis
55ff73a2ad fix clang/macos compilation 2022-09-01 16:23:12 -06:00
Paul Davis
cbbc6f9b84 push2: use vector of pads rather than map when shutting down 2022-08-31 10:23:12 -06:00
Paul Davis
253dac007d push2: fully init and de-init buttons and pads at startup and shutdown 2022-08-31 10:22:24 -06:00
Paul Davis
681ca38848 push2: fix a couple of potential crashes 2022-08-31 10:11:02 -06:00
Paul Davis
678ed40bd3 push2: fix pad colors etc. after layout switches 2022-08-30 21:37:16 -06:00
Paul Davis
748fbf6fb1 push2: add follow action icons to display 2022-08-30 16:51:34 -06:00
Paul Davis
6986c18163 push2: add clip names to display and slightly shift progress circle 2022-08-28 22:37:31 -06:00
Paul Davis
b98ec59ed8 push2: another bunch of Live-chasing functionality for trigger control 2022-08-28 18:58:50 -06:00
Paul Davis
a06ed85269 push2: prep for triggerbox property changes 2022-08-27 21:21:22 -06:00
Paul Davis
f6cfa3c3e1 push2: let's not crash 2022-08-27 16:25:09 -06:00
Paul Davis
741ff552a0 push2: start tracking route properties in cue layout 2022-08-27 16:22:07 -06:00
Paul Davis
06abdb4c4e push2: vector, not map 2022-08-27 16:03:01 -06:00
Paul Davis
6627d24c2b push2: add an (x,y) map for pads and use it 2022-08-27 15:53:03 -06:00
Paul Davis
a5dd6c1128 push2: lots more clip control functionality and display 2022-08-27 12:55:16 -06:00
Paul Davis
b10a99dcad push2: clip stop ala Live 2022-08-27 08:32:15 -06:00
Paul Davis
19db8f9c68 control protocols: fix design of trigger unbang method 2022-08-27 08:32:03 -06:00
Paul Davis
3cffca9178 control protocols: add trigger unbang method 2022-08-27 08:26:08 -06:00
Paul Davis
8ed8895439 push2: launch clips with pads 2022-08-27 08:15:40 -06:00
Paul Davis
26c48aae1b control protocols: add trigger bang method to BasicUI 2022-08-27 08:15:17 -06:00
Paul Davis
092fdb5b46 push2: turn off scene buttons when appropriate 2022-08-26 19:31:15 -06:00
Paul Davis
1ecdeb25a7 push2: an ever-growing array of cue-related support 2022-08-26 19:23:43 -06:00
Paul Davis
f835fb279a push2: don't like the clip button since it does nothing 2022-08-26 17:40:41 -06:00
Paul Davis
f57669fbde push2: rename things to match the rest of ardour, and use Session button not Clip
the clip button is intended to "look at" a single clip and edit it
2022-08-26 17:40:04 -06:00
Paul Davis
17b0764639 push2: clip view actually visible via button on surface 2022-08-26 16:39:36 -06:00
Paul Davis
dd2442b0c2 push2: skeleton for new clip view layout 2022-08-26 16:15:32 -06:00
Paul Davis
58d262384b fix error during rebase fixup 2022-08-26 14:49:29 -06:00
David Robillard
7670f87d0a Push2: Use condensed font to avoid overlap in scale menu 2022-08-26 14:10:40 -06:00
David Robillard
7883695ba9 Push2: Implement special "sequential" mode for in-key note grids
This makes "sequential" more or less mean an octave vertical interval,
but only for in-key mode.  For chromatic mode, "sequential" is still just a
naive wrap-around layout for every note.
2022-08-26 14:10:40 -06:00
David Robillard
a6cd0a3f6e Push2: Ensure every pad is set up once when the grid layout changes
This juggles the implementation slightly in a way that's more resilient to
mistakes: the representation of pads in the surfaces is always fully reset
before setting up the grid, and a state message is sent for every single pad
once after the scale algorithm sets things up.

This means that scale algorithms don't need to deal with hairy edge cases like
running off the end of the scale or the valid range of MIDI notes.
2022-08-26 14:10:40 -06:00