Commit graph

10922 commits

Author SHA1 Message Date
Robin Gareus
008628fd57 cache midi metrics depending on meter-type and data-type(s) 2013-08-08 15:26:01 -04:00
Robin Gareus
51d3fa09ca remember meter-background highlight when type or width changes.. 2013-08-08 15:26:01 -04:00
Robin Gareus
12c9055659 [re]implement horizontal meter 2013-08-08 15:26:01 -04:00
Robin Gareus
6178e65cdd vtl: replace Ardour with Program-Name in messages 2013-08-08 15:26:01 -04:00
Robin Gareus
1d964e27f4 prepare horizontal meters (level-meter H/V Box abstraction) 2013-08-08 15:25:40 -04:00
Robin Gareus
afb9578462 set midi-metric ticks depending on meter-type 2013-08-08 15:25:40 -04:00
Robin Gareus
af49c39d3d VU meter label color&shadow tweak by the_CLA 2013-08-08 15:25:40 -04:00
Robin Gareus
dd8c5f9144 tweak label alignment 2013-08-08 15:25:40 -04:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
2da5fb9f36 proper shadow for metric labels.. 2013-08-08 15:25:40 -04:00
Robin Gareus
d39d296ff8 fix compiler warning 2013-08-08 15:25:40 -04:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
8dc1947455 use only two colors for VU meter indicator and bright-gray for BBC 2013-08-08 15:25:40 -04:00
Robin Gareus
ba8742edd1 align gradient with meter-metrics 2013-08-08 15:25:40 -04:00
Robin Gareus
7b7dc98417 reduce brightness of VU meter backplate & increase contrast of peak-label 2013-08-08 15:25:40 -04:00
Robin Gareus
7b18260175 get meter color from gtkrc style file 2013-08-08 15:25:40 -04:00
Robin Gareus
8f1499664d add [master] meter to the toolbar
http://tracker.ardour.org/view.php?id=5601
2013-08-08 15:24:50 -04:00
Robin Gareus
9980a8fc3c revert VU meter background to default gray-shade 2013-08-08 15:24:49 -04:00
Robin Gareus
d10b712897 increase saturation of meter-shader 2013-08-08 15:24:49 -04:00
Robin Gareus
49e24a6e0a fix display-type of editor-mixer level-meter 2013-08-08 15:24:49 -04:00
Robin Gareus
89e1fbff88 increase meterbridge with if scrollbar is not visible.. 2013-08-08 15:24:49 -04:00
Robin Gareus
e7cef1629a add separator line to meterbridge 2013-08-08 15:24:49 -04:00
Robin Gareus
794ad61ff7 color meterbridge strips 2013-08-08 15:24:49 -04:00
Robin Gareus
74d6ce715a amend to 8deccea6 (resize meterbridge window) 2013-08-08 15:24:49 -04:00
Robin Gareus
bc66985710 allow to en/disable shade and LED meter style 2013-08-08 15:24:49 -04:00
Robin Gareus
7323c153ae meter background color.. 2013-08-08 15:24:49 -04:00
Robin Gareus
ca21170790 meterbridge: meter-type dependent color-schema 2013-08-08 15:24:15 -04:00
Robin Gareus
f62b3e60b2 limit width and resize meterbride window 2013-08-08 15:24:15 -04:00
Robin Gareus
2c9484fe14 add "0VU = +8dBu" VU meter config 2013-08-08 15:24:15 -04:00
Robin Gareus
b713fceed0 change default VU mode to "0VU = +4dBu (standard)" 2013-08-08 15:24:15 -04:00
Robin Gareus
664434899e clarify meter preference options 2013-08-08 15:24:15 -04:00
Robin Gareus
1be4063301 BBC meter labels are always white 2013-08-08 15:24:15 -04:00
Robin Gareus
2faf401fea implement meter-lineup and VU standard preferences 2013-08-08 15:24:15 -04:00
Robin Gareus
1e7beb5a31 clean up video related messages 2013-08-08 15:24:15 -04:00
Robin Gareus
3ec7a620a3 use fixed fall-off time for k-meter 2013-08-08 15:24:15 -04:00
Colin Fletcher
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
Paul Davis
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
Robin Gareus
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
Robin Gareus
d31c0f759c restore session backwards compatibility to 3.3 2013-08-08 15:24:15 -04:00
Robin Gareus
0738d74637 minor tweaks to meter-names and legend 2013-08-08 15:24:15 -04:00
Robin Gareus
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
Robin Gareus
bd2ddc09ab Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-08-08 15:23:11 -04:00
Robin Gareus
fd5c8e11e1 re-nice rendering of channel-splitting icon 2013-08-08 15:23:11 -04:00
Colin Fletcher
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
Robin Gareus
ba0b825d02 update processor-name (short|long) when mixer-strip width changes 2013-08-08 15:23:11 -04:00
Robin Gareus
844a958d29 adjust meter-width when configuration changes
fixes http://tracker.ardour.org/view.php?id=5592
2013-08-08 15:23:11 -04:00
Robin Gareus
67c5652edb reset meter when meter-point changes 2013-08-08 15:23:10 -04:00
Robin Gareus
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