diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index e3fdb84ee8..394a4611d3 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1815,10 +1815,9 @@ Editor::add_region_context_items (StreamView* sv, boost::shared_ptr regi items.push_back (SeparatorElem()); } - if (ar->scale_amplitude() != 1.0f) { - items.push_back (MenuElem (_("DeNormalize"), mem_fun(*this, &Editor::denormalize_region))); - } else { - items.push_back (MenuElem (_("Normalize"), mem_fun(*this, &Editor::normalize_region))); + items.push_back (MenuElem (_("Normalize"), mem_fun(*this, &Editor::normalize_region))); + if (ar->scale_amplitude() != 1) { + items.push_back (MenuElem (_("Reset Gain"), mem_fun(*this, &Editor::reset_region_scale_amplitude))); } } else if (mr) { @@ -1826,7 +1825,7 @@ Editor::add_region_context_items (StreamView* sv, boost::shared_ptr regi items.push_back (SeparatorElem()); } - items.push_back (MenuElem (_("Strip silence..."), mem_fun (*this, &Editor::strip_region_silence))); + items.push_back (MenuElem (_("Strip Silence..."), mem_fun (*this, &Editor::strip_region_silence))); items.push_back (MenuElem (_("Reverse"), mem_fun(*this, &Editor::reverse_region))); items.push_back (SeparatorElem()); diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 9f791e5901..56a7755051 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -1079,7 +1079,7 @@ class Editor : public PublicEditor void strip_region_silence (); void normalize_region (); double _last_normalization_value; - void denormalize_region (); + void reset_region_scale_amplitude (); void adjust_region_scale_amplitude (bool up); void quantize_region (); diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index d27727348d..d23c83eaf1 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -4687,7 +4687,7 @@ Editor::normalize_region () void -Editor::denormalize_region () +Editor::reset_region_scale_amplitude () { if (!session) { return; @@ -4701,7 +4701,7 @@ Editor::denormalize_region () return; } - begin_reversible_command ("denormalize"); + begin_reversible_command ("reset gain"); for (RegionSelection::iterator r = rs.begin(); r != rs.end(); ++r) { AudioRegionView* const arv = dynamic_cast(*r);