ardour.git
11 years agoexplicitly enforce selection rules to avoid some corner cases and avoid user confusion
Ben Loftis [Mon, 26 Nov 2012 22:37:34 +0000 (22:37 +0000)]
explicitly enforce selection rules to avoid some corner cases and avoid user confusion

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

11 years agodesensitize Follow Edits button if sync is external
Ben Loftis [Mon, 26 Nov 2012 22:35:57 +0000 (22:35 +0000)]
desensitize Follow Edits button if sync is external

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

11 years agosome tweaks to make narrow mixer strips actually narrow
Paul Davis [Mon, 26 Nov 2012 22:05:45 +0000 (22:05 +0000)]
some tweaks to make narrow mixer strips actually narrow

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

11 years agofrom the depths of thorwil's dumpster diving comes a fix incorrect solo behaviour...
Paul Davis [Wed, 21 Nov 2012 23:16:02 +0000 (23:16 +0000)]
from the depths of thorwil's dumpster diving comes a fix incorrect solo behaviour in 2.X sessions loaded into 3.0 because master/monitor/auditioner routes are not told to ignore solo state; remove unnecessary error message

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

11 years agoadd more DEBUG::Solo output ; fix assignment of remote control ID's from XML (#5079)
Paul Davis [Wed, 21 Nov 2012 19:56:55 +0000 (19:56 +0000)]
add more DEBUG::Solo output ; fix assignment of remote control ID's from XML (#5079)

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

11 years agotweak display of remote control id (dialog text)
Paul Davis [Wed, 21 Nov 2012 19:54:52 +0000 (19:54 +0000)]
tweak display of remote control id (dialog text)

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

11 years agoadd warning dialog if user tries to use audio+MIDI tracks
Paul Davis [Wed, 21 Nov 2012 17:14:05 +0000 (17:14 +0000)]
add warning dialog if user tries to use audio+MIDI tracks

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

11 years agofix double escape in r13530
Robin Gareus [Tue, 20 Nov 2012 21:17:03 +0000 (21:17 +0000)]
fix double escape in r13530

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

11 years agoAlways Play Range is now Follow Edits, and is based on Mixbus implementation. Added...
Ben Loftis [Tue, 20 Nov 2012 19:43:43 +0000 (19:43 +0000)]
Always Play Range is now Follow Edits, and is based on Mixbus implementation. Added menu item.  Follow Edits button replaces Auto Play; removed the connector between play and play-range.  Some Smart Mode changes came along for the ride but will be cleaned up shortly

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

11 years agomake range ruler visible by default - costs a few mm, saves confusion among new users
Paul Davis [Tue, 20 Nov 2012 14:03:09 +0000 (14:03 +0000)]
make range ruler visible by default - costs a few mm, saves confusion among new users

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

11 years agoreset default automation interval to 30msec
Paul Davis [Mon, 19 Nov 2012 22:16:45 +0000 (22:16 +0000)]
reset default automation interval to 30msec

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

11 years agoremove unused Automatable::automation_interval and related code
Paul Davis [Mon, 19 Nov 2012 22:03:50 +0000 (22:03 +0000)]
remove unused Automatable::automation_interval and related code

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

11 years agotweak config param for automation sampling interval, set to 500msec by default, and...
Paul Davis [Mon, 19 Nov 2012 21:31:44 +0000 (21:31 +0000)]
tweak config param for automation sampling interval, set to 500msec by default, and expose in prefs dialog

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

11 years agominor tweaks
Paul Davis [Mon, 19 Nov 2012 18:18:09 +0000 (18:18 +0000)]
minor tweaks

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

11 years agomarkup-escape track/playlist titles in tooltips.
Robin Gareus [Mon, 19 Nov 2012 16:18:03 +0000 (16:18 +0000)]
markup-escape track/playlist titles in tooltips.

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

11 years agofix prev commit (stupid C++ needs explicit typecast)
Robin Gareus [Sun, 18 Nov 2012 21:48:29 +0000 (21:48 +0000)]
fix prev commit (stupid C++ needs explicit typecast)

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

11 years agoprevent subveclen to wrap at 2^31
Robin Gareus [Sun, 18 Nov 2012 21:22:58 +0000 (21:22 +0000)]
prevent subveclen to wrap at 2^31

fixes http://pastebin.com/X629ZE7F (Timecode 22h @48k, 512fpp)

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

11 years agogrid/snap minimum selection length
Robin Gareus [Sun, 18 Nov 2012 15:35:05 +0000 (15:35 +0000)]
grid/snap minimum selection length

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

11 years agofix compiler warning
Robin Gareus [Sun, 18 Nov 2012 15:35:02 +0000 (15:35 +0000)]
fix compiler warning

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

11 years agofix O(N^M) behaviour of control point selection (N = number of control points, M...
Paul Davis [Sun, 18 Nov 2012 15:18:34 +0000 (15:18 +0000)]
fix O(N^M) behaviour of control point selection (N = number of control points, M = number of automatable parameters)

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

11 years agofix LTC frame TVstandard offset
Robin Gareus [Sun, 18 Nov 2012 09:53:13 +0000 (09:53 +0000)]
fix LTC frame TVstandard offset

<pre>
       Ardour-
      transport
     01:00:00:01
          |
          |
    5   5 |           NTSC Line
    2   2 |                                     1
    4   5 v 1   2   3   4   5   6   7   8   9   0
  ____________________             ________________    TV
  |   |   | | | | | | |_|_|_|_|_|_| | | | | | |   |

                          ^
                          |
                          v

    +-+ +-+ + + +-+   +-+ +---+   +---+
  | | | | | | | | |   | | |   |   |   |   |            LTC
  +-+ +-+ +-+ +-+ +---+ +-+   +---+   +---+

           SYNC-WORD      |
              LTC       B | B       LTC
          01:00:00:00   I | I   01:00:00:01
                        T   T
                        7
                        9   0
</pre>

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

11 years agofix drop-frame TC subframe rounding
Robin Gareus [Sun, 18 Nov 2012 09:53:11 +0000 (09:53 +0000)]
fix drop-frame TC subframe rounding

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

11 years agoDeliver MIDI events to atom ports that support it, merged with transport events.
David Robillard [Sun, 18 Nov 2012 04:35:31 +0000 (04:35 +0000)]
Deliver MIDI events to atom ports that support it, merged with transport events.
Eliminate delivery of non-MIDI events to Ardour MIDI buffers.
Fix the general mess of LV2 port flags and types.
Unify old MIDI API and new atom API MIDI stuff.

Making this work required changing the way we do LV2 MIDI slightly: instead of
BufferSet::get_lv2_midi doing the translation automatically, it returns an
empty buffer and the caller is responsible for actually filling it.  This
allows the LV2 code to iterate over the MIDI and transport changes in one go to
merge them into the buffer at the correct times.

Synth plugins using the new atom API now work and can get accurate transport
information along with the MIDI that drives them.

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

11 years agoDisable vulgar keep-above for plugin UIs.
David Robillard [Sun, 18 Nov 2012 04:23:45 +0000 (04:23 +0000)]
Disable vulgar keep-above for plugin UIs.

I vaguely recall it being mentioned that this was a kludge for OSX.  Maybe not and somebody will complain.  Oh well, this behaviour is incredibly obnoxious in some environments, and makes plugins that open dialogs (e.g. open file dialogs) completely unusable, and just generally wrong and evil.  I have to try.

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

11 years agoGracefully ignore plugins with no ports, or invalid ports.
David Robillard [Sun, 18 Nov 2012 01:48:28 +0000 (01:48 +0000)]
Gracefully ignore plugins with no ports, or invalid ports.
Remove crufty old LV2 debug printing stuff.

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

11 years agoBetter implementation of LV2 plugin<=>UI communication.
David Robillard [Sun, 18 Nov 2012 01:30:53 +0000 (01:30 +0000)]
Better implementation of LV2 plugin<=>UI communication.

This might use a bit more memory than it could, but it works reliably for me
loading a large Ingen patch inside Ardour as an LV2 plugin, which I'm pretty
sure is by far the most high volume such communication out there.

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

11 years agoLTC slave port gets its own headline.
Robin Gareus [Sun, 18 Nov 2012 01:25:31 +0000 (01:25 +0000)]
LTC slave port gets its own headline.

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

11 years agofix LTC frame offset for video standards
Robin Gareus [Sun, 18 Nov 2012 00:29:50 +0000 (00:29 +0000)]
fix LTC frame offset for video standards

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

11 years agofix LTC frame alignment
Robin Gareus [Sun, 18 Nov 2012 00:24:06 +0000 (00:24 +0000)]
fix LTC frame alignment

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

11 years agosubstantive change to automation line dragging code to avoid O(N^4) behaviour. perfor...
Paul Davis [Sat, 17 Nov 2012 22:55:03 +0000 (22:55 +0000)]
substantive change to automation line dragging code to avoid O(N^4) behaviour. performance fixes are still required for realistically data-rich automation lines

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

11 years agoupdate to libltc-1.1.0
Robin Gareus [Sat, 17 Nov 2012 20:15:41 +0000 (20:15 +0000)]
update to libltc-1.1.0

add support for TV standard specific offset and
binary-group-flags

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

11 years agoSent precise transport information to LV2 plugins via events.
David Robillard [Sat, 17 Nov 2012 18:41:19 +0000 (18:41 +0000)]
Sent precise transport information to LV2 plugins via events.

We send the full transport state (frame position, BBT time, transport speed,
meter) to the plugin:

 * At the start of a cycle whenever a relocate or transport speed change has
   occurred

 * On every occurrence of a meter change within a cycle

This means the plugin gets a sample accurate meter/tempo map, even if the meter
changes in the middle of a cycle.  However, this is not quite right yet: things
can get wonky if the tempo map is edited while rolling, since this code will
not detect the change and fail to update the plugin at the start of the cycle.

Other changes:

 * Factor out TempoMetric::set_metric() and simplify some tempo functions
 * Clean up LV2 URID stuff

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

11 years agoTidy up tempo.h and add some documentation.
David Robillard [Fri, 16 Nov 2012 22:56:47 +0000 (22:56 +0000)]
Tidy up tempo.h and add some documentation.
Fix some const violating casts.
No functional changes.

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

11 years agonew button look
Ben Loftis [Fri, 16 Nov 2012 19:27:39 +0000 (19:27 +0000)]
new button look

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

11 years agoFix libardour test build.
Carl Hetherington [Thu, 15 Nov 2012 19:46:40 +0000 (19:46 +0000)]
Fix libardour test build.

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

11 years agomove internal edit button away from mouse mode buttons by a small distance, and chang...
Paul Davis [Thu, 15 Nov 2012 19:36:09 +0000 (19:36 +0000)]
move internal edit button away from mouse mode buttons by a small distance, and change its tooltip to match website terminology

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

11 years agochange semantics for select-all operation: if no track is selected, use the current...
Paul Davis [Thu, 15 Nov 2012 17:20:38 +0000 (17:20 +0000)]
change semantics for select-all operation: if no track is selected, use the current entered track, or if there is no entered track, use all tracks; if in internal edit mode, check first to see if any MIDI tracks are among those to be operated on, and only do the internal edit version of select-all if there are

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

11 years agoadd a "guard" point after a write/touch automation insertion, preserving the shape...
Paul Davis [Thu, 15 Nov 2012 16:22:43 +0000 (16:22 +0000)]
add a "guard" point after a write/touch automation insertion, preserving the shape of the later segment of the existing line

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

11 years agohotfix negative TC editing - problem was introduced in r13491
Robin Gareus [Thu, 15 Nov 2012 13:19:07 +0000 (13:19 +0000)]
hotfix negative TC editing - problem was introduced in r13491

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

11 years agoprovide the ability to enable + disable tooltips
Paul Davis [Wed, 14 Nov 2012 23:23:53 +0000 (23:23 +0000)]
provide the ability to enable + disable tooltips

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

11 years agoadd missing <<endmsg
Paul Davis [Wed, 14 Nov 2012 21:54:19 +0000 (21:54 +0000)]
add missing <<endmsg

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

11 years agodo not add 2.X search path if its already present in the search path
Paul Davis [Wed, 14 Nov 2012 21:54:04 +0000 (21:54 +0000)]
do not add 2.X search path if its already present in the search path

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

11 years agofix missing start-touch call on faders because button press handler that does this...
Paul Davis [Wed, 14 Nov 2012 20:39:27 +0000 (20:39 +0000)]
fix missing start-touch call on faders because button press handler that does this was not corrected to the signal in the correct way (before the default handler)

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

11 years agoremove debug output
Paul Davis [Wed, 14 Nov 2012 20:38:48 +0000 (20:38 +0000)]
remove debug output

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

11 years agouse const static member instead of a magic number
Paul Davis [Wed, 14 Nov 2012 20:38:25 +0000 (20:38 +0000)]
use const static member instead of a magic number

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

11 years agomake startup window a dialog.
Robin Gareus [Wed, 14 Nov 2012 17:03:54 +0000 (17:03 +0000)]
make startup window a dialog.

improve behavior on tiling window managers

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

11 years agocenter Selection/Punch Clk titles over value-column
Robin Gareus [Wed, 14 Nov 2012 17:03:49 +0000 (17:03 +0000)]
center Selection/Punch Clk titles over value-column

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

11 years agolikely fixes for most remaining issues with data in automation/control lists, but...
Paul Davis [Wed, 14 Nov 2012 15:06:41 +0000 (15:06 +0000)]
likely fixes for most remaining issues with data in automation/control lists, but more testing needed

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

11 years agochange message displayed when there is an open file limit
Paul Davis [Wed, 14 Nov 2012 12:59:48 +0000 (12:59 +0000)]
change message displayed when there is an open file limit

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

11 years agoadd back definition of 2ndary clock delta text color
Paul Davis [Wed, 14 Nov 2012 12:44:46 +0000 (12:44 +0000)]
add back definition of 2ndary clock delta text color

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

11 years agofix #5025 part 2
Robin Gareus [Wed, 14 Nov 2012 05:01:28 +0000 (05:01 +0000)]
fix #5025 part 2

subscribe to route changes (track delete)

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

11 years agofix #5025 part 1
Robin Gareus [Wed, 14 Nov 2012 05:01:25 +0000 (05:01 +0000)]
fix #5025 part 1

cairo line may be rounded +-1 px, also invalidating area x<0 is a noop.

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

11 years agomark splash screen as such should fix #5069
Robin Gareus [Wed, 14 Nov 2012 03:35:25 +0000 (03:35 +0000)]
mark splash screen as such should fix #5069

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

11 years agoindicate negative TC when edit is positive.
Robin Gareus [Wed, 14 Nov 2012 03:35:23 +0000 (03:35 +0000)]
indicate negative TC when edit is positive.

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

11 years agoadd some meaning to the otherwise useless clock tooltips
Robin Gareus [Wed, 14 Nov 2012 03:35:20 +0000 (03:35 +0000)]
add some meaning to the otherwise useless clock tooltips

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

11 years agoput automation list into or out of Touch mode before adding an automation watch,...
Paul Davis [Wed, 14 Nov 2012 02:45:30 +0000 (02:45 +0000)]
put automation list into or out of Touch mode before adding an automation watch, so that ::touching() is correct when called from the add

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

11 years agoimprove negative [offset] TC entry
Robin Gareus [Wed, 14 Nov 2012 00:15:54 +0000 (00:15 +0000)]
improve negative [offset] TC entry

  * make mouse interaction work with negative TC
  * show minus-sign when edit is negative

TODO: ?minus? sign indicator when text editing a negative TC.

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

11 years agoadd tooltips to Offset config
Robin Gareus [Wed, 14 Nov 2012 00:15:52 +0000 (00:15 +0000)]
add tooltips to Offset config

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

11 years agoupdate BPM and Meter when changed, also change back labels for it.
Robin Gareus [Tue, 13 Nov 2012 23:29:57 +0000 (23:29 +0000)]
update BPM and Meter when changed, also change back labels for it.

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

11 years agoimplement TC offset for slave&generator.
Robin Gareus [Tue, 13 Nov 2012 20:29:28 +0000 (20:29 +0000)]
implement TC offset for slave&generator.

Many related changes that require atomic update, mostly
because ClockOption slots changed:

  * change offset config format to std:string (backwards compat - reads 0)
  * make Timecode offset independent from fps
  * sample_to_timecode() handle negative sample-num
  * audio-clock fix entry and edit of negative numbers
  * option editor:
    - remove old global internal offset
    - add slave & generator TC entry
    - still needs UI cleanup, tooltops, maybe sep. tab..
  * LTC & MTC slave& generator:
    - cache offset
    - subscribe to parameter changes

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

11 years agoclock: pull-up/down display update
Robin Gareus [Tue, 13 Nov 2012 20:29:24 +0000 (20:29 +0000)]
clock: pull-up/down display update

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

11 years agorevert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note...
Paul Davis [Tue, 13 Nov 2012 19:23:16 +0000 (19:23 +0000)]
revert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note velocities as well as deccrease them (note: this will make the use of MIDI CC #7 a bit more complex)

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

11 years agorationalize text/base/bg/fg colors in all entry styles
Paul Davis [Tue, 13 Nov 2012 18:28:31 +0000 (18:28 +0000)]
rationalize text/base/bg/fg colors in all entry styles

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

11 years agodetermine whether or not to accept comma or period as a numeric character based on...
Paul Davis [Tue, 13 Nov 2012 18:05:09 +0000 (18:05 +0000)]
determine whether or not to accept comma or period as a numeric character based on locale settings (once per instance of ardour), related to #5027

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

11 years agochange handling of MIDI gain so that we present a linear fader spanning 0..127. this...
Paul Davis [Tue, 13 Nov 2012 17:47:39 +0000 (17:47 +0000)]
change handling of MIDI gain so that we present a linear fader spanning 0..127. this is based on the realization that we actually have no idea what the MIDI receiver will do with velocity and/or CC #7 values, and so trying to pretend that we can provide some kind of dB value in the display or the behaviour of the fader is completely wrong; ALSO: fix keyboard entry of fader levels for non EN locales (#5027)

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

11 years agoadd timecode format parser
Robin Gareus [Tue, 13 Nov 2012 16:14:25 +0000 (16:14 +0000)]
add timecode format parser

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

11 years agooiling the audio clock
Robin Gareus [Tue, 13 Nov 2012 16:14:22 +0000 (16:14 +0000)]
oiling the audio clock

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

11 years agoremove a bunch of cerr output and/or convert to use error<<
Paul Davis [Tue, 13 Nov 2012 15:11:07 +0000 (15:11 +0000)]
remove a bunch of cerr output and/or convert to use error<<

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

11 years agoparse keyboard entered drop-frame timecode delta
Robin Gareus [Tue, 13 Nov 2012 02:25:59 +0000 (02:25 +0000)]
parse keyboard entered drop-frame timecode delta

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

11 years agoadd alt-i as a binding in both the editor and mixer windows to toggle the state of...
Paul Davis [Tue, 13 Nov 2012 02:19:04 +0000 (02:19 +0000)]
add alt-i as a binding in both the editor and mixer windows to toggle the state of MIDI input on the selected track(s); in the mixer this will also operate on the strip under the mouse. fixes #4838

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

11 years agomake audio clock fill vertical space
Robin Gareus [Tue, 13 Nov 2012 02:00:51 +0000 (02:00 +0000)]
make audio clock fill vertical space

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

11 years agooverhaul timecode calculations
Robin Gareus [Tue, 13 Nov 2012 02:00:49 +0000 (02:00 +0000)]
overhaul timecode calculations

in particular proper SMPTE12M drop-frame support
and subframe rounding.

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

11 years agoshorten Metrum & Tempo label
Robin Gareus [Tue, 13 Nov 2012 02:00:47 +0000 (02:00 +0000)]
shorten Metrum & Tempo label

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

11 years agocomplete r13404 - use double for timecode fps.
Robin Gareus [Tue, 13 Nov 2012 02:00:45 +0000 (02:00 +0000)]
complete r13404 - use double for timecode fps.

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

11 years agochange Alt-b binding for toggle-track-rec-enable to Shift-b, to avoid conflicting...
Paul Davis [Mon, 12 Nov 2012 23:41:02 +0000 (23:41 +0000)]
change Alt-b binding for toggle-track-rec-enable to Shift-b, to avoid conflicting with the binding for toggle-big-clock-window

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

11 years agomove metronome button again
Paul Davis [Mon, 12 Nov 2012 23:39:43 +0000 (23:39 +0000)]
move metronome button again

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

11 years agodo not attach plugin automation submenu to automation menu if the route has no plugin...
Paul Davis [Mon, 12 Nov 2012 20:03:57 +0000 (20:03 +0000)]
do not attach plugin automation submenu to automation menu if the route has no plugins (avoid common user confusion) - thanks thorsten

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

11 years agoresize metronome icon to keep transport button sizes consistent
Paul Davis [Mon, 12 Nov 2012 19:36:34 +0000 (19:36 +0000)]
resize metronome icon to keep transport button sizes consistent

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

11 years agoadd metronome SVG and tweak opacity and stroke width to make it more congruent with...
Paul Davis [Mon, 12 Nov 2012 19:09:21 +0000 (19:09 +0000)]
add metronome SVG and tweak opacity and stroke width to make it more congruent with existing transport icons

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

11 years agobrighten blue color used for clock delta mode
Paul Davis [Mon, 12 Nov 2012 18:33:03 +0000 (18:33 +0000)]
brighten blue color used for clock delta mode

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

11 years agomove metronome/click button into main transport section. icon needs some work to...
Paul Davis [Mon, 12 Nov 2012 18:23:58 +0000 (18:23 +0000)]
move metronome/click button into main transport section. icon needs some work to be more congruent with the rest

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

11 years agoadd labels for BBT clock info
Robin Gareus [Mon, 12 Nov 2012 18:18:15 +0000 (18:18 +0000)]
add labels for BBT clock info

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

11 years agodisplay slave initial before slave timecode
Robin Gareus [Mon, 12 Nov 2012 17:54:55 +0000 (17:54 +0000)]
display slave initial before slave timecode

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

11 years agoreally fix vertical alignment of info text (again :) )
Robin Gareus [Mon, 12 Nov 2012 17:54:52 +0000 (17:54 +0000)]
really fix vertical alignment of info text (again :) )

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

11 years agotweak display of cleanup results, and make greek/latin prefix names there translatable
Paul Davis [Mon, 12 Nov 2012 17:41:31 +0000 (17:41 +0000)]
tweak display of cleanup results, and make greek/latin prefix names there translatable

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

11 years agofix #5076 - we failed to actually find any existing snapshots because the path scanne...
Paul Davis [Mon, 12 Nov 2012 17:41:04 +0000 (17:41 +0000)]
fix #5076 - we failed to actually find any existing snapshots because the path scanner was passing filename only, not full paths, to the filter function which used a Glib::file_test() on it (and failed)

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

11 years agoaudio-clock: fix right-alignment
Robin Gareus [Mon, 12 Nov 2012 16:49:20 +0000 (16:49 +0000)]
audio-clock: fix right-alignment

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

11 years agoslave delta: move sign next to the digit
Robin Gareus [Mon, 12 Nov 2012 16:49:18 +0000 (16:49 +0000)]
slave delta: move sign next to the digit

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

11 years agoredraw of markup'ed sections when style/font is [re]loaded.
Robin Gareus [Mon, 12 Nov 2012 16:49:15 +0000 (16:49 +0000)]
redraw of markup'ed sections when style/font is [re]loaded.

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

11 years agoprevent changing slave while slave is active
Robin Gareus [Mon, 12 Nov 2012 16:49:11 +0000 (16:49 +0000)]
prevent changing slave while slave is active

fix potential segfault: clock asking for slave's timecode
when the slave is not a Timecode-slave.

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

11 years agomake pull-up/down truly exclusive with JACK
Robin Gareus [Mon, 12 Nov 2012 16:49:05 +0000 (16:49 +0000)]
make pull-up/down truly exclusive with JACK

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

11 years agofix for crash caused as slave is switching from non-TC source to TC-source
Paul Davis [Mon, 12 Nov 2012 16:48:50 +0000 (16:48 +0000)]
fix for crash caused as slave is switching from non-TC source to TC-source

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

11 years agofix for #5078 - not considering unused playlists when computing region use count
Paul Davis [Mon, 12 Nov 2012 15:50:38 +0000 (15:50 +0000)]
fix for #5078 - not considering unused playlists when computing region use count

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

11 years agoreduce audio clock height
Robin Gareus [Mon, 12 Nov 2012 14:05:45 +0000 (14:05 +0000)]
reduce audio clock height

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

11 years agobrighten up main clock color, and change font size to be closer to the old sans font...
Paul Davis [Mon, 12 Nov 2012 14:03:51 +0000 (14:03 +0000)]
brighten up main clock color, and change font size to be closer to the old sans font size even though we now use monospace

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

11 years agoRevert "fix small screen mode width"
Robin Gareus [Mon, 12 Nov 2012 13:43:12 +0000 (13:43 +0000)]
Revert "fix small screen mode width"

This reverts commit e963a8dbc1d71aa78bed9407bafd7f8948db9712.

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

11 years agofix small screen mode width
Robin Gareus [Mon, 12 Nov 2012 13:31:13 +0000 (13:31 +0000)]
fix small screen mode width

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

11 years agoslightly gray clock background - consistent with punch/nudge clk
Robin Gareus [Mon, 12 Nov 2012 12:49:53 +0000 (12:49 +0000)]
slightly gray clock background - consistent with punch/nudge clk

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

11 years agoMIDIClock is not a Timecode slave, fix segfault
Robin Gareus [Sun, 11 Nov 2012 23:11:53 +0000 (23:11 +0000)]
MIDIClock is not a Timecode slave, fix segfault

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

11 years agoclock width for 99999 bars (9999 allows 2h46m @ 240bpm)
Robin Gareus [Sun, 11 Nov 2012 23:11:50 +0000 (23:11 +0000)]
clock width for 99999 bars (9999 allows 2h46m @ 240bpm)

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