mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Region loudness normalization GUI #8777
This commit is contained in:
parent
5a9fde4a0b
commit
f457225d08
3 changed files with 127 additions and 16 deletions
|
|
@ -24,6 +24,7 @@ namespace Gtk {
|
|||
class RadioButton;
|
||||
class SpinButton;
|
||||
class ProgressBar;
|
||||
class ComboBoxText;
|
||||
}
|
||||
|
||||
class NormalizeDialog : public ArdourDialog, public ProgressReporter
|
||||
|
|
@ -32,9 +33,14 @@ public:
|
|||
NormalizeDialog (bool);
|
||||
|
||||
bool normalize_individually () const;
|
||||
bool use_true_peak () const;
|
||||
bool constrain_rms () const;
|
||||
bool constrain_lufs () const;
|
||||
|
||||
double target_peak () const;
|
||||
double target_rms () const;
|
||||
double target_lufs () const;
|
||||
|
||||
int run ();
|
||||
|
||||
void on_response (int response_id) {
|
||||
|
|
@ -46,14 +52,21 @@ private:
|
|||
void button_clicked (int);
|
||||
void update_sensitivity ();
|
||||
|
||||
Gtk::RadioButton* _normalize_individually;
|
||||
Gtk::CheckButton* _constrain_rms;
|
||||
Gtk::SpinButton* _spin_peak;
|
||||
Gtk::SpinButton* _spin_rms;
|
||||
Gtk::ProgressBar* _progress_bar;
|
||||
Gtk::ComboBoxText* _dbfs_dbtp;
|
||||
Gtk::RadioButton* _normalize_individually;
|
||||
Gtk::CheckButton* _constrain_rms;
|
||||
Gtk::CheckButton* _constrain_lufs;
|
||||
Gtk::SpinButton* _spin_peak;
|
||||
Gtk::SpinButton* _spin_rms;
|
||||
Gtk::SpinButton* _spin_lufs;
|
||||
Gtk::ProgressBar* _progress_bar;
|
||||
|
||||
static double _last_normalization_value;
|
||||
static double _last_rms_target_value;
|
||||
static double _last_lufs_target_value;
|
||||
|
||||
static bool _last_normalize_individually;
|
||||
static bool _last_normalize_true_peak;
|
||||
static bool _last_constrain_rms;
|
||||
static bool _last_constrain_lufs;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue