clarify loudness analysis/normalization

This commit is contained in:
Robin Gareus 2016-05-14 12:21:47 +02:00
parent d10947d488
commit 15722b957c
2 changed files with 6 additions and 2 deletions

View File

@ -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);

View File

@ -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);