Browse Source

Update zynaddsubfx

tags/1.9.7
falkTX 9 years ago
parent
commit
9e7b0a5dc1
3 changed files with 11 additions and 2 deletions
  1. +2
    -2
      data/copy-zynaddsubfx
  2. +1
    -0
      source/native-plugins/zynaddsubfx/Effects/EffectMgr.cpp
  3. +8
    -0
      source/native-plugins/zynaddsubfx/Misc/MiddleWare.cpp

+ 2
- 2
data/copy-zynaddsubfx View File

@@ -2,8 +2,8 @@

set -e

ORIG_ZYN_DIR="/home/falktx/FOSS/GIT-mine/falkTX/zynaddsubfx"
CARLA_ZYN_DIR="/home/falktx/FOSS/GIT-mine/falkTX/Carla/source/native-plugins/zynaddsubfx"
ORIG_ZYN_DIR="/home/falktx/Projects/FOSS/GIT-mine/zynaddsubfx-code"
CARLA_ZYN_DIR="/home/falktx/Projects/FOSS/GIT-mine/Carla/source/native-plugins/zynaddsubfx"

rm -f $CARLA_ZYN_DIR/*.cpp
rm -f $CARLA_ZYN_DIR/*.h


+ 1
- 0
source/native-plugins/zynaddsubfx/Effects/EffectMgr.cpp View File

@@ -241,6 +241,7 @@ int EffectMgr::geteffect(void)
// Initialize An Effect in RT context
void EffectMgr::init(void)
{
kill();
changeeffectrt(nefx, true);
changepresetrt(preset, true);
for(int i=0; i<128; ++i)


+ 8
- 0
source/native-plugins/zynaddsubfx/Misc/MiddleWare.cpp View File

@@ -1030,6 +1030,14 @@ static rtosc::Ports middwareSnoopPorts = {
else
midi.map(addr.c_str(), true);
rEnd},
{"unlearn:s", 0, 0,
rBegin;
string addr = rtosc_argument(msg, 0).s;
auto &midi = impl.midi_mapper;
auto map = midi.getMidiMappingStrings();
midi.unMap(addr.c_str(), false);
midi.unMap(addr.c_str(), true);
rEnd},
//drop this message into the abyss
{"ui/title:", 0, 0, [](const char *msg, RtData &d) {}}
};


Loading…
Cancel
Save