13
0
Commit Graph

10846 Commits

Author SHA1 Message Date
5601ae97da some more VU-meter tick marks.. 2013-07-26 22:57:39 +02:00
069fd15c79 cache shaded meter-background regardless of color
previously, shaded patterns were assumed to have different colors as well.
2013-07-26 17:17:05 +02:00
cd35040535 fix meter background redraw issue #5601 2013-07-26 17:10:05 +02:00
0a68e7bee7 fix typo for 0VU = 8dBu in config 2013-07-25 23:33:11 +02:00
908ee3bfea cache midi metrics depending on meter-type and data-type(s) 2013-07-25 20:56:25 +02:00
ce1adc65b7 remember meter-background highlight when type or width changes.. 2013-07-25 19:55:26 +02:00
43bd836778 [re]implement horizontal meter 2013-07-25 19:04:52 +02:00
d7a52dc0fe vtl: replace Ardour with Program-Name in messages 2013-07-25 14:19:28 +02:00
953e4aba54 prepare horizontal meters (level-meter H/V Box abstraction) 2013-07-25 14:18:39 +02:00
90ea64d1fc set midi-metric ticks depending on meter-type 2013-07-25 13:06:58 +02:00
5ad4b3cd7a VU meter label color&shadow tweak by the_CLA 2013-07-25 11:06:58 +02:00
ec0e92c3ab tweak label alignment 2013-07-25 11:03:36 +02:00
5fca8c9854 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-07-25 10:59:24 +02:00
132549c48a 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-07-25 10:53:11 +02:00
3c33ff2633 proper shadow for metric labels.. 2013-07-25 02:08:38 +02:00
380e2ca6ce fix compiler warning 2013-07-25 02:05:10 +02:00
bb85764f80 '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-07-25 01:44:16 +02:00
62398facd7 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-07-25 00:06:12 +02:00
376d6fe34e use only two colors for VU meter indicator and bright-gray for BBC 2013-07-24 23:24:11 +02:00
2ec45cfd1b align gradient with meter-metrics 2013-07-24 22:57:25 +02:00
a9975f44a5 reduce brightness of VU meter backplate & increase contrast of peak-label 2013-07-24 22:29:46 +02:00
e469ce0961 get meter color from gtkrc style file 2013-07-24 22:05:24 +02:00
b70057f576 add [master] meter to the toolbar
http://tracker.ardour.org/view.php?id=5601
2013-07-24 22:04:46 +02:00
6981e4d68e revert VU meter background to default gray-shade 2013-07-24 16:15:16 +02:00
33b067c12c increase saturation of meter-shader 2013-07-24 16:15:12 +02:00
2ca3329c10 fix display-type of editor-mixer level-meter 2013-07-24 16:15:06 +02:00
fd9c0a63fd increase meterbridge with if scrollbar is not visible.. 2013-07-24 15:48:03 +02:00
6f72c85344 add separator line to meterbridge 2013-07-24 15:47:53 +02:00
d8372bdf9b color meterbridge strips 2013-07-24 11:59:40 +02:00
6b96a4baa3 amend to 8deccea6 (resize meterbridge window) 2013-07-24 11:57:11 +02:00
fa332f31fa allow to en/disable shade and LED meter style 2013-07-24 02:47:37 +02:00
efb16a6faa meter background color.. 2013-07-24 02:46:53 +02:00
8b616b0757 meterbridge: meter-type dependent color-schema 2013-07-24 01:43:24 +02:00
8deccea615 limit width and resize meterbride window 2013-07-24 01:39:16 +02:00
6706f45b95 add "0VU = +8dBu" VU meter config 2013-07-23 23:53:22 +02:00
f2b547a14d change default VU mode to "0VU = +4dBu (standard)" 2013-07-23 23:11:50 +02:00
c8f1a545db clarify meter preference options 2013-07-23 23:07:41 +02:00
5d9fc75d7b BBC meter labels are always white 2013-07-23 23:07:17 +02:00
8da6a70ead implement meter-lineup and VU standard preferences 2013-07-23 21:20:51 +02:00
dd65329363 clean up video related messages 2013-07-23 20:24:23 +02:00
c4c70c347d use fixed fall-off time for k-meter 2013-07-23 19:13:45 +02:00
8e376f7a2a 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-07-23 16:42:34 +01:00
d5209cb4bf 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-07-23 11:29:10 -04:00
8013160eb3 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-07-23 13:30:23 +02:00
06e7ad67ae restore session backwards compatibility to 3.3 2013-07-22 19:59:24 +02:00
df17094b47 minor tweaks to meter-names and legend 2013-07-22 19:56:30 +02:00
708edd5866 implement new meter types 2013-07-22 18:45:08 +02:00
72aa1cd86c Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-07-22 18:42:01 +02:00
e294e78fef re-nice rendering of channel-splitting icon 2013-07-22 18:41:32 +02:00
bf408d60c8 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-07-19 12:10:41 +01:00