3 const String Kwidget_ConvolutionReverb::Parameters::Mix =
"Mix";
4 const String Kwidget_ConvolutionReverb::Parameters::Predelay =
"Predelay";
5 const String Kwidget_ConvolutionReverb::Parameters::WetGain =
"WetGain";
6 const String Kwidget_ConvolutionReverb::Parameters::ImpulsePath =
"ImpulsePath";
7 const String Kwidget_ConvolutionReverb::Parameters::Bypass =
"Bypass";
22 return {{P::Mix, P::Mix, {0.0f, 1.0f}, 0.0f},
23 {P::Predelay, P::Predelay, {0.0f, 500.0f, 1.0f, 0.5f}, 0.0f},
24 {P::WetGain, P::WetGain, {-30.0f, 30.0f}, 0.0f},
25 {P::Bypass, P::Bypass, {0.0f, 1.0f, 1.0f}, 0.0f}};
30 return std::make_unique<KwidgetProcessor_ConvolutionReverb>(*
this);
35 return std::make_unique<KwidgetGUI_ConvolutionReverb>(*
this);
58 ValueTree impulseCustomParameter =
61 Kwidget_ConvolutionReverb::Parameters::ImpulsePath);
64 if (!impulseCustomParameter.isValid() || impulsePath.isEmpty())
67 return Result::fail(
"Could not find impulse path parameter to rewrite");
static File getAssetDirectory()
Definition AssetManager.cpp:383
String convertFilePathString(const String &inputPath)
Converts a file path passed as a raw string, to the current platform. Has no effect if the path is al...
Definition helpers.cpp:129
String StringsIntoPath(Args... args)
Joins multiple string arguments into a path string.
Definition helpers.h:25
Definition AirAbsorptionFilter.cpp:2
Kwidget_CoreEngine::Parameters Parameters
Definition KwidgetGUI_CoreEngine.cpp:42
static const Identifier id
Definition XmlType.h:41
static const Identifier value
Definition XmlType.h:42
static const Identifier customParams
Definition XmlType.h:20