Global Modulator - Value Access
-
OK so I am back here again ------
I need to programmatically read the value of a global modulator - downstream of that modulator....
very simply this...
HiseSnippet 1186.3oc6Xs0aaaCElJ1rn1sKXcsaXX.CPnXO3.zEXsdYCnXnIwINvXwIFQooaOUvHQaSDJRMJpzYLr+i6OwdO6Wv1gRxVRMZdNdIcXYMODDdtP9oykOdBGnjdznHoBY03nIgTj0cwtSD5wcFSXBTusQVqh6ShzTkcpnslDRhhn9HKqZ6ZDX0nNJ4myewVDNQ3QyEgPGKYdz8XALctzAa7cLNuKwmdDKnf0OYiddRQGIWFC3oFtMJj3cJYDcehwrUvHqasiOSKUtZhlFgrpukzeh6X4aDo1eLKhcBmZV3fbgMJUbWI22fXyei5Llw8GL86NBAa5f7nPsznvCv8Y9rYxyiFeXhB6bOJFOrVoL7pUBdNEgW6BvqBHYU.R0Sgz8vtdJVnNWiAO2A2S.ImgDHrWDJo1hr9cbGIXfPud.4TZWErXlCsdV61OxF90ZOuYygwBOMSJrkh8kZ5AhVq07ma1n4uzz9sUMbXk5LGjRx4TUkpM45LMfkQRNc8PESnasW2C5K8i4DHx4r9HptSrRAHdO5YTdq0.vU44zRDGbBU8H6yH7X5rSDhWkSB3+5jPwZDuzvTACkhdBl9fPZ15KllPYwVSBKCUfo5jz0pYoqsh0Zo.w7SZszDkNIPfRPcwNEzK6sMQSltWv1BGUHUoYluBqsomAcRokBMvaSiNUKCSrMHTJLfv5VK1I+S4m5OrwjhKdCyWOtnfwT1nw5hRPWrvDZIll9J1mXHGxT.4sREmlJPQDSOoH4wa27TewZdx6sqLCsfv8d3ALs23pw6JUfWHMcci2LpnO.uyvgTOcNXqi698yk2o9hUxu3P41oP4yv6xkmP34APnPEPEMkK5yyTaOSu8LCblyEG+5hdwQ3BewgUsElI1Y9Lw0uttb3cZ888uPpI5Jsi7Rbaawq1xl4nI9XJW5YNdCX+3YKygqyeOb2hEJ4DkQ+KinGQRfVt5dhy.xTi+4EYaS8XmPM0ykq8xN9j8HgTNY3iUthpotRHkpcChT5R.kCkwZlXTehVwfKxv6GG3Bc8dT.IBAkatv2ZEyUyoqaaVahLtTgexh+.9ISoiYsUlRmoJqf36BCEeW7Bwrc90Oy1UyHv3+EX4VRNi4NN78yjliNmJGK92v1PbMRCCOprm1tmS1X+s1IIbyznyj15gUPK8v0d96xIm+OvnvK0bruerx+2vfW.JqlBk6fcAhzjFtDf7IIqseE4Lp8tTfh8hC.bsO.4AdZ33ORQDQgxnRarKMfcD7ubEUTHLwQWE8GOzjkKJuijnpT04unK7QVoOtDcrJobYy.YrPWp7n1RwuVtqof82Xm38eNSwUyq2zXJFcYAgb5NvTnbfNLAieDv+MjDy0SkVtHuuTHCGKELuhU.GRgQeFMhpJObaEePap0DuSyk7fMNjxojhUyewF6AUgDU4IfuTwBmK8KYUY95Swov01zYZeyfg+8ynesMi9MkyHf3oju1KcNNS+xsSj.wVQxid2.22r11Y5CFhwsWuMJ.XcesmmIk9kPNnZe9pkvmGuD97jkvmmtD97rkvmudI74alqOlK71LVKCRa2AAC1I8MBr1QXdvfjNKzeBvRUyi.
Do we have a way to do this yet - that doesnt involve creating dummy synths/FX , assigning the global modulator to some pram and then reading the param somewhere else????
-
@Lindon attach a global cable to it and assign a callback.
-
@Christoph-Hart thanks....I was 95% of the way there 15 mins after posting... not used callbacks but just went with this
HiseSnippet 1198.3oc6X0saiSDE1NICZS1kUrrKHDRHMJhKREkpDXYAABssM+TEQSaTc1B2sZpyjjQ0dFy3wAhP7Dw6BhGk9F.mw1I1twDRCoKhp1Kp5b9Ylu4Lmy24T2WJro99BogY4Ay7nFlOBYMiqlzbBgwM51xv7wndDeEUhiDc3LOhuOcngoYwizBLKWxH7mqd4gDGB2llHxv3bAyldLykoRj1e+ui43zgLjNf4lx5mueWaAuovQD.3oHptgGw9RxX5IDsYEPFluU6gLkPZoHJpugYoCECmYMQ7S7H6Om4ytvgpWzvvB1nHwcDNC0HV+2FMmvbF1e9812.1z9IQghQQgmg5wFxVHOIZ7NgJvIdjNdXVHK7J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hF23ubUtuWe.JBtXckI9tAC+8CieqML9ckyvkXKEu1NZNNc8xCBk.wVd3G4tLpmdMtgQ3rcfen56U2vEXcesss9I8Sg2f784y1.e97MvmmuA97EafOuXC74K2.e9pU5itg2AAJgaT4NHne6nOFfYat9+BHrxx3u.fhr1lB
-
@Lindon can‘t look into your snippet right now but the advantage of using callbacks is to move the polling to the C++ side also you can control whether you want to use synchronous or async execution.
-
@Christoph-Hart ok understood _ I think, My scenario is I want to alter the midi velocity of incoming notes to some defined table value...so Im not sure where the callback would be executed..and how it would "grab" the incoming MIDI event