13
0
Commit Graph

10914 Commits

Author SHA1 Message Date
26c4ae14cb Don't allow to deactivate meter.
before this change:

1) switch to 'custom' meter point,
2) deactivate meter processor.

-> meters does not run regardless of meter-point
-> meter can only be re-nabled in 'custom' mode
2013-08-08 15:25:40 -04:00
d327ab43cf reset meters only when *really* necessary
..and continue to calculate fall-off in
audio-cycle (rather than UI thread)

TODO: check if this works properly when switching
between audio/midi meter modes on a midi-track.

One of the motivations to always reset meters when the
meter-point changes was to resolve peak-hold & fall-off
issues when a midi-meter replaces an audio-meter and vice
versa.
2013-08-08 15:25:40 -04:00
2da5fb9f36 proper shadow for metric labels.. 2013-08-08 15:25:40 -04:00
d39d296ff8 fix compiler warning 2013-08-08 15:25:40 -04:00
adaf3c8cef 'overlay shadow' on meter-metrics experiment
TODO: shadow should really be 'behind'. ie save color,
stroke_preserve() shadow, paint text-layout with saved color
and eventually cairo_new_path() reset the path...
2013-08-08 15:25:40 -04:00
1ec9d46ab3 fix crash with "send" meters.
Meters in send-UI don't necessarily have a route,
but their type cannot be changed, anyway.
So just use "PeakMeter".
2013-08-08 15:25:40 -04:00
8dc1947455 use only two colors for VU meter indicator and bright-gray for BBC 2013-08-08 15:25:40 -04:00
ba8742edd1 align gradient with meter-metrics 2013-08-08 15:25:40 -04:00
7b7dc98417 reduce brightness of VU meter backplate & increase contrast of peak-label 2013-08-08 15:25:40 -04:00
7b18260175 get meter color from gtkrc style file 2013-08-08 15:25:40 -04:00
8f1499664d add [master] meter to the toolbar
http://tracker.ardour.org/view.php?id=5601
2013-08-08 15:24:50 -04:00
9980a8fc3c revert VU meter background to default gray-shade 2013-08-08 15:24:49 -04:00
d10b712897 increase saturation of meter-shader 2013-08-08 15:24:49 -04:00
49e24a6e0a fix display-type of editor-mixer level-meter 2013-08-08 15:24:49 -04:00
89e1fbff88 increase meterbridge with if scrollbar is not visible.. 2013-08-08 15:24:49 -04:00
e7cef1629a add separator line to meterbridge 2013-08-08 15:24:49 -04:00
794ad61ff7 color meterbridge strips 2013-08-08 15:24:49 -04:00
74d6ce715a amend to 8deccea6 (resize meterbridge window) 2013-08-08 15:24:49 -04:00
bc66985710 allow to en/disable shade and LED meter style 2013-08-08 15:24:49 -04:00
7323c153ae meter background color.. 2013-08-08 15:24:49 -04:00
ca21170790 meterbridge: meter-type dependent color-schema 2013-08-08 15:24:15 -04:00
f62b3e60b2 limit width and resize meterbride window 2013-08-08 15:24:15 -04:00
2c9484fe14 add "0VU = +8dBu" VU meter config 2013-08-08 15:24:15 -04:00
b713fceed0 change default VU mode to "0VU = +4dBu (standard)" 2013-08-08 15:24:15 -04:00
664434899e clarify meter preference options 2013-08-08 15:24:15 -04:00
1be4063301 BBC meter labels are always white 2013-08-08 15:24:15 -04:00
2faf401fea implement meter-lineup and VU standard preferences 2013-08-08 15:24:15 -04:00
1e7beb5a31 clean up video related messages 2013-08-08 15:24:15 -04:00
3ec7a620a3 use fixed fall-off time for k-meter 2013-08-08 15:24:15 -04:00
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00
c222acecaa fix #5609 (import with 1 track per channel mis-associates tracks + channels)
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track
are also named differently, and thus reloaded properly when the session is reloaded.
2013-08-08 15:24:15 -04:00
59b18de1d3 meterbridge metrics update:
* display metrics for every used meter-type
* show metrics between meters with differnet types
* update text and label alignment for meterbridge
* fix crash when deleting metrics-strip (zero route)
* clean up metric pattern code (use float for dBFS)
2013-08-08 15:24:15 -04:00
d31c0f759c restore session backwards compatibility to 3.3 2013-08-08 15:24:15 -04:00
0738d74637 minor tweaks to meter-names and legend 2013-08-08 15:24:15 -04:00
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
bd2ddc09ab Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-08-08 15:23:11 -04:00
fd5c8e11e1 re-nice rendering of channel-splitting icon 2013-08-08 15:23:11 -04:00
5ccd13ea78 Wrap calls to add_shortcut_folder() in try { ... } block.
Gtk::FileChooserButton::add_shortcut_folder() throws a Glib::Error
exception if the folder being added already has a shortcut, causing the
'New session' dialogue to appear empty when choosing 'New...' from the
Session menu. This happens if Ardour's default session folder is
set to a location that has a standard shortcut in the Gtk file chooser,
e.g. the user's home directory, desktop, &c.

Catch the exception in ArdourStartup::setup_new_session_page(), so that the
'New session' dialogue appears as expected, and likewise in
ARDOUR_UI::open_session() to avoid a similar problem there.

Fixes #5591.
2013-08-08 15:23:11 -04:00
ba0b825d02 update processor-name (short|long) when mixer-strip width changes 2013-08-08 15:23:11 -04:00
844a958d29 adjust meter-width when configuration changes
fixes http://tracker.ardour.org/view.php?id=5592
2013-08-08 15:23:11 -04:00
67c5652edb reset meter when meter-point changes 2013-08-08 15:23:10 -04:00
271981d3f7 mixer metric background color fix (MIDI & inactive)
fixes http://tracker.ardour.org/view.php?id=5594
2013-08-08 15:23:10 -04:00
a943cfd662 revert to right-side mixer metric-labels 2013-08-08 15:23:10 -04:00
416b8d424c don't hide ticks in narrow mode 2013-08-08 15:23:10 -04:00
699f2717eb meter metrics: ignore global font-scaling 2013-08-08 15:23:10 -04:00
dbe31bcf22 add a stripe-pattern to the meters 2013-08-08 15:23:10 -04:00
60b429806f use ArdourMono font for metric patterns 2013-08-08 15:23:10 -04:00
00803110f8 move mixer-metric pattern to the left 2013-08-08 15:23:10 -04:00
94e40537f7 fix typo 2013-08-08 15:23:10 -04:00
8fd9a72085 possible fix for 5591 (show elements after re-adding them) 2013-08-08 15:23:10 -04:00