Affecting midi CC values using a UI element? [solved]
-
One little thing: the
Message
andMessageHolder
, are they only accessible in theonController
callback? -
@andioak They are available in all the MIDI callbacks, on note on, on note off, on controller.
-
@d-healey said in Affecting midi CC values using a UI element?:
@andioak They are available in all the MIDI callbacks, on note on, on note off, on controller.
Aha, jeeez. Thats great but I need to set a midi cc from a ui element, but the thing is that the statement
Synth.sendController(3, value);
does not generate a onController callback. So perhaps I have to go through a onNote callback and use a key instead? I mean I could generate a note and read the velocity via a conversion, right? (seems elaborate) -
@andioak said in Affecting midi CC values using a UI element?:
Thats great but I need to set a midi cc from a ui element,
Not possible, no MIDI out from HISE.
-
@d-healey said in Affecting midi CC values using a UI element?:
Not possible, no MIDI out from HISE.
Where would that go out from HISE? I don´t get that comment.
-
What is this about then:
Synth.sendController(3, value);
That´s an internal change of a cc to the synth api.
-
@andioak I'll make a snippet, give me a few minutes.
-
@d-healey Thanks.
-
HiseSnippet 1132.3oc4W0saaaCElxNLq1cInsnXXWJTrKb.5BrW+YCnWTm3DWXzlDiH2rcW.iDkMQnHUonxhWQe21ivdT5av1gTxVxqBotBsaCXN2Dd34b3GO767QpwJoOMIQpPNslLOlhb9Zr2bgd1fYDl.M5.jy13iHIZpxMyz9yiIIIz.jiSyWXL3zZCj826e99DNQ3SKLgPmIY9zWwhX5Bqi6+RFmOjDPmvhJ48i6OxWJFH4xT.OMwcQwD+KISoGSLt0.ib17v.lVp7zDMMA4rw9xf4dyj+pHy+yXIrK3TyfdHOHQYlGJ4AFDa9ezfYLdv3E66DDxAOtnJzLqJbe7Qr.1R6EUi6XmvsHhx0CmF2D75US34TBdajAu6h87UrXcwLFrca7HAbPERfifxvJyWTiPG7.I3gPuaD4R5PELXYDcdZ2tOz8Ic6tyy1ps4OlfyDT2vTgulIEtRwKExK5YxfRx63KihkBHWOz8JBOktyVse6VsaYIO6lPEA4NxopNOZgOPpemM8KvwTpdvhD04A1E3A6.gqyid.gyu.HAcVc0MIpDvNVpomH5rS621tU62018uOUXXkyUBgUMsgbpto.6HRitfpVr4V3HbJsJMXy0iF3mUSJ4nTLRvzmDSyGWPT5UAQAkWTMTlbDBtpsDlsyILdbV.UgXPR9JrshhrfeYS3uedezqGc.QSVjFHivpDSUZlYy3b.8JnkNiG1Be.M4RsL15a94Hng7QWzqWtf8mzedgDvn9I54lRylVGQQrf.NcrLgYJ8kkP.IoXO1uAthw81sK3onrtSD45x6ojzvP10VMjPFOJQC3ZTDHsfbtG90IT2.ZHIkqcStDxCP7ujFLQZ8G8gsefHfLHkSzqpLXjCymv.1xsfl1LArIlWVt7SPtnakxEUxBVS3dW7Xl1eV03sQE3E3Ceowat36V3CCCo95BvtAd3uTWk15AksyfxswdfHnUTyBjuwN18mIWQceAUPUlhZua3Rw+XcuTLdsuT7DeMr7STDQRrLYkD6QiXSflvjxFA58PE8MmZNkKaefjnpbp2+7gvlrxX7H5TkktrWjLUnWgdzrV29sZWSI+q3pvM9W3l5O+sdeQUJ9DdXQiwevq+tCvuih4zCEWQ4fnuEu2CT4spiKrtJg+HoPFOSJX9kYCmRAM1oSopx6iJ2b6o0vM7EVte+SobJoLy965+JfQRTPMidS0klqWcY8djUkmceKNCttltT2+So1u7Hzv6KdaS9QnsYnvZuONfAciIDKhJNUGAL.k1DTYcjEI8X66gJl6V88hjR8rUUzX8yoSmsxKOp3BlZeb9Y4Rvl++7RvSkoZlX5QDn+EdwDFNT8f6d7o.RDBJGVHrSCy4d13tlwYW9HBrC9S3W9j8Licxmr2hI+GYMhH9J449YjSSK9srVf8sv94jsfuqEF6t7EvXbW66HCXm66aJ2eeODp5X9gZDyipQLOtFw7jZDySqQL+XMh4mtwXLRT6kpkQYshfgwGZ+RDGmCEFkHKqG8W.tk3YTC
The
Synth.sendController()
function sends controller messages to the internal synth. So you can controller MIDI modulators. If you expan the gain modulators in the snippet and move the knob you'll see the CC modulator on CC3 being affected. -
@d-healey
Thanks for the snippet, yes I see how it is modulated now! So the UI to internal cc is solved, many thanks.