Browse Source

Allow carla-single to start plugins in bridge, add an example

tags/v1.9.11
falkTX 6 years ago
parent
commit
1d32de24b7
2 changed files with 6 additions and 11 deletions
  1. +6
    -7
      data/carla-single
  2. +0
    -4
      data/windows/build-deps.sh

+ 6
- 7
data/carla-single View File

@@ -59,10 +59,11 @@ $ %s dssi /usr/lib/dssi/whysynth.so
$ %s lv2 http://calf.sourceforge.net/plugins/Compressor $ %s lv2 http://calf.sourceforge.net/plugins/Compressor
$ %s native vst /usr/lib/vst/TAL-NoiseMaker.so $ %s native vst /usr/lib/vst/TAL-NoiseMaker.so
$ %s win32 vst \"~/.wine/drive_c/Program Files (x86)/VstPlugins/Kontakt 5.dll\" $ %s win32 vst \"~/.wine/drive_c/Program Files (x86)/VstPlugins/Kontakt 5.dll\"
$ CARLA_BRIDGE_PLUGIN_BINARY_TYPE=win64 %s vst \"~/.wine/drive_c/Program Files/Common Files/VST2/Sytrus VSTi.dll\"


Format can be skipped for internal and lv2 plugins (auto-detected), like this: Format can be skipped for internal and lv2 plugins (auto-detected), like this:
$ %s midipattern $ %s midipattern
$ %s http://synthv1.sourceforge.net/lv2""" % ((sys.argv[0],)*8)
$ %s http://synthv1.sourceforge.net/lv2""" % ((sys.argv[0],)*9)


def printUsageAndQuit(): def printUsageAndQuit():
print(usageMsg) print(usageMsg)
@@ -74,7 +75,7 @@ if len(sys.argv) < 2:
# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------
# Initialize variables to null # Initialize variables to null


ARCH = "native"
ARCH = os.getenv("CARLA_BRIDGE_PLUGIN_BINARY_TYPE", "native")
FORMAT = "none" FORMAT = "none"
FILENAME = "" FILENAME = ""
LABEL = "" LABEL = ""
@@ -202,10 +203,6 @@ if FILENAME and not os.path.exists(FILENAME):
# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------
# Setup environment # Setup environment


#os.environ["ENGINE_OPTION_UIS_ALWAYS_ON_TOP"] = "false"
#os.environ["ENGINE_OPTION_MAX_PARAMETERS"] = "200"
#os.environ["ENGINE_OPTION_UI_BRIDGES_TIMEOUT"] = "3000"

LADSPA_PATH = os.getenv("LADSPA_PATH") LADSPA_PATH = os.getenv("LADSPA_PATH")
DSSI_PATH = os.getenv("DSSI_PATH") DSSI_PATH = os.getenv("DSSI_PATH")
LV2_PATH = os.getenv("LV2_PATH") LV2_PATH = os.getenv("LV2_PATH")
@@ -240,7 +237,9 @@ else:


command = [] command = []


if ARCH == "win32":
if os.getenv("CARLA_BRIDGE_PLUGIN_BINARY_TYPE") is not None:
BRIDGE = os.path.join(CARLA_LIBDIR, "carla-bridge-native")
elif ARCH == "win32":
command.append("wine") command.append("wine")
elif ARCH == "win64": elif ARCH == "win64":
command.append("wine64") command.append("wine64")


+ 0
- 4
data/windows/build-deps.sh View File

@@ -113,10 +113,6 @@ export WINDRES=${MINGW_PREFIX}-windres


export PATH=/opt/mingw${ARCH}/${MINGW_PREFIX}/bin:/opt/mingw${ARCH}/bin:${PATH} export PATH=/opt/mingw${ARCH}/${MINGW_PREFIX}/bin:/opt/mingw${ARCH}/bin:${PATH}


# export MOC=${MINGW_PREFIX}-moc
# export RCC=${MINGW_PREFIX}-rcc
# export PKGCONFIG=${MINGW_PREFIX}-pkg-config

if [ -z "${NOSSE}" ]; then if [ -z "${NOSSE}" ]; then
export CFLAGS="-O3 -mtune=generic -msse -msse2 -mfpmath=sse -fvisibility=hidden -fdata-sections -ffunction-sections" export CFLAGS="-O3 -mtune=generic -msse -msse2 -mfpmath=sse -fvisibility=hidden -fdata-sections -ffunction-sections"
else else


Loading…
Cancel
Save