ardour.git
12 years agoMCP: switch devices on the fly; name MIDI ports appropriately; fix active state;...
Paul Davis [Thu, 12 Apr 2012 16:41:07 +0000 (16:41 +0000)]
MCP: switch devices on the fly; name MIDI ports appropriately; fix active state; move sysex parsing into Surface

git-svn-id: svn://localhost/ardour2/branches/3.0@11942 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agopropagate GUI track selection to control protocols; make MCP update when GUI track...
Paul Davis [Thu, 12 Apr 2012 14:34:03 +0000 (14:34 +0000)]
propagate GUI track selection to control protocols; make MCP update when GUI track selection changes

git-svn-id: svn://localhost/ardour2/branches/3.0@11941 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoinitial MCP device info file, and fix ./ardev and friends to be able to find it
Paul Davis [Thu, 12 Apr 2012 13:12:41 +0000 (13:12 +0000)]
initial MCP device info file, and fix ./ardev and friends to be able to find it

git-svn-id: svn://localhost/ardour2/branches/3.0@11940 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: loading device info files basically operational
Paul Davis [Thu, 12 Apr 2012 12:58:42 +0000 (12:58 +0000)]
MCP: loading device info files basically operational

git-svn-id: svn://localhost/ardour2/branches/3.0@11939 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: stubbed device info file loading
Paul Davis [Thu, 12 Apr 2012 12:16:55 +0000 (12:16 +0000)]
MCP: stubbed device info file loading

git-svn-id: svn://localhost/ardour2/branches/3.0@11938 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agonew files
Paul Davis [Thu, 12 Apr 2012 11:46:35 +0000 (11:46 +0000)]
new files

git-svn-id: svn://localhost/ardour2/branches/3.0@11937 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomove string_is_affirmative() into libpbd
Paul Davis [Thu, 12 Apr 2012 11:45:40 +0000 (11:45 +0000)]
move string_is_affirmative() into libpbd

git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoA bit of crash proofiness for insane plugin UIs.
David Robillard [Thu, 12 Apr 2012 04:03:14 +0000 (04:03 +0000)]
A bit of crash proofiness for insane plugin UIs.

Plugin UI touch confirmed working with suil r4173 and distrho JUCE plugin "TAL Filter II".

git-svn-id: svn://localhost/ardour2/branches/3.0@11935 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: shift-select resets gain to unity; don't jump back to last transport start unles...
Paul Davis [Thu, 12 Apr 2012 01:51:57 +0000 (01:51 +0000)]
MCP: shift-select resets gain to unity; don't jump back to last transport start unless playing normally; footswitch 1 and 2 do play/stop

git-svn-id: svn://localhost/ardour2/branches/3.0@11934 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: track control press/release events
Paul Davis [Thu, 12 Apr 2012 01:14:43 +0000 (01:14 +0000)]
MCP: track control press/release events

git-svn-id: svn://localhost/ardour2/branches/3.0@11933 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: probably fix crash from flip mode, and debug modifier state in pothandler
Paul Davis [Thu, 12 Apr 2012 01:05:18 +0000 (01:05 +0000)]
MCP: probably fix crash from flip mode, and debug modifier state in pothandler

git-svn-id: svn://localhost/ardour2/branches/3.0@11932 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: check on whether we using pan width control; flip mode may change display
Paul Davis [Thu, 12 Apr 2012 00:52:02 +0000 (00:52 +0000)]
MCP: check on whether we using pan width control; flip mode may change display

git-svn-id: svn://localhost/ardour2/branches/3.0@11931 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: check on whether we using pan width control
Paul Davis [Thu, 12 Apr 2012 00:50:18 +0000 (00:50 +0000)]
MCP: check on whether we using pan width control

git-svn-id: svn://localhost/ardour2/branches/3.0@11930 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: probably fix ardour->surface for faders
Paul Davis [Thu, 12 Apr 2012 00:45:11 +0000 (00:45 +0000)]
MCP: probably fix ardour->surface for faders

git-svn-id: svn://localhost/ardour2/branches/3.0@11929 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug continues
Paul Davis [Thu, 12 Apr 2012 00:28:16 +0000 (00:28 +0000)]
MCP: debug continues

git-svn-id: svn://localhost/ardour2/branches/3.0@11928 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug continues
Paul Davis [Thu, 12 Apr 2012 00:27:25 +0000 (00:27 +0000)]
MCP: debug continues

git-svn-id: svn://localhost/ardour2/branches/3.0@11927 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: maybe get vpot id's right; more debug tracing for gain notify
Paul Davis [Wed, 11 Apr 2012 23:52:37 +0000 (23:52 +0000)]
MCP: maybe get vpot id's right; more debug tracing for gain notify

git-svn-id: svn://localhost/ardour2/branches/3.0@11926 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd thought-to-be-missing break (#4819).
Carl Hetherington [Wed, 11 Apr 2012 23:46:39 +0000 (23:46 +0000)]
Add thought-to-be-missing break (#4819).

git-svn-id: svn://localhost/ardour2/branches/3.0@11925 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd sort-of missed returns to keep coverity happy (#4817).
Carl Hetherington [Wed, 11 Apr 2012 23:24:05 +0000 (23:24 +0000)]
Add sort-of missed returns to keep coverity happy (#4817).

git-svn-id: svn://localhost/ardour2/branches/3.0@11924 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: cursor left should scroll left
Paul Davis [Wed, 11 Apr 2012 22:57:01 +0000 (22:57 +0000)]
MCP: cursor left should scroll left

git-svn-id: svn://localhost/ardour2/branches/3.0@11923 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: hopefully fix ardour->controller for faders
Paul Davis [Wed, 11 Apr 2012 22:50:21 +0000 (22:50 +0000)]
MCP: hopefully fix ardour->controller for faders

git-svn-id: svn://localhost/ardour2/branches/3.0@11922 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: cursor left/right should scroll; maybe fix vpots
Paul Davis [Wed, 11 Apr 2012 22:47:02 +0000 (22:47 +0000)]
MCP: cursor left/right should scroll; maybe fix vpots

git-svn-id: svn://localhost/ardour2/branches/3.0@11921 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot
Paul Davis [Wed, 11 Apr 2012 22:32:02 +0000 (22:32 +0000)]
MCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot

git-svn-id: svn://localhost/ardour2/branches/3.0@11920 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more tracing for rewind; change play LED illumination rule
Paul Davis [Wed, 11 Apr 2012 20:48:51 +0000 (20:48 +0000)]
MCP: more tracing for rewind; change play LED illumination rule

git-svn-id: svn://localhost/ardour2/branches/3.0@11919 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: repeated presses of play button will jump back to previous start (like GUI button)
Paul Davis [Wed, 11 Apr 2012 20:25:14 +0000 (20:25 +0000)]
MCP: repeated presses of play button will jump back to previous start (like GUI button)

git-svn-id: svn://localhost/ardour2/branches/3.0@11918 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove some unused parameters.
Carl Hetherington [Wed, 11 Apr 2012 20:21:00 +0000 (20:21 +0000)]
Remove some unused parameters.

git-svn-id: svn://localhost/ardour2/branches/3.0@11917 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: share add-marker code with BasicUI; don't allow route locking if the strip has...
Paul Davis [Wed, 11 Apr 2012 20:18:01 +0000 (20:18 +0000)]
MCP: share add-marker code with BasicUI; don't allow route locking if the strip has no current route

git-svn-id: svn://localhost/ardour2/branches/3.0@11916 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make BasicUI::rewind() behave symmetrically to BasicUI::ffwd(); basics of route...
Paul Davis [Wed, 11 Apr 2012 20:10:10 +0000 (20:10 +0000)]
MCP: make BasicUI::rewind() behave symmetrically to BasicUI::ffwd(); basics of route locking and an API to put the master/monitor on a strip

git-svn-id: svn://localhost/ardour2/branches/3.0@11915 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix missing message when setting a button(led) to its current state; more view...
Paul Davis [Wed, 11 Apr 2012 19:47:41 +0000 (19:47 +0000)]
MCP: fix missing message when setting a button(led) to its current state; more view mode stuff

git-svn-id: svn://localhost/ardour2/branches/3.0@11914 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more view mode stuff
Paul Davis [Wed, 11 Apr 2012 19:27:13 +0000 (19:27 +0000)]
MCP: more view mode stuff

git-svn-id: svn://localhost/ardour2/branches/3.0@11913 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more view mode support, use 6 bits for pot information, more mute debug trace
Paul Davis [Wed, 11 Apr 2012 19:16:49 +0000 (19:16 +0000)]
MCP: more view mode support, use 6 bits for pot information, more mute debug trace

git-svn-id: svn://localhost/ardour2/branches/3.0@11912 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: start adding different view modes and support for Flip
Paul Davis [Wed, 11 Apr 2012 18:51:01 +0000 (18:51 +0000)]
MCP: start adding different view modes and support for Flip

git-svn-id: svn://localhost/ardour2/branches/3.0@11911 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more mute button debug tracing; fix action for fn keys
Paul Davis [Wed, 11 Apr 2012 17:34:04 +0000 (17:34 +0000)]
MCP: more mute button debug tracing; fix action for fn keys

git-svn-id: svn://localhost/ardour2/branches/3.0@11910 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: use goto-visual-state-N as default function key bindings
Paul Davis [Wed, 11 Apr 2012 17:18:32 +0000 (17:18 +0000)]
MCP: use goto-visual-state-N as default function key bindings

git-svn-id: svn://localhost/ardour2/branches/3.0@11909 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: provide basic mechanism for configuring function keys
Paul Davis [Wed, 11 Apr 2012 17:13:20 +0000 (17:13 +0000)]
MCP: provide basic mechanism for configuring function keys

git-svn-id: svn://localhost/ardour2/branches/3.0@11908 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: rename raw_id() to id(); add missign modifier_state() function
Paul Davis [Wed, 11 Apr 2012 16:31:23 +0000 (16:31 +0000)]
MCP: rename raw_id() to id(); add missign modifier_state() function

git-svn-id: svn://localhost/ardour2/branches/3.0@11907 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused parameter to Port::flush_buffers().
Carl Hetherington [Wed, 11 Apr 2012 16:27:05 +0000 (16:27 +0000)]
Remove unused parameter to Port::flush_buffers().

git-svn-id: svn://localhost/ardour2/branches/3.0@11906 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more debug traces for button press
Paul Davis [Wed, 11 Apr 2012 16:24:52 +0000 (16:24 +0000)]
MCP: more debug traces for button press

git-svn-id: svn://localhost/ardour2/branches/3.0@11905 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make vpots control pan width + direction/position
Paul Davis [Wed, 11 Apr 2012 16:21:23 +0000 (16:21 +0000)]
MCP: make vpots control pan width + direction/position

git-svn-id: svn://localhost/ardour2/branches/3.0@11904 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: better debug traces for button press
Paul Davis [Wed, 11 Apr 2012 16:13:05 +0000 (16:13 +0000)]
MCP: better debug traces for button press

git-svn-id: svn://localhost/ardour2/branches/3.0@11903 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more twiddling with code
Paul Davis [Wed, 11 Apr 2012 16:11:55 +0000 (16:11 +0000)]
MCP: more twiddling with code

git-svn-id: svn://localhost/ardour2/branches/3.0@11902 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: probably fix crash on solo, another debug trace
Paul Davis [Wed, 11 Apr 2012 15:50:02 +0000 (15:50 +0000)]
MCP: probably fix crash on solo, another debug trace

git-svn-id: svn://localhost/ardour2/branches/3.0@11901 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSimplify slightly odd update_length() signature.
Carl Hetherington [Wed, 11 Apr 2012 15:47:33 +0000 (15:47 +0000)]
Simplify slightly odd update_length() signature.

git-svn-id: svn://localhost/ardour2/branches/3.0@11900 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more clarification of control ID scheme
Paul Davis [Wed, 11 Apr 2012 15:37:06 +0000 (15:37 +0000)]
MCP: more clarification of control ID scheme

git-svn-id: svn://localhost/ardour2/branches/3.0@11899 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: handle control IDs a little better
Paul Davis [Wed, 11 Apr 2012 15:22:05 +0000 (15:22 +0000)]
MCP: handle control IDs a little better

git-svn-id: svn://localhost/ardour2/branches/3.0@11898 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused playlist audition code.
Carl Hetherington [Wed, 11 Apr 2012 15:10:12 +0000 (15:10 +0000)]
Remove unused playlist audition code.

git-svn-id: svn://localhost/ardour2/branches/3.0@11897 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: further objectification of event handling code
Paul Davis [Wed, 11 Apr 2012 13:39:25 +0000 (13:39 +0000)]
MCP: further objectification of event handling code

git-svn-id: svn://localhost/ardour2/branches/3.0@11896 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomove all code to construct MIDI messages into relevant Control/Strip/Surface object...
Paul Davis [Wed, 11 Apr 2012 13:03:41 +0000 (13:03 +0000)]
move all code to construct MIDI messages into relevant Control/Strip/Surface object; remove MackieMidiBuilder

git-svn-id: svn://localhost/ardour2/branches/3.0@11895 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix a few unchecked XML child / property lookups
Carl Hetherington [Wed, 11 Apr 2012 10:51:21 +0000 (10:51 +0000)]
Fix a few unchecked XML child / property lookups
(#4814).

git-svn-id: svn://localhost/ardour2/branches/3.0@11894 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix use of invalidated iterator (#4822).
Carl Hetherington [Wed, 11 Apr 2012 10:43:27 +0000 (10:43 +0000)]
Fix use of invalidated iterator (#4822).

git-svn-id: svn://localhost/ardour2/branches/3.0@11893 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix use of invalidated iterator (#4821).
Carl Hetherington [Wed, 11 Apr 2012 10:31:29 +0000 (10:31 +0000)]
Fix use of invalidated iterator (#4821).

git-svn-id: svn://localhost/ardour2/branches/3.0@11892 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from colinf to restore recent session path tooltip
Carl Hetherington [Wed, 11 Apr 2012 10:11:43 +0000 (10:11 +0000)]
Patch from colinf to restore recent session path tooltip
(#4832).

git-svn-id: svn://localhost/ardour2/branches/3.0@11891 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from epitech_user to fix statement with no effect
Carl Hetherington [Wed, 11 Apr 2012 10:08:17 +0000 (10:08 +0000)]
Patch from epitech_user to fix statement with no effect
(#4816).

git-svn-id: svn://localhost/ardour2/branches/3.0@11890 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSlightly expanded version of patch from epitech_user to
Carl Hetherington [Wed, 11 Apr 2012 10:08:03 +0000 (10:08 +0000)]
Slightly expanded version of patch from epitech_user to
fix use of invalidated iterator (#4823).

git-svn-id: svn://localhost/ardour2/branches/3.0@11889 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoImplement ui:portIndex and ui:touch features.
David Robillard [Wed, 11 Apr 2012 04:53:47 +0000 (04:53 +0000)]
Implement ui:portIndex and ui:touch features.

Touch should allow custom plugin UIs to work properly with automation as the
generic UI does.  IIRC this was requested for mixbus, however, no current
plugin UI I am aware of implements it, so it is completely untested.

git-svn-id: svn://localhost/ardour2/branches/3.0@11888 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoUpdate LV2 UI header.
David Robillard [Wed, 11 Apr 2012 04:47:44 +0000 (04:47 +0000)]
Update LV2 UI header.

git-svn-id: svn://localhost/ardour2/branches/3.0@11887 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: breakout Led class code; remove builder code for Led changes and put it into...
Paul Davis [Wed, 11 Apr 2012 04:02:46 +0000 (04:02 +0000)]
MCP: breakout Led class code; remove builder code for Led changes and put it into Led::set_state() which returns the (possibly empty) MIDI data needed to go back to the MCP device to change the LED visible state

git-svn-id: svn://localhost/ardour2/branches/3.0@11886 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix crash introduced in r11877 (oops). Add LV2Plugin::port_index().
David Robillard [Wed, 11 Apr 2012 04:00:27 +0000 (04:00 +0000)]
Fix crash introduced in r11877 (oops).  Add LV2Plugin::port_index().

git-svn-id: svn://localhost/ardour2/branches/3.0@11885 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: send nothing if LedState is none in build_led(); return none from all transport...
Paul Davis [Wed, 11 Apr 2012 03:24:20 +0000 (03:24 +0000)]
MCP: send nothing if LedState is none in build_led(); return none from all transport button presses

git-svn-id: svn://localhost/ardour2/branches/3.0@11884 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: slightly cleaner code for button map definition
Paul Davis [Wed, 11 Apr 2012 03:18:35 +0000 (03:18 +0000)]
MCP: slightly cleaner code for button map definition

git-svn-id: svn://localhost/ardour2/branches/3.0@11883 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually build button map
Paul Davis [Wed, 11 Apr 2012 03:13:19 +0000 (03:13 +0000)]
MCP: actually build button map

git-svn-id: svn://localhost/ardour2/branches/3.0@11882 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix n_strips() count; new button dispatch scheme
Paul Davis [Wed, 11 Apr 2012 03:11:56 +0000 (03:11 +0000)]
MCP: fix n_strips() count; new button dispatch scheme

git-svn-id: svn://localhost/ardour2/branches/3.0@11881 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing, plus start of a new cleaner handling system for button handling
Paul Davis [Wed, 11 Apr 2012 02:54:25 +0000 (02:54 +0000)]
MCP: debug tracing, plus start of a new cleaner handling system for button handling

git-svn-id: svn://localhost/ardour2/branches/3.0@11880 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: tweak operation of most transport buttons, make save button work, start using...
Paul Davis [Wed, 11 Apr 2012 02:30:35 +0000 (02:30 +0000)]
MCP: tweak operation of most transport buttons, make save button work, start using button enums more widely

git-svn-id: svn://localhost/ardour2/branches/3.0@11879 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove debugging output, and fix MCP to use MISSING_INVALIDATOR to stop crash on...
Paul Davis [Wed, 11 Apr 2012 00:10:31 +0000 (00:10 +0000)]
remove debugging output, and fix MCP to use MISSING_INVALIDATOR to stop crash on close

git-svn-id: svn://localhost/ardour2/branches/3.0@11878 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoForward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
David Robillard [Tue, 10 Apr 2012 20:46:32 +0000 (20:46 +0000)]
Forward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
Fix worker implementation to preserve error codes.

git-svn-id: svn://localhost/ardour2/branches/3.0@11877 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix failed assertion with plugins with only an audio output are inserted on a MIDI...
David Robillard [Tue, 10 Apr 2012 20:45:39 +0000 (20:45 +0000)]
Fix failed assertion with plugins with only an audio output are inserted on a MIDI track.  This logic is probably completely wrong (i.e. it shouldn't be Split in the first place), but it fixes the crash, anyway.

git-svn-id: svn://localhost/ardour2/branches/3.0@11876 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix fader touch button IDs; remove last traces of MidiControlUI
Paul Davis [Tue, 10 Apr 2012 17:26:31 +0000 (17:26 +0000)]
MCP: fix fader touch button IDs; remove last traces of MidiControlUI

git-svn-id: svn://localhost/ardour2/branches/3.0@11873 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agogive MackieControlProtocol its own thread and make it parse incoming MIDI in that...
Paul Davis [Tue, 10 Apr 2012 17:13:55 +0000 (17:13 +0000)]
give MackieControlProtocol its own thread and make it parse incoming MIDI in that thread, as well as doing timeouts there too

git-svn-id: svn://localhost/ardour2/branches/3.0@11872 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoadd "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop...
Paul Davis [Tue, 10 Apr 2012 16:27:01 +0000 (16:27 +0000)]
add "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop from handling input for *all* MIDI ports created

git-svn-id: svn://localhost/ardour2/branches/3.0@11871 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing
Paul Davis [Tue, 10 Apr 2012 16:02:34 +0000 (16:02 +0000)]
MCP: debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11870 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing
Paul Davis [Tue, 10 Apr 2012 15:59:43 +0000 (15:59 +0000)]
MCP: debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11869 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agorevert previous redundant commit
Paul Davis [Tue, 10 Apr 2012 15:27:24 +0000 (15:27 +0000)]
revert previous redundant commit

git-svn-id: svn://localhost/ardour2/branches/3.0@11868 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agocall ProcessThread::init() to correctly setup per-thread process buffers for use...
Paul Davis [Tue, 10 Apr 2012 15:25:27 +0000 (15:25 +0000)]
call ProcessThread::init() to correctly setup per-thread process buffers for use during freeze() operations

git-svn-id: svn://localhost/ardour2/branches/3.0@11867 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix 2-char display message to avoid running status issues with JACK MIDI
Paul Davis [Tue, 10 Apr 2012 15:21:56 +0000 (15:21 +0000)]
MCP: fix 2-char display message to avoid running status issues with JACK MIDI

git-svn-id: svn://localhost/ardour2/branches/3.0@11866 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually map routes to strips, more debug tracing
Paul Davis [Tue, 10 Apr 2012 15:13:37 +0000 (15:13 +0000)]
MCP: actually map routes to strips, more debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11865 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually connect surfaces to incoming MIDI events
Paul Davis [Tue, 10 Apr 2012 14:46:51 +0000 (14:46 +0000)]
MCP: actually connect surfaces to incoming MIDI events

git-svn-id: svn://localhost/ardour2/branches/3.0@11864 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more debug tracing
Paul Davis [Tue, 10 Apr 2012 14:45:21 +0000 (14:45 +0000)]
MCP: more debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11863 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix build
Paul Davis [Tue, 10 Apr 2012 14:32:30 +0000 (14:32 +0000)]
MCP: fix build

git-svn-id: svn://localhost/ardour2/branches/3.0@11862 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodrastic, fundamental redesign of MCP code
Paul Davis [Tue, 10 Apr 2012 14:27:44 +0000 (14:27 +0000)]
drastic, fundamental redesign of MCP code

git-svn-id: svn://localhost/ardour2/branches/3.0@11861 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make rightward bank shift work, and add a flag for scrub mode; more code rearran...
Paul Davis [Mon, 9 Apr 2012 19:47:06 +0000 (19:47 +0000)]
MCP: make rightward bank shift work, and add a flag for scrub mode; more code rearrangement

git-svn-id: svn://localhost/ardour2/branches/3.0@11860 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agouse correct per-MCU index when building fader, pot, ledring messages
Paul Davis [Mon, 9 Apr 2012 19:10:24 +0000 (19:10 +0000)]
use correct per-MCU index when building fader, pot, ledring messages

git-svn-id: svn://localhost/ardour2/branches/3.0@11859 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: F1-7 jump to a given view; F8 closes any currently open dialog; in zoom mode...
Paul Davis [Mon, 9 Apr 2012 18:53:51 +0000 (18:53 +0000)]
MCP: F1-7 jump to a given view; F8 closes any currently open dialog; in zoom mode, up/down alter vertical track height of all tracks; option-up/down alters selected track heights

git-svn-id: svn://localhost/ardour2/branches/3.0@11858 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: shift-select resets gain to unity
Paul Davis [Mon, 9 Apr 2012 17:56:20 +0000 (17:56 +0000)]
MCP: shift-select resets gain to unity

git-svn-id: svn://localhost/ardour2/branches/3.0@11856 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange...
Paul Davis [Mon, 9 Apr 2012 17:48:16 +0000 (17:48 +0000)]
MCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange source so that all button handlesr are in mcp_buttons.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@11855 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: avoid debug flood from meters
Paul Davis [Mon, 9 Apr 2012 16:55:24 +0000 (16:55 +0000)]
MCP: avoid debug flood from meters

git-svn-id: svn://localhost/ardour2/branches/3.0@11854 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: register thread with GUI and create session event pool
Paul Davis [Mon, 9 Apr 2012 16:26:44 +0000 (16:26 +0000)]
MCP: register thread with GUI and create session event pool

git-svn-id: svn://localhost/ardour2/branches/3.0@11853 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: different meter debug trace; initial support for track selection
Paul Davis [Mon, 9 Apr 2012 16:15:55 +0000 (16:15 +0000)]
MCP: different meter debug trace; initial support for track selection

git-svn-id: svn://localhost/ardour2/branches/3.0@11852 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoallow ControlProtocols to call for undo/redo in GUI; make MCP use this
Paul Davis [Mon, 9 Apr 2012 15:50:38 +0000 (15:50 +0000)]
allow ControlProtocols to call for undo/redo in GUI; make MCP use this

git-svn-id: svn://localhost/ardour2/branches/3.0@11851 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: zoom button toggles led
Paul Davis [Mon, 9 Apr 2012 15:41:37 +0000 (15:41 +0000)]
MCP: zoom button toggles led

git-svn-id: svn://localhost/ardour2/branches/3.0@11850 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: zoom in on cursor right press
Paul Davis [Mon, 9 Apr 2012 15:40:21 +0000 (15:40 +0000)]
MCP: zoom in on cursor right press

git-svn-id: svn://localhost/ardour2/branches/3.0@11849 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: some debug tracing for meters
Paul Davis [Mon, 9 Apr 2012 15:35:20 +0000 (15:35 +0000)]
MCP: some debug tracing for meters

git-svn-id: svn://localhost/ardour2/branches/3.0@11848 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove redundant MackieButtonHandler class, implement initial zoom support for cursor...
Paul Davis [Mon, 9 Apr 2012 15:32:25 +0000 (15:32 +0000)]
remove redundant MackieButtonHandler class, implement initial zoom support for cursor left + right buttons

git-svn-id: svn://localhost/ardour2/branches/3.0@11847 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agostart breaking apart the various controls into their own headers and source code...
Paul Davis [Mon, 9 Apr 2012 13:59:35 +0000 (13:59 +0000)]
start breaking apart the various controls into their own headers and source code, and making each control know how to generate MIDI; throttle delivery of meter data and get meter ID right

git-svn-id: svn://localhost/ardour2/branches/3.0@11846 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: change refresh interval for meters + automation + timecode to 100msec
Paul Davis [Mon, 9 Apr 2012 00:45:22 +0000 (00:45 +0000)]
MCP: change refresh interval for meters + automation + timecode to 100msec

git-svn-id: svn://localhost/ardour2/branches/3.0@11845 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: add some locking to the RouteSignals object
Paul Davis [Mon, 9 Apr 2012 00:32:13 +0000 (00:32 +0000)]
MCP: add some locking to the RouteSignals object

git-svn-id: svn://localhost/ardour2/branches/3.0@11844 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: possible support for metering (really)
Paul Davis [Mon, 9 Apr 2012 00:03:58 +0000 (00:03 +0000)]
MCP: possible support for metering (really)

git-svn-id: svn://localhost/ardour2/branches/3.0@11843 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: possible support for metering
Paul Davis [Mon, 9 Apr 2012 00:03:35 +0000 (00:03 +0000)]
MCP: possible support for metering

git-svn-id: svn://localhost/ardour2/branches/3.0@11842 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make Strip aware of Meter
Paul Davis [Sun, 8 Apr 2012 23:20:14 +0000 (23:20 +0000)]
MCP: make Strip aware of Meter

git-svn-id: svn://localhost/ardour2/branches/3.0@11841 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: start up event loop (thread) so that we can do timeouts and metering; start...
Paul Davis [Sun, 8 Apr 2012 23:14:36 +0000 (23:14 +0000)]
MCP: start up event loop (thread) so that we can do timeouts and metering; start of Meter control support

git-svn-id: svn://localhost/ardour2/branches/3.0@11840 d708f5d6-7413-0410-9779-e7cbd77b26cf