From 2e483cfeba7cd6bc91441bc384d074cedad023a7 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Mon, 24 Jan 2011 01:13:08 +0100 Subject: [PATCH] Prepare UI for "volume normalization" filter. --- etc/Translation/Blank.ts | 16 ++++ etc/Translation/LameXP_DE.ts | 34 +++++-- etc/Translation/LameXP_ES.ts | 16 ++++ etc/Translation/LameXP_FR.ts | 16 ++++ etc/Translation/LameXP_IT.ts | 16 ++++ gui/MainWindow.ui | 175 +++++++++++++++++++++++++++++++++- res/localization/LameXP_DE.qm | Bin 45916 -> 46415 bytes src/Dialog_MainWindow.cpp | 22 +++++ src/Dialog_MainWindow.h | 2 + src/Model_Settings.cpp | 4 + src/Model_Settings.h | 2 + 11 files changed, 293 insertions(+), 10 deletions(-) diff --git a/etc/Translation/Blank.ts b/etc/Translation/Blank.ts index 6f465d86..389f0a11 100644 --- a/etc/Translation/Blank.ts +++ b/etc/Translation/Blank.ts @@ -517,6 +517,22 @@ Enforce HE-AAC v2 (AAC + SBR + PS) + + Volume Normalization + + + + Enable Normalization Filter + + + + Peak Volume (dB): + + + + Reset Advanced Options + + Encode Now! diff --git a/etc/Translation/LameXP_DE.ts b/etc/Translation/LameXP_DE.ts index d33de303..4b979369 100644 --- a/etc/Translation/LameXP_DE.ts +++ b/etc/Translation/LameXP_DE.ts @@ -316,7 +316,7 @@ Meta Information - Meta Informationen + Meta Informationen Edit @@ -332,7 +332,7 @@ Options - Optionen + Optionen Automatically generate playlist file (.m3u) @@ -348,7 +348,7 @@ Encoder / Format - Kodierer / Format + Kodierer / Format Lame MP3 @@ -372,7 +372,7 @@ Rate Control Method - Bitraten Steuerungsmethode + Bitraten Steuerungsmethode Quality-based (VBR) @@ -388,7 +388,7 @@ Quality / Bitrate - Qualität / Bitrate + Qualität / Bitrate Minimum @@ -404,7 +404,7 @@ Encode Now! - Jetzt Kodieren! + Jetzt Kodieren! About... @@ -412,7 +412,7 @@ Exit Program - Programm Ende + Programm Ende File @@ -896,7 +896,7 @@ LAME Algorithm Quality - LAME Algorithmus Qualität + LAME Algorithmus Qualität Faster Processing @@ -928,7 +928,7 @@ Bitrate Management (LAME and OggEnc2) - Bitraten Verwaltung (LAME und OggEnc2) + Bitraten Verwaltung (LAME und OggEnc2) Enable Bitrate Management @@ -1030,6 +1030,22 @@ Enforce HE-AAC v2 (AAC + SBR + PS) Erzwinge HE-AAC v2 (AAC + SBR + PS) + + Volume Normalization + Lautstärke Normalisieren + + + Enable Normalization Filter + Normalisierungsfilter Aktivieren + + + Peak Volume (dB): + Max. Lautstärke (dB): + + + Reset Advanced Options + Erweiterte Optionen Zurücksetzen + MetaInfo diff --git a/etc/Translation/LameXP_ES.ts b/etc/Translation/LameXP_ES.ts index 7acae9a1..22643301 100644 --- a/etc/Translation/LameXP_ES.ts +++ b/etc/Translation/LameXP_ES.ts @@ -1030,6 +1030,22 @@ Enforce HE-AAC v2 (AAC + SBR + PS) + + Volume Normalization + + + + Enable Normalization Filter + + + + Peak Volume (dB): + + + + Reset Advanced Options + + MetaInfo diff --git a/etc/Translation/LameXP_FR.ts b/etc/Translation/LameXP_FR.ts index 307aab4f..3a3826f8 100644 --- a/etc/Translation/LameXP_FR.ts +++ b/etc/Translation/LameXP_FR.ts @@ -1034,6 +1034,22 @@ Votre dossier TEMP est situé ici: Enforce HE-AAC v2 (AAC + SBR + PS) + + Volume Normalization + + + + Enable Normalization Filter + + + + Peak Volume (dB): + + + + Reset Advanced Options + + MetaInfo diff --git a/etc/Translation/LameXP_IT.ts b/etc/Translation/LameXP_IT.ts index 988bd4d0..c89f3b29 100644 --- a/etc/Translation/LameXP_IT.ts +++ b/etc/Translation/LameXP_IT.ts @@ -1030,6 +1030,22 @@ Enforce HE-AAC v2 (AAC + SBR + PS) + + Volume Normalization + + + + Enable Normalization Filter + + + + Peak Volume (dB): + + + + Reset Advanced Options + + MetaInfo diff --git a/gui/MainWindow.ui b/gui/MainWindow.ui index 4d5e0921..1defd64f 100644 --- a/gui/MainWindow.ui +++ b/gui/MainWindow.ui @@ -971,6 +971,12 @@ + + QFrame::Plain + + + Qt::ScrollBarAlwaysOff + true @@ -980,7 +986,7 @@ 0 0 604 - 431 + 520 @@ -1617,6 +1623,151 @@ + + + + + 50 + false + + + + Volume Normalization + + + + + + + + Enable Normalization Filter + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 10 + 20 + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 10 + 20 + + + + + + + + false + + + + 160 + 0 + + + + -12.000000000000000 + + + 0.000000000000000 + + + 0.500000000000000 + + + + + + + Peak Volume (dB): + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 8 + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 8 + + + + + + + + + @@ -2128,6 +2279,12 @@ + + + + + + @@ -2498,5 +2655,21 @@ + + checkBoxNormalizationFilter + clicked(bool) + spinBoxNormalizationFilter + setEnabled(bool) + + + 133 + 502 + + + 447 + 502 + + + diff --git a/res/localization/LameXP_DE.qm b/res/localization/LameXP_DE.qm index 684cb58d606d3ce1fbe97b6740310cea3ee67c69..e37325d2fbdc7d58bb6fcb984c180555c79bdf86 100644 GIT binary patch delta 3409 zcmZ`*X;>6j7Cqfn)q7W~fC>mAg3zc06*t5Pf*`nWxFanfwn0z)jb_wn-1jAkc zcmUl1&whZ^1+ZCZ`QGO?Fkm3Cmh)q(fX~hWlLr8fZ|ZEO1!CDCAb1o@abQWBIu`g8Kfngj}agpP6QenAe}i5jIV(7b`H;*e-XyGLqPlC@SE!nthkN9 z$XK9dFGQ|d3FM}tr}+Rdy#P^%y@0PyAi5jFEb8*x;=H_<}DcV&u4XK#~cgn%-t)t{63U zH!y!I63f~Gvy7PPmI6eDBh$G(kbe$KQ#Jq|7OYu#8gQ9_9aWtGr{>uI&+9ilTSLjC`!(!s_3EF0&OsUn3GBPZU?K5;>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pn_TyjjpV)z9ir1m3Fc#_)XmG__lJIVrGH`$t}4hd-;MFH$4sE9!*n zL?Y2!otDu+r!=e6&fjCBDQdFyT`n-=y=pDy9P10z3>PjHS2r~)njJQaSBvb*Sm0K5 zdu9y9^IE;*ycigLORcM^;JG>K@8%Ai`@ht;eK-~K-l%W$Gig|Y#VskF+ij`E(D9unFLN(2^K?mVXkjSmxzYjDzP{ z=9luIwwI;YoybJKv3z|oisQA+QvSsfiZsh|dW$J=t<*xbB5Yy-Um1SeaX zcd*dWcHFz8?WK2D+nlBTwoyJ_LKEAQSVvp2kE`HmJL%(Td+5_a=*&#^Hh*7t+YsMQ dWxxCGbShIr`Zc#zq?*ePj6Nop)sCM$^nbz3cb)(M diff --git a/src/Dialog_MainWindow.cpp b/src/Dialog_MainWindow.cpp index f7393bd6..0b55a0f2 100644 --- a/src/Dialog_MainWindow.cpp +++ b/src/Dialog_MainWindow.cpp @@ -217,11 +217,13 @@ MainWindow::MainWindow(FileListModel *fileListModel, AudioFileModel *metaInfo, S sliderLameAlgoQuality->setValue(m_settings->lameAlgoQuality()); spinBoxBitrateManagementMin->setValue(m_settings->bitrateManagementMinRate()); spinBoxBitrateManagementMax->setValue(m_settings->bitrateManagementMaxRate()); + spinBoxNormalizationFilter->setValue(static_cast(m_settings->normalizationFilterMaxVolume()) / 100.0); comboBoxMP3ChannelMode->setCurrentIndex(m_settings->lameChannelMode()); comboBoxSamplingRate->setCurrentIndex(m_settings->samplingRate()); comboBoxNeroAACProfile->setCurrentIndex(m_settings->neroAACProfile()); while(checkBoxBitrateManagement->isChecked() != m_settings->bitrateManagementEnabled()) checkBoxBitrateManagement->click(); while(checkBoxNeroAAC2PassMode->isChecked() != m_settings->neroAACEnable2Pass()) checkBoxNeroAAC2PassMode->click(); + while(checkBoxNormalizationFilter->isChecked() != m_settings->normalizationFilterEnabled()) checkBoxNormalizationFilter->click(); connect(sliderLameAlgoQuality, SIGNAL(valueChanged(int)), this, SLOT(updateLameAlgoQuality(int))); connect(checkBoxBitrateManagement, SIGNAL(clicked(bool)), this, SLOT(bitrateManagementEnabledChanged(bool))); connect(spinBoxBitrateManagementMin, SIGNAL(valueChanged(int)), this, SLOT(bitrateManagementMinChanged(int))); @@ -230,6 +232,8 @@ MainWindow::MainWindow(FileListModel *fileListModel, AudioFileModel *metaInfo, S connect(comboBoxSamplingRate, SIGNAL(currentIndexChanged(int)), this, SLOT(samplingRateChanged(int))); connect(checkBoxNeroAAC2PassMode, SIGNAL(clicked(bool)), this, SLOT(neroAAC2PassChanged(bool))); connect(comboBoxNeroAACProfile, SIGNAL(currentIndexChanged(int)), this, SLOT(neroAACProfileChanged(int))); + connect(checkBoxNormalizationFilter, SIGNAL(clicked(bool)), this, SLOT(normalizationEnabledChanged(bool))); + connect(spinBoxNormalizationFilter, SIGNAL(valueChanged(double)), this, SLOT(normalizationMaxVolumeChanged(double))); connect(buttonResetAdvancedOptions, SIGNAL(clicked()), this, SLOT(resetAdvancedOptionsButtonClicked())); updateLameAlgoQuality(sliderLameAlgoQuality->value()); @@ -1692,6 +1696,22 @@ void MainWindow::neroAACProfileChanged(int value) if(value >= 0) m_settings->neroAACProfile(value); } +/* + * Normalization filter enabled changed + */ +void MainWindow::normalizationEnabledChanged(bool checked) +{ + m_settings->normalizationFilterEnabled(checked); +} + +/* + * Normalization max. volume changed + */ +void MainWindow::normalizationMaxVolumeChanged(double value) +{ + m_settings->normalizationFilterMaxVolume(static_cast(value * 100.0)); +} + /* * Reset all advanced options to their defaults */ @@ -1700,11 +1720,13 @@ void MainWindow::resetAdvancedOptionsButtonClicked() sliderLameAlgoQuality->setValue(m_settings->lameAlgoQualityDefault()); spinBoxBitrateManagementMin->setValue(m_settings->bitrateManagementMinRateDefault()); spinBoxBitrateManagementMax->setValue(m_settings->bitrateManagementMaxRateDefault()); + spinBoxNormalizationFilter->setValue(static_cast(m_settings->normalizationFilterMaxVolumeDefault()) / 100.0); comboBoxMP3ChannelMode->setCurrentIndex(m_settings->lameChannelModeDefault()); comboBoxSamplingRate->setCurrentIndex(m_settings->samplingRateDefault()); comboBoxNeroAACProfile->setCurrentIndex(m_settings->neroAACProfileDefault()); while(checkBoxBitrateManagement->isChecked() != m_settings->bitrateManagementEnabledDefault()) checkBoxBitrateManagement->click(); while(checkBoxNeroAAC2PassMode->isChecked() != m_settings->neroAACEnable2PassDefault()) checkBoxNeroAAC2PassMode->click(); + while(checkBoxNormalizationFilter->isChecked() != m_settings->normalizationFilterEnabledDefault()) checkBoxNormalizationFilter->click(); scrollArea->verticalScrollBar()->setValue(0); } diff --git a/src/Dialog_MainWindow.h b/src/Dialog_MainWindow.h index 0d8b6e9e..3010cc25 100644 --- a/src/Dialog_MainWindow.h +++ b/src/Dialog_MainWindow.h @@ -87,6 +87,8 @@ private slots: void channelModeChanged(int value); void neroAACProfileChanged(int value); void neroAAC2PassChanged(bool checked); + void normalizationEnabledChanged(bool checked); + void normalizationMaxVolumeChanged(double volume); void resetAdvancedOptionsButtonClicked(); void sourceModelChanged(void); void metaTagsEnabledChanged(void); diff --git a/src/Model_Settings.cpp b/src/Model_Settings.cpp index 2274f5d2..db31b99b 100644 --- a/src/Model_Settings.cpp +++ b/src/Model_Settings.cpp @@ -59,6 +59,8 @@ static const char *g_settingsId_bitrateManagementMaxRate = "AdvancedOptions/Bitr static const char *g_settingsId_samplingRate = "AdvancedOptions/Common/Resampling"; static const char *g_settingsId_neroAACEnable2Pass = "AdvancedOptions/NeroAAC/Enable2Pass"; static const char *g_settingsId_neroAACProfile = "AdvancedOptions/NeroAAC/ForceProfile"; +static const char *g_settingsId_normalizationFilterEnabled = "AdvancedOptions/VolumeNormalization/Enabled"; +static const char *g_settingsId_normalizationFilterMaxVolume = "AdvancedOptions/VolumeNormalization/MaxVolume"; //Macros #define MAKE_OPTION1(OPT,DEF) \ @@ -223,3 +225,5 @@ MAKE_OPTION1(bitrateManagementMaxRate, 500) MAKE_OPTION1(samplingRate, 0) MAKE_OPTION3(neroAACEnable2Pass, true) MAKE_OPTION1(neroAACProfile, 0) +MAKE_OPTION3(normalizationFilterEnabled, false) +MAKE_OPTION1(normalizationFilterMaxVolume, -50) diff --git a/src/Model_Settings.h b/src/Model_Settings.h index fd57eb9a..8081f033 100644 --- a/src/Model_Settings.h +++ b/src/Model_Settings.h @@ -91,6 +91,8 @@ public: MAKE_OPTION_DEC1(samplingRate) MAKE_OPTION_DEC3(neroAACEnable2Pass) MAKE_OPTION_DEC1(neroAACProfile) + MAKE_OPTION_DEC3(normalizationFilterEnabled) + MAKE_OPTION_DEC1(normalizationFilterMaxVolume) //Misc void validate(void);