From de6833ab6064f08b7b3d0ecb02eec9163fcaba92 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 22 Oct 2022 15:35:48 +0100 Subject: [PATCH] Handle clap as format in carla-single script Signed-off-by: falkTX --- data/carla-single | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data/carla-single b/data/carla-single index d5bfdca81..7e968d795 100755 --- a/data/carla-single +++ b/data/carla-single @@ -50,6 +50,7 @@ Possible formats: - lv2 - vst|vst2 - vst3 + - clap - jsfx - sf2 - sfz @@ -98,7 +99,7 @@ if len(sys.argv) == arg: # -------------------------------------------------------------------------------------------------------- # Set format -if sys.argv[arg] in ("internal", "ladspa", "dssi", "lv2", "vst", "vst2", "vst3", "au", "jsfx", "sf2", "sfz"): +if sys.argv[arg] in ("internal", "ladspa", "dssi", "lv2", "vst", "vst2", "vst3", "au", "clap", "jsfx", "sf2", "sfz"): FORMAT = sys.argv[arg] arg += 1 @@ -194,7 +195,7 @@ if ARCH not in ("native", "posix32", "posix64", "win32", "win64"): print("Invalid arch") sys.exit(1) -if FORMAT not in ("internal", "ladspa", "dssi", "lv2", "vst2", "vst3", "au", "jsfx", "sf2", "sfz"): +if FORMAT not in ("internal", "ladspa", "dssi", "lv2", "vst2", "vst3", "au", "clap", "jsfx", "sf2", "sfz"): print("Invalid format") sys.exit(1) @@ -210,6 +211,7 @@ DSSI_PATH = os.getenv("DSSI_PATH") LV2_PATH = os.getenv("LV2_PATH") VST2_PATH = os.getenv("VST_PATH") VST3_PATH = os.getenv("VST3_PATH") +CLAP_PATH = os.getenv("CLAP_PATH") SF2_PATH = os.getenv("SF2_PATH") SFZ_PATH = os.getenv("SFZ_PATH") @@ -218,6 +220,7 @@ if DSSI_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_DSSI"] = DSS if LV2_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_LV2"] = LV2_PATH if VST2_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_VST2"] = VST2_PATH if VST3_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_VST3"] = VST3_PATH +if CLAP_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_CLAP"] = CLAP_PATH if SF2_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_SF2"] = SF2_PATH if SFZ_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_SFZ"] = SFZ_PATH