Carla
Carla copied to clipboard
OSC: sending a changed parameter value back
Hello!
I think that changes of parameter value via OSC should be "echoed" back, otherwise how is sender application can be "sure" that changes is processed successfully? I use next patch (for CarlaEngineOsc::handleMsgSetParameterValue
) in my installation:
diff --git a/source/backend/engine/CarlaEngineOscHandlers.cpp b/source/backend/engine/CarlaEngineOscHandlers.cpp
index 16a2af7dc..cfae1f6b6 100644
--- a/source/backend/engine/CarlaEngineOscHandlers.cpp
+++ b/source/backend/engine/CarlaEngineOscHandlers.cpp
@@ -677,7 +677,7 @@ int CarlaEngineOsc::handleMsgSetParameterValue(CARLA_ENGINE_OSC_HANDLE_ARGS)
CARLA_SAFE_ASSERT_RETURN(index >= 0, 0);
- plugin->setParameterValue(static_cast<uint32_t>(index), value, true, false, true);
+ plugin->setParameterValue(static_cast<uint32_t>(index), value, true, true, true);
return 0;
}
Same for changing plugin active state, volume, drywet and so on.
Maybe there's a reason for default "not sending messages"-behavior? Or such messages is just unnecessary from you perspective?
Thanks a lot!