summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-14 12:21:47 +0200
committerRobin Gareus <robin@gareus.org>2016-05-14 15:16:23 +0200
commit15722b957c3fef2cc833b2b258a502409c7fbbc2 (patch)
tree75ef7bbd2987984f34e46357e15f7daf37a23db5 /gtk2_ardour
parentd10947d488534693024be62ae0613a056692a474 (diff)
clarify loudness analysis/normalization
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/export_format_dialog.cc4
-rw-r--r--gtk2_ardour/export_report.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/export_format_dialog.cc b/gtk2_ardour/export_format_dialog.cc
index 1376dab142..bafadc7238 100644
--- a/gtk2_ardour/export_format_dialog.cc
+++ b/gtk2_ardour/export_format_dialog.cc
@@ -23,6 +23,7 @@
#include "export_format_dialog.h"
#include "gui_thread.h"
+#include "tooltips.h"
#include "i18n.h"
using namespace ARDOUR;
@@ -119,6 +120,9 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
normalize_hbox.pack_start (normalize_dbtp_spinbutton, false, false, 2);
normalize_hbox.pack_start (normalize_dbtp_label, false, false, 0);
+ ARDOUR_UI_UTILS::set_tooltip (normalize_loudness_rb,
+ _("Normalize loudness to not exceed given EBU-R128/RMS LUFS and given true-peak. EBU-R128 normalization is only available for mono and stereo targets."));
+
normalize_dbfs_spinbutton.configure (normalize_dbfs_adjustment, 0.1, 2);
normalize_lufs_spinbutton.configure (normalize_lufs_adjustment, 0.1, 2);
normalize_dbtp_spinbutton.configure (normalize_dbtp_adjustment, 0.1, 2);
diff --git a/gtk2_ardour/export_report.cc b/gtk2_ardour/export_report.cc
index 092b782ee6..52262c16eb 100644
--- a/gtk2_ardour/export_report.cc
+++ b/gtk2_ardour/export_report.cc
@@ -1146,7 +1146,7 @@ ExportReport::draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave, ExportAna
}
}
- // > 0dBFS
+ // >= 0dBFS
cr->set_source_rgba (1.0, 0, 0, 1.0);
for (size_t x = 0 ; x < width; ++x) {
if (p->peaks[c][x].max >= 1.0) {
@@ -1160,7 +1160,7 @@ ExportReport::draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave, ExportAna
}
cr->stroke ();
- // > -1dBTP
+ // >= -1dBTP (coeff >= .89125, libs/vamp-plugins/TruePeak.cpp)
cr->set_source_rgba (1.0, 0.7, 0, 0.7);
for (std::set<framepos_t>::const_iterator i = p->truepeakpos[c].begin (); i != p->truepeakpos[c].end (); ++i) {
cr->move_to (m_l + (*i) - .5, clip_top);