Commit graph

10991 commits

Author SHA1 Message Date
Robin Gareus
ec0e92c3ab tweak label alignment 2013-07-25 11:03:36 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
3c33ff2633 proper shadow for metric labels.. 2013-07-25 02:08:38 +02:00
Robin Gareus
380e2ca6ce fix compiler warning 2013-07-25 02:05:10 +02:00
Robin Gareus
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
Paul Davis
2af6491c1c new file 2013-07-24 19:30:08 -04:00
Paul Davis
9ac6bb9bef part-way through getting the audioengine changes to compile 2013-07-24 19:29:45 -04:00
Robin Gareus
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
Robin Gareus
376d6fe34e use only two colors for VU meter indicator and bright-gray for BBC 2013-07-24 23:24:11 +02:00
Robin Gareus
2ec45cfd1b align gradient with meter-metrics 2013-07-24 22:57:25 +02:00
Robin Gareus
a9975f44a5 reduce brightness of VU meter backplate & increase contrast of peak-label 2013-07-24 22:29:46 +02:00
Robin Gareus
e469ce0961 get meter color from gtkrc style file 2013-07-24 22:05:24 +02:00
Robin Gareus
b70057f576 add [master] meter to the toolbar
http://tracker.ardour.org/view.php?id=5601
2013-07-24 22:04:46 +02:00
Robin Gareus
6981e4d68e revert VU meter background to default gray-shade 2013-07-24 16:15:16 +02:00
Robin Gareus
33b067c12c increase saturation of meter-shader 2013-07-24 16:15:12 +02:00
Robin Gareus
2ca3329c10 fix display-type of editor-mixer level-meter 2013-07-24 16:15:06 +02:00
Robin Gareus
fd9c0a63fd increase meterbridge with if scrollbar is not visible.. 2013-07-24 15:48:03 +02:00
Robin Gareus
6f72c85344 add separator line to meterbridge 2013-07-24 15:47:53 +02:00
Paul Davis
3d95822716 more miscellaneous changes for audioengine, all of this is still far from actually compiling 2013-07-24 08:36:04 -04:00
Robin Gareus
d8372bdf9b color meterbridge strips 2013-07-24 11:59:40 +02:00
Robin Gareus
6b96a4baa3 amend to 8deccea6 (resize meterbridge window) 2013-07-24 11:57:11 +02:00
Paul Davis
17588cc9be pre-initial version of AudioBackend API (still under heavy development) 2013-07-23 22:18:22 -04:00
Paul Davis
18d352bb6e changes to audioengine.h 2013-07-23 22:15:21 -04:00
Paul Davis
f8ef1e94c3 inch-like progress on defining the API for AudioBackend and separating AudioEngine from this 2013-07-23 22:14:52 -04:00
Robin Gareus
fa332f31fa allow to en/disable shade and LED meter style 2013-07-24 02:47:37 +02:00
Robin Gareus
efb16a6faa meter background color.. 2013-07-24 02:46:53 +02:00
Robin Gareus
8b616b0757 meterbridge: meter-type dependent color-schema 2013-07-24 01:43:24 +02:00
Robin Gareus
8deccea615 limit width and resize meterbride window 2013-07-24 01:39:16 +02:00
Robin Gareus
6706f45b95 add "0VU = +8dBu" VU meter config 2013-07-23 23:53:22 +02:00
Robin Gareus
f2b547a14d change default VU mode to "0VU = +4dBu (standard)" 2013-07-23 23:11:50 +02:00
Robin Gareus
c8f1a545db clarify meter preference options 2013-07-23 23:07:41 +02:00
Robin Gareus
5d9fc75d7b BBC meter labels are always white 2013-07-23 23:07:17 +02:00
Robin Gareus
8da6a70ead implement meter-lineup and VU standard preferences 2013-07-23 21:20:51 +02:00
Robin Gareus
dd65329363 clean up video related messages 2013-07-23 20:24:23 +02:00
Robin Gareus
c4c70c347d use fixed fall-off time for k-meter 2013-07-23 19:13:45 +02:00
Colin Fletcher
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
Paul Davis
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
Robin Gareus
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
Robin Gareus
06e7ad67ae restore session backwards compatibility to 3.3 2013-07-22 19:59:24 +02:00
Robin Gareus
df17094b47 minor tweaks to meter-names and legend 2013-07-22 19:56:30 +02:00
Robin Gareus
708edd5866 implement new meter types 2013-07-22 18:45:08 +02:00
Robin Gareus
72aa1cd86c Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-07-22 18:42:01 +02:00
Robin Gareus
e294e78fef re-nice rendering of channel-splitting icon 2013-07-22 18:41:32 +02:00
Colin Fletcher
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
Robin Gareus
649cf189e8 update processor-name (short|long) when mixer-strip width changes 2013-07-19 10:37:49 +02:00
Robin Gareus
b91caf557c adjust meter-width when configuration changes
fixes http://tracker.ardour.org/view.php?id=5592
2013-07-19 10:37:00 +02:00
Robin Gareus
f0a3f1ea52 reset meter when meter-point changes 2013-07-18 09:01:47 +02:00
Robin Gareus
d2c39db64d mixer metric background color fix (MIDI & inactive)
fixes http://tracker.ardour.org/view.php?id=5594
2013-07-18 09:00:24 +02:00
Robin Gareus
55c5a76e8b revert to right-side mixer metric-labels 2013-07-17 23:33:23 +02:00