isMetaParameter + automation help
-
I could use a hand with parameter automation on exported plug-ins.
I've created a simple example that contains 3 panels and a knob. Clicking the panels changes the value of the knob.
When I try to record automation of the knob, nothing is written when I click the panels. Only when I control the knob directly.
Hopefully I'm just overlooking something silly and one of you have already been down this road.
HiseSnippet 1056.3ocyW8taaaCDmxILKVatXsXXeVHeXvFMvvNoqq.dCyMNwaFcNUXNMXEEEEzRTVDlhTPjJIdE4gZOAaOR6MX6njskbiWRiA1v3GD78W96NdGOZ2DoGUojIHqpmMKlhr9L7nYBcXuPBSfFbLx5KwtjDRDUSSbddpVFQzLo.czrXhRQ8QVVa8CFcsptMJa8me+QDNQ3QKXgPmKYdzehEwzEbc69BFm2m3SOiEUR6mzcfmTzSxko.t1B2BES7lRlPOkXTqBFYsyI9LsLYjlnoJPmij9yFEJuTjq+4LEaLmZHZiFANJmMpWHi66tHlUHj01tEYfsxy.eAdHymsjeQl3yyD3TXQ4bfUkaCRsuGPxpDj1NGRODOxKgEqKjXvymhGHfSk.BjpKCkbcQU9sJ3dRPCgtYDYJseBPrzh5OsUq8cfOM5XaCoak14BRhSLQP4OOIgLy46bdyBymP08jQwRAPTeOWiNs2qw90rc9GV2hgGroFd3dMdamZ10Jg1WHjiaC.c8VkIcuFY1DHSbpy.Ua0wg47skhylbpXhNDX+3G2v484PqP7aXusoOQSZxD9zq.Gv5rNUTT8PYph1iv4igp05AoBOSiRc5E.XV5XyhE3jysoGm4Mk5uhTyJC4FedNgmRqqCYpRfnQGiNqw.uPhXB0udiNEt6ZymbxqM7utls8Br4HEmJ0zWJp2v981Usu114CEEDrVYlDdhjyoIqUroeN41LrtHMZLMYe3TDBvkJBE7q1EsyGWWjW94eIEkhABl9kwz4z8kbeS2g422rmCMu.xz8MGgfp5rduGLu2aDm4SSPLvIeBNKeix.e4K9PuZvwvwzB2.dD1kXZhlYBFqioW.2Bl2RWEeLUMUKigXdYMKxZ27Ms1hFdSQV1dtKNusCcUwF95tyVR7GIcuj4qCQVXKWfNjxlDpMT8AJnpTd4hZSk4prdlROkyW47ixKLgkZHUSVdSO.1Jn6ArNnLrX+uAVGVBV.R9uBVO3NqbJAqIkg03tJ8LS88NYJhhX99bpqTwxF5VTp86JMMdD6WAUw31MaAZJJOuMhT5.A0UkFDvtJa1Y.iGoz.tFDAiTQVOB+JE0wmFPR4ZG0TvObl.tU5LYl9LkKOcBSrRzFuJq7AyKBNzMGfAiNk9obhd04olGNLWvG9lByfJAD1yJ2ecOFx15VGx9wBwGhcYZuv0iwJqAiPq++FXb9SSpgOIHf5oK.3139+xl9Nj6X6+YYplIlLj.EKPoC9zznQvKx7nvtKflKkocoh4xyb5VFZSFXDU3mQ7WvZtv1FZq4BauPHTl5kHemW9UtlG+raFG.ShrRpp3gFZmabWKxzZvdmm2pt5FFdvlZ3gapgOYSM7q2TCe5lZ32roF9r61PySkK82EPngtmjMazx5DAAp.ypVQ+s7CV1E
-
@Dan-Korneff Have you tried enabling isMetaParameter for the knob rather than the panels?
-
@Dan-Korneff said in isMetaParameter + automation help:
HiseSnippet 1056.3ocyW8taaaCDmxILKVatXsXXeVHeXvFMvvNoqq.dCyMNwaFcNUXNMXEEEEzRTVDlhTPjJIdE4gZOAaOR6MX6njskbiWRiA1v3GD78W96NdGOZ2DoGUojIHqpmMKlhr9L7nYBcXuPBSfFbLx5KwtjDRDUSSbddpVFQzLo.czrXhRQ8QVVa8CFcsptMJa8me+QDNQ3QKXgPmKYdzehEwzEbc69BFm2m3SOiEUR6mzcfmTzSxko.t1B2BES7lRlPOkXTqBFYsyI9LsLYjlnoJPmij9yFEJuTjq+4LEaLmZHZiFANJmMpWHi66tHlUHj01tEYfsxy.eAdHymsjeQl3yyD3TXQ4bfUkaCRsuGPxpDj1NGRODOxKgEqKjXvymhGHfSk.BjpKCkbcQU9sJ3dRPCgtYDYJseBPrzh5OsUq8cfOM5XaCoak14BRhSLQP4OOIgLy46bdyBymP08jQwRAPTeOWiNs2qw90rc9GV2hgGroFd3dMdamZ10Jg1WHjiaC.c8VkIcuFY1DHSbpy.Ua0wg47skhylbpXhNDX+3G2v484PqP7aXusoOQSZxD9zq.Gv5rNUTT8PYph1iv4igp05AoBOSiRc5E.XV5XyhE3jysoGm4Mk5uhTyJC4FedNgmRqqCYpRfnQGiNqw.uPhXB0udiNEt6ZymbxqM7utls8Br4HEmJ0zWJp2v981Usu114CEEDrVYlDdhjyoIqUroeN41LrtHMZLMYe3TDBvkJBE7q1EsyGWWjW94eIEkhABl9kwz4z8kbeS2g422rmCMu.xz8MGgfp5rduGLu2aDm4SSPLvIeBNKeix.e4K9PuZvwvwzB2.dD1kXZhlYBFqioW.2Bl2RWEeLUMUKigXdYMKxZ27Ms1hFdSQV1dtKNusCcUwF95tyVR7GIcuj4qCQVXKWfNjxlDpMT8AJnpTd4hZSk4prdlROkyW47ixKLgkZHUSVdSO.1Jn6ArNnLrX+uAVGVBV.R9uBVO3NqbJAqIkg03tJ8LS88NYJhhX99bpqTwxF5VTp86JMMdD6WAUw31MaAZJJOuMhT5.A0UkFDvtJa1Y.iGoz.tFDAiTQVOB+JE0wmFPR4ZG0TvObl.tU5LYl9LkKOcBSrRzFuJq7AyKBNzMGfAiNk9obhd04olGNLWvG9lByfJAD1yJ2ecOFx15VGx9wBwGhcYZuv0iwJqAiPq++FXb9SSpgOIHf5oK.3139+xl9Nj6X6+YYplIlLj.EKPoC9zznQvKx7nvtKflKkocoh4xyb5VFZSFXDU3mQ7WvZtv1FZq4BauPHTl5kHemW9UtlG+raFG.ShrRpp3gFZmabWKxzZvdmm2pt5FFdvlZ3gapgOYSM7q2TCe5lZ32roF9r61PySkK82EPngtmjMazx5DAAp.ypVQ+s7CV1E
I was there my friend. Could't find a solution. Only knob when operated directly can send the automation messages I guess.
-
Wow that was annoying to debug. For some reason the API call to the DAW to update the parameter wasn't received when using
changed()
, so I had to manually defer it, but now it should work (and hopefully don't break anything)...BTW, the
isMetaParameter
flag is only relevant for UI components which have theisPluginParameter
flag set too, so you were barking up the wrong tree here. I've added this to the safe checks performed by the plugin parameter sanity check (Tools -> Check Plugin Parameter Sanity) to avoid that people try to use the flag in scenarios like this. -
@Christoph-Hart hero! Confirmed working now.
-