summaryrefslogtreecommitdiff
path: root/libs/ardour/panner_shell.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-15 21:39:53 +0100
committerRobin Gareus <robin@gareus.org>2020-03-15 21:39:53 +0100
commita7a781971e146a6a98c0c55543b849c6adcd41f0 (patch)
tree5ed69ef3961418fd0236bb938955924b16614dc0 /libs/ardour/panner_shell.cc
parentdbd4b9d07d776c891099c5d0706aa15648292266 (diff)
Change default stereo panner to equal power balance
The stereo-width panner is not generally useful. In order to change the azimuth, width has to be reduced, which usually leads to comb-filter artifacts. Equal power stereo, also matches the default mono to stereo panner better than the stereo-width panner. Last but not least, control surfaces only have an azimuth control knob, without an easy way to reduce width, this leaves the panner insensitive.
Diffstat (limited to 'libs/ardour/panner_shell.cc')
-rw-r--r--libs/ardour/panner_shell.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/panner_shell.cc b/libs/ardour/panner_shell.cc
index 92f2d8a40c..ac3a93c615 100644
--- a/libs/ardour/panner_shell.cc
+++ b/libs/ardour/panner_shell.cc
@@ -37,10 +37,11 @@
#include "pbd/cartesian.h"
#include "pbd/convert.h"
+#include "pbd/enumwriter.h"
#include "pbd/error.h"
#include "pbd/failed_constructor.h"
+#include "pbd/stateful.h"
#include "pbd/xml++.h"
-#include "pbd/enumwriter.h"
#include "evoral/Curve.h"
@@ -126,6 +127,9 @@ PannerShell::configure_io (ChanCount in, ChanCount out)
fatal << _("No panner found: check that panners are being discovered correctly during startup.") << endmsg;
abort(); /*NOTREACHED*/
}
+ if (Stateful::loading_state_version < 6000 && pi->descriptor.in == 2) {
+ _user_selected_panner_uri = pi->descriptor.panner_uri;
+ }
DEBUG_TRACE (DEBUG::Panning, string_compose (_("select panner: %1\n"), pi->descriptor.name.c_str()));