e1581242ca
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
2012-11-13 20:29:28 +00:00
f761de0d70
clock: pull-up/down display update
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 20:29:24 +00:00
3f35528f18
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
2012-11-13 19:23:16 +00:00
40a7b0f0b3
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
2012-11-13 18:28:31 +00:00
0c0b04ab5c
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
2012-11-13 18:05:09 +00:00
c0bb288ff1
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
2012-11-13 17:47:39 +00:00
55c7a3bf01
add timecode format parser
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 16:14:25 +00:00
1f1cba3814
oiling the audio clock
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 16:14:22 +00:00
98834c0532
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
2012-11-13 15:11:07 +00:00
06fa1b73e5
parse keyboard entered drop-frame timecode delta
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:25:59 +00:00
3fa84d0caa
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
2012-11-13 02:19:04 +00:00
cf55921aea
make audio clock fill vertical space
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:51 +00:00
b8ff65ea1b
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
2012-11-13 02:00:49 +00:00
ba54b9583b
shorten Metrum & Tempo label
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:47 +00:00
0b80f3391b
complete r13404 - use double for timecode fps.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:45 +00:00
cb4c25dd7d
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
2012-11-12 23:41:02 +00:00
759b049dbb
move metronome button again
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 23:39:43 +00:00
fc14ecb93b
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
2012-11-12 20:03:57 +00:00
edd694171b
resize metronome icon to keep transport button sizes consistent
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 19:36:34 +00:00
a6757a4a30
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
2012-11-12 19:09:21 +00:00
d8ed31946b
brighten blue color used for clock delta mode
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 18:33:03 +00:00
406d4d1dab
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
2012-11-12 18:23:58 +00:00
2508f3ba94
add labels for BBT clock info
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 18:18:15 +00:00
d546c20bed
display slave initial before slave timecode
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:54:55 +00:00
dc520de915
really fix vertical alignment of info text (again :) )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:54:52 +00:00
759918dcc8
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
2012-11-12 17:41:31 +00:00
4a6bf110e0
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
2012-11-12 17:41:04 +00:00
6cc0a4abf0
audio-clock: fix right-alignment
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:20 +00:00
2c1b2256b6
slave delta: move sign next to the digit
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:18 +00:00
bdad852b71
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
2012-11-12 16:49:15 +00:00
c528c1178a
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
2012-11-12 16:49:11 +00:00
ad4d781477
make pull-up/down truly exclusive with JACK
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:05 +00:00
c214f1630a
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
2012-11-12 16:48:50 +00:00
7253e8ff84
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
2012-11-12 15:50:38 +00:00
f73bfef770
reduce audio clock height
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 14:05:45 +00:00
0c9943cdbb
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
2012-11-12 14:03:51 +00:00
86e16e723e
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
2012-11-12 13:43:12 +00:00
e3a010ff69
fix small screen mode width
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 13:31:13 +00:00
086e2613c4
slightly gray clock background - consistent with punch/nudge clk
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 12:49:53 +00:00
4e1a813f4d
MIDIClock is not a Timecode slave, fix segfault
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 23:11:53 +00:00
6657159ba8
clock width for 99999 bars (9999 allows 2h46m @ 240bpm)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 23:11:50 +00:00
50158b8bf1
restore bg color of status bar in main window
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13444 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:36:00 +00:00
b8b8384a26
add support for using - as prefix keys to enter a negative value in an audio clock. so far only used for session timecode offset option clock
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:20:40 +00:00
b36caf3b6f
highlight mismatching slave TC
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:06:42 +00:00
8872844a60
add slave and generator Timecode offset (no UI yet)
...
So far only LTC slave, LTC generator and MTC slave.
MTC generator remains to be done.
git-svn-id: svn://localhost/ardour2/branches/3.0@13441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 20:43:53 +00:00
44680aa1bb
fix horiz alignment (corner-radius is added to layout)
...
and subtract alignment from mouse interaction
git-svn-id: svn://localhost/ardour2/branches/3.0@13440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 20:43:50 +00:00
09194dcf88
clock-delta mode restore: anticipate toggling set_active callback
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 18:15:13 +00:00
3f2e8fe305
show slave info in Min:Sec mode - fill empty space
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 17:36:31 +00:00
797ac9ef91
fix initial info color when switching to delta mode.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:39:54 +00:00
1f14987044
rounding off all clock corners
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13436 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:27:29 +00:00