13
0
Commit Graph

1895 Commits

Author SHA1 Message Date
Térence Clastres
5276a9941b Call switch_bank() and use button_track_mode() within it to init required LEDs 2018-08-09 21:38:56 +02:00
Térence Clastres
a9958840b0 Add reset method and use it during start-up/shutdown 2018-08-09 21:05:55 +02:00
Térence Clastres
2c460135c5 Add missing set_color(Off) in else statement 2018-08-09 21:05:55 +02:00
Térence Clastres
cbb0a33aa3 Correct formatting for if/else statements 2018-08-09 21:05:55 +02:00
Térence Clastres
24e4ba399c Fix wrong note number offset 2018-08-09 21:05:51 +02:00
3064c5a675 fix button note number map lookup 2018-08-08 11:36:15 -04:00
ecfe1c2c67 emacs whitespace fixes 2018-08-07 10:49:33 -04:00
973c1cc61b explicitly drop connections from destructor 2018-08-07 10:49:15 -04:00
120115aec0 don't use an invalidator when connecting an EventLoop object's methods to a signal 2018-08-07 10:48:43 -04:00
87b745face fix uninitialized pointer error in launch control code 2018-08-07 10:44:56 -04:00
149dc68809 Fix invalid C++11isms: don't use of enum as class or namespace 2018-08-07 15:48:39 +02:00
8fa62f102e Fix C++98 compatibility error
'>' should be '> >' within a nested template argument list
2018-08-07 15:44:30 +02:00
be51e617bb LCXL: add missing request-buffer factory. 2018-08-07 15:40:30 +02:00
6d983d5f0b Fix -Wnon-virtual-dtor
`struct ArdourSurface::LaunchControlXL::LED' has virtual functions
and accessible non-virtual destructor [-Wnon-virtual-dtor]
2018-08-07 15:36:22 +02:00
c4d25037c4 Fix invalid use of enum as class or namespace. 2018-08-07 15:34:03 +02:00
f0105dafc1 NO-OP: whitespace 2018-08-07 15:30:26 +02:00
Térence Clastres
8c7a1e004b Add Launch Control XL control surface support 2018-08-07 04:16:09 +02:00
eb304fe4b8 FP2: Fix banking in NavChannel mode. 2018-08-01 11:35:35 -05:00
b61b1cd7aa Tweak FP2/2018 Ctrl-Surface UI 2018-07-31 15:43:21 +02:00
cc2324e763 Tweak UI for Faderport2/2018 2018-07-31 15:32:26 +02:00
b30cd5f657 Fix Faderport8/16 support in the wake of FP2 2018-07-31 15:23:49 +02:00
948834bb1e Add support for PreSonus Faderport2 (2018 model)
This is a cleaned-up, foward-ported version of Ben's
Mixbus patch (d6694c5b31).
2018-07-31 14:54:20 +02:00
1d61a3e17f CC121: cycle track monitoring states 2018-07-12 21:43:49 +02:00
da6a6f1366 CC121: watch Track monitoring state 2018-07-12 21:42:57 +02:00
8004b9bb8e OSC: custom mode should turn temp mode off 2018-07-06 08:09:03 -07:00
e1ce87956a OSC: record tally should include master record 2018-07-06 08:08:29 -07:00
c2af992ac7 OSC: Use spill instead of collect 2018-07-06 07:35:24 -07:00
3322e6f5a5 OSC: make temp modes work with linked surfaces too 2018-07-05 23:24:30 -07:00
7af016b089 Prepare CC121 ctrl surface for Mixbus
- fix Panner
- implement touch-start when changing ctrls
- map some well-known ctrls (not yet ideal)
2018-07-05 16:49:01 +02:00
4b47a4c4cc OSC: Set lowest select meter to -120 for mixbus 2018-07-04 19:18:38 -07:00
9d99cc8b01 OSC: Make sure group name for select gets updated 2018-07-02 08:18:42 -07:00
f30add4c0e OSC: bugfix, select/next\previous sometimes resets to old strip 2018-06-30 18:59:37 -07:00
6e082b16b2 OSC: Add collect of groups or subgroups 2018-06-30 15:25:17 -07:00
ff03eeab04 fix mixing scope brace 2018-06-25 10:06:57 -04:00
d7ac5792b8 Accommodate recently removed source(s) in our MSVC project (libardour)
(this also needs ardour_genericmidi to link to both evoral and boost-regex)
2018-06-25 12:11:10 +01:00
87bab9c0f7 OSC: make select logic more sensible 2018-06-24 20:04:54 -07:00
8725ed5bd1 add Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to a toggled controllable.
No intent to change Ctl_Momentary or Ctl_Toggle behaviour, plus I tried to document what they are intended to support
2018-06-21 22:28:11 -04:00
8a18929d57 remove Session::controllable_by_descriptor() and move code into GenericMIDI code (the only user).
This also removes enums introduced to describe well-known parameters for Mixbus. Lookup now involves string
parsing every time, but this is not likely to be a notable cost.
2018-06-21 13:05:58 -04:00
4b37e248e1 OSC: fix pre gcc5 problem 2018-06-20 12:39:34 -07:00
e34f006658 OSC: Add /select/vca/toggle 2018-06-20 12:39:34 -07:00
6edea6064e OSC: reworking of previous/next select 2018-06-19 09:46:29 -07:00
2fa49c51b2 OSC: Feedback was not making it to surface 2018-06-19 09:46:29 -07:00
5ce341c127 OSC group sharing should be cleared for VCAs 2018-06-19 09:46:29 -07:00
0141700d4b OSC: added context based previous/next select 2018-06-19 09:46:29 -07:00
641b8a1139 OSC: select should not show expand if invalid 2018-06-19 09:46:29 -07:00
cc78d78390 OSC expand off should check current sellect 2018-06-19 09:46:29 -07:00
fee23d8778 OSC: Allow expand to be global 2018-06-19 09:46:28 -07:00
293326cd94 OSC do not recalc select if still valid 2018-06-19 09:46:28 -07:00
518f8108ac OSC make strippable null on drop references 2018-04-07 09:16:07 -07:00
0e88eff05c Use precalulated value rather than recalculating 2018-04-07 09:16:07 -07:00
b286f4f851 OSC: Setting strip types should clear temporary custom modes 2018-04-07 09:16:07 -07:00
224295266f faderport: make ::invoke() tell us whether or not something was actually invoked for a button event
Only put the button into "consumed" if it actually invoked something.
This helps to get reverse-polarity footswitches to work as expected
2018-03-26 18:26:39 -04:00
ddfc37e42a fix binding to long-press for User button on FaderPort 2018-03-26 13:56:50 -04:00
7b42c7e361 MSVC won't allow us to cast directly from float to an enum. We need to kludge it by first casting to an integer type
(is it safe to be casting from float to enum anyway??)
2018-03-22 10:54:21 +00:00
c177434669 OSC: Change custom mode to enum 2018-03-20 14:37:40 -07:00
5385aece94 OSC: a strip controlling a send should deactivate other controls 2018-03-20 08:43:10 -07:00
bfbab2d0b5 OSC: Add feedback for bus_only mode and automation and pan 2018-03-20 08:43:10 -07:00
29975638c0 OSC: select should have latch too. 2018-03-20 08:43:10 -07:00
c768aeabc4 OSC: Add bus only mode for gain controls 2018-03-20 08:43:10 -07:00
3cd79cd80f Sort generic-midi bindings alphabetically 2018-03-13 16:18:03 +01:00
74c4e4a6d8 OSC: group commands should feedback all off if no group 2018-03-12 16:03:53 -07:00
98d6fe9c91 OSC: fix /strip/hidden feedback excess 2018-03-10 13:07:13 -08:00
b2259e11d0 OSC: change group sharing to individual commands
Send less feedback for group name and sharing
2018-03-10 13:07:13 -08:00
ed04660940 OSC: set surface should reset custom mode 2018-03-10 13:07:13 -08:00
f1dc45c7f2 OSC: Display only strips controlled by selected VCA 2018-03-10 13:07:13 -08:00
e4da386eb5 OSC: add set VCA for slavable strip 2018-03-10 13:07:13 -08:00
30533cd43a OSC: Added slaved feedback to select 2018-03-10 13:07:13 -08:00
d1290e82db OSC: check route exists 2018-03-10 13:07:13 -08:00
Jan Lentfer
a2af019c95 generic_midi: add proper handling of midi controll toggles 2018-03-03 14:04:12 +01:00
edd21ac89e OSC: add group sharing bit feedback 2018-02-27 21:59:43 -08:00
6adeded426 OSC: add group sharing bit setting 2018-02-27 21:59:43 -08:00
d99060134b OSC: display only strips in group. 2018-02-27 21:59:43 -08:00
d79bcd44b2 OSC: fix compiler warning and catch possible errors 2018-02-21 20:26:43 -08:00
d4ae858bf6 OSC: Add session name change 2018-02-20 15:49:37 -08:00
a9d041c62e OSC: allow setting of marker name 2018-02-18 09:16:16 -08:00
08632d623e OSC: select comment should feedback when comment changed 2018-02-18 09:16:16 -08:00
66fa0778ab OSC: Allow surface to change route comment. 2018-02-18 09:16:16 -08:00
a29d3c1b31 OSC: Select should be able to rename as well. 2018-02-16 22:54:16 -08:00
dffecfa4c6 OSC: added group join, switch, remove function 2018-02-16 13:10:20 -08:00
3504ecff5f noop OSC: path strings should not get tranlated 2018-02-16 13:10:20 -08:00
3ac47220a0 OSC: Add /group/list so surface can get a list of groups 2018-02-16 13:10:20 -08:00
b9c9777b9a When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format 2018-02-15 09:03:32 +00:00
6f019faaa0 Accommodate the change from libtimecode to libtemporal 2018-02-14 10:02:11 +00:00
11e50fe0c5 Resolve a few -Wunused-variable warnings in US2400. 2018-02-10 22:43:53 -06:00
b1d7eabf54 iCon device tweaks: faster timecode display refresh rate. Submitted by Michal Barhon. 2018-02-10 22:43:53 -06:00
ff319ce63f Resolve -Wreorder in qcon code. 2018-02-10 22:43:42 -06:00
70d8300cb2 OSC: clean up jog mode, simplify feedback 2018-02-05 10:40:25 -08:00
ea1740d65f MSVC only allows static class members to be initialised in the class declaration 2018-02-03 14:58:45 +00:00
3aacdd79ae Fixes for the iCON Qcon mcp device - LED rings. Submitted by Michal Barhon : mbarhon@seznam.cz 2018-02-02 09:27:37 -06:00
16a5e3ce55 OSC: jog mode and jog mode name should be sent at refresh 2018-02-01 22:03:04 -08:00
ae3d9deefb Support for the iCON Qcon mcp device - sysex strings. Submitted by Michal Barhon. 2018-02-01 14:39:59 -06:00
f549fcfb76 OSC: Add group name feedback to strips 2018-01-31 11:48:10 -08:00
11d2077b43 FP8/16: Update Plugin List when Selection changes. 2018-01-27 20:56:13 +01:00
0aa0d49a4d FP8/16: Don't show Channelstrip as Plugin, use well-known API only 2018-01-27 20:53:31 +01:00
c1632635b5 OSC: reorder /set_surface parameters to fit manual
remove unused call
2018-01-24 08:17:45 -08:00
5e4aa5455e OSC: Make sure observers are restarted if port changes 2018-01-24 08:17:45 -08:00
ea0808de2d OSC: Allow Surface to set it's own receive port 2018-01-24 08:17:45 -08:00
f7ec31d95d OSC: allow each surface to set portmode for that IP. 2018-01-24 08:17:45 -08:00
d785883836 Fix FP16 Solo (0x53 is mapped to encoder-press, 0x56 to loop) 2018-01-23 19:00:18 +01:00
1ebe6cdf07 OSC: Added feedback for /strip/hide 2018-01-14 13:07:40 -08:00
c7a052a45f OSC: add /strip/hide 2018-01-14 13:07:40 -08:00
ef1301759d OSC: Add feedback for hidden strip 2018-01-13 08:41:58 -08:00
e51c5ab76a OSC: add /select/hide 2018-01-13 07:58:37 -08:00
7d6e6424c7 OSC: Expand gainmode to add two new options
fix bug where a surface might have more than one global observer
2018-01-09 19:19:29 -08:00
15fa89c8dd OSC: Plugin activate should detect no plugins 2018-01-02 10:23:11 -08:00
6536126ad2 OSC: Check for no markers yet (crash fix) 2017-12-29 14:47:00 -08:00
6d204e76eb OSC: fix jog mode } in wrong place 2017-12-23 13:50:28 -08:00
283ff0230d OSC: Add feedback for /marker 2017-12-23 13:17:11 -08:00
34a926fc51 OSC: add /marker to locate to a marker. 2017-12-22 12:04:05 -08:00
5a23719da3 FP8/16: Ignore "black" a strip color, always light select-button 2017-12-21 02:30:01 +01:00
1deb6525b8 FP8/16 fix meter + no-pan display mode 2017-12-21 02:30:01 +01:00
c0d333ba9c FP8/16 subscribe to panner changes (add/remove channel) 2017-12-21 02:30:01 +01:00
0d72f37318 OSC: Add /surface/list option to setting GUI 2017-12-20 07:48:35 -08:00
e921088ee8 Fix fp16 encoder (misleading doc on fp8) 2017-12-19 17:56:57 +01:00
3cb952d7fb Revert "Prototype to allow embedding sysex in midi-map"
This reverts commit 561c8eea0c.
It is rare that a device needs sysex-initialization every time it is
connected, besides a single simple "Sysex" entry without options
is not very flexible.
2017-12-19 17:45:03 +01:00
f9d7a3720d Fix faderport-16 touch on/off (fixes faders 9..16) 2017-12-19 03:50:07 +01:00
22939488e7 OSC: Move /surface/list output to PBD::info 2017-12-16 12:42:32 -08:00
847b71e12d OSC: make custom strip lists work on linked surfaces too 2017-12-16 08:24:41 -08:00
886244feea OSC: Add Sorted or not to custom strip list
fix bug where processor_changed sometimes gets null address
2017-12-15 09:43:48 -08:00
559344d99d OSC: in custom strip list check all strips exist 2017-12-15 09:43:48 -08:00
d6eea08021 OSC: initialize parameter correctly 2017-12-15 09:43:48 -08:00
d34ae43931 Fix FP8/16 port-names 2017-12-13 23:44:39 +01:00
26a59261fe Fix FP16 fader-touch release for faders 9..16 2017-12-13 23:11:37 +01:00
ae0dd7c209 Fix FP16 select button 10..16 2017-12-13 21:59:22 +01:00
bac627d0be Add FP16 control-surface 2017-12-12 14:10:07 +01:00
7671a0f675 Namespace FP8, FP16 to avoid symbol conflicts 2017-12-12 14:09:40 +01:00
e3340cdf01 Prepare for FaderPort16 (ctrl-protocol) 2017-12-12 14:08:45 +01:00
b117910c29 Fix a -Wreorder 2017-12-12 00:24:00 +01:00
16a9878f22 more NO-OP, comment and whitespace 2017-12-12 00:19:36 +01:00
23a4030159 US-2400: ignore joystick moves until the user clicks the joystick NULL button. 2017-12-11 10:51:33 -06:00
561c8eea0c Prototype to allow embedding sysex in midi-map 2017-12-06 16:33:58 +01:00
2c4a8d2d25 OSC: Add custom bank creation and use 2017-12-02 08:18:53 -08:00
06ea56a2ce OSC: add /select/plugin/activate cause some add deactivated
And clean up plugin code as well
2017-11-28 12:33:20 -08:00
da467cf39b OSC: Only send new select send values
no clear first, no double send
2017-11-23 12:04:54 -08:00
155156cfb2 OSC personal monitor fix off by one bug. 2017-11-23 12:04:54 -08:00
18306f3d37 OSC: only reset cue sends that do not have a new send 2017-11-13 17:19:09 -08:00
a6205cef40 OSC: /cue/previous_aux should always refresh 2017-11-13 17:19:09 -08:00
2d85eceb0e OSC: cue buttons can accept float or int 2017-11-13 17:19:09 -08:00
69603bb76e OSC link: make whole link set follow strip_types
strip should not run periodic when blank - crash fix
2017-11-10 08:38:08 -08:00
634c620b07 OSC: set_surface sets linkset, linkid
/set_surface/* deals with linked surfaces
2017-11-08 09:36:32 -08:00
3a2c481b96 OSC: catch bad commands on /cue/* created crash on exit 2017-11-07 20:18:59 -08:00
ba383b4726 OSC link: Clean up link not ready and surface refresh 2017-11-07 09:31:14 -08:00
bb8d65c528 OSC link: make selection work correctly 2017-11-06 13:38:18 -08:00
3eee4fe8a5 OSC link: first working commit for linking two surfaces as one 2017-11-03 14:04:52 -07:00
eeb148bb61 NO-OP: whitespace cleanup 2017-10-26 15:46:00 -04:00
155f48fc7c move mixbus-only variable declaration 2017-10-26 15:45:16 -04:00
3161ccee43 remove unused variable 2017-10-26 15:44:32 -04:00
33c9772fda OSC: fix mixed types keeps from building on server 2017-10-25 23:00:41 -07:00
27c8c82076 OSC: Provide click level control 2017-10-25 21:56:29 -07:00
a2965f585a OSC: add feedback for punch in/out, click and click level 2017-10-25 21:56:29 -07:00