HISE Logo Forum
    • Categories
    • Register
    • Login

    Is it possible to add parameters to a Control Callback?

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 109 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VirtualVirginV
      VirtualVirgin
      last edited by VirtualVirgin

      So a control callback normally has (component, value) for input parameters.
      Can I add parameters to pass more into the control callback? e.g.:

      inline function onMatrixLabelControl(component, value, labelPanelArray, panelArray, clickPanelArray)
      

      I'm trying to pass some arrays to the control callback without having to use const variables in the main script.

      You can listen to my orchestral mockups here:
      https://www.virtualvirgin.net/

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @VirtualVirgin
        last edited by

        @VirtualVirgin no, it only takes the two

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        VirtualVirginV 1 Reply Last reply Reply Quote 1
        • VirtualVirginV
          VirtualVirgin @d.healey
          last edited by

          @d-healey Thanks! I'll stop messing with it then. I wasn't getting any results from trying it out.

          You can listen to my orchestral mockups here:
          https://www.virtualvirgin.net/

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @VirtualVirgin
            last edited by

            @VirtualVirgin a broadcaster might be more suitable, check out the latest video on Patreon if you haven't already

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            21

            Online

            2.0k

            Users

            12.7k

            Topics

            110.2k

            Posts