From 026362b5a6e9e5c4e631b3f14206cea2cfa1d8b9 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 29 Oct 2019 19:17:02 +0100 Subject: [PATCH] Really fix carla-single --- data/carla-single | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/carla-single b/data/carla-single index 9638564d4..00905e579 100755 --- a/data/carla-single +++ b/data/carla-single @@ -49,7 +49,7 @@ Possible formats: - dssi - lv2 - vst|vst2 - - gig + - vst3 - sf2 - sfz @@ -96,7 +96,7 @@ if len(sys.argv) == arg: # -------------------------------------------------------------------------------------------------------- # Set format -if sys.argv[arg] in ("internal", "ladspa", "dssi", "lv2", "vst", "vst2", "vst3", "au", "gig", "sf2", "sfz"): +if sys.argv[arg] in ("internal", "ladspa", "dssi", "lv2", "vst", "vst2", "vst3", "au", "sf2", "sfz"): FORMAT = sys.argv[arg] arg += 1 @@ -143,7 +143,7 @@ if len(sys.argv) > arg: # Set uniqueId (optional) if len(sys.argv) > arg: - if FORMAT in ("internal", "dssi", "lv2", "au", "gig", "sf2", "sfz"): + if FORMAT in ("internal", "dssi", "lv2", "au", "sf2", "sfz"): print("uniqueId is not used in this format, ignored") else: try: @@ -192,7 +192,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", "gig", "sf2", "sfz"): +if FORMAT not in ("internal", "ladspa", "dssi", "lv2", "vst2", "vst3", "au", "sf2", "sfz"): print("Invalid format") sys.exit(1) @@ -207,6 +207,7 @@ LADSPA_PATH = os.getenv("LADSPA_PATH") DSSI_PATH = os.getenv("DSSI_PATH") LV2_PATH = os.getenv("LV2_PATH") VST2_PATH = os.getenv("VST_PATH") +VST3_PATH = os.getenv("VST3_PATH") SF2_PATH = os.getenv("SF2_PATH") SFZ_PATH = os.getenv("SFZ_PATH") @@ -214,6 +215,7 @@ if LADSPA_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_LADSPA"] = LAD if DSSI_PATH is not None: os.environ["ENGINE_OPTION_PLUGIN_PATH_DSSI"] = DSSI_PATH 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 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