HISE Logo Forum
    • Categories
    • Register
    • Login

    Check if CC assigned as automation

    Scheduled Pinned Locked Moved Feature Requests
    4 Posts 2 Posters 930 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      Could we have a function to test if a CC number has been assigned as an automation control. I would like this so that I can have MIDI automation on custom panels and trigger a repaint only when those CCs are used. It would be even better if we could query a particular control for its automation CC number, if any.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by Christoph Hart

        Yup, good request. However if you call repaint in the control callback it will also be fired if the CC is moved.

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

          aha well that makes things simpler :)

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            I've added a method Engine.isControllerUsedByAutomation() which might come in handy for some other things too.

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

            56

            Online

            1.7k

            Users

            11.7k

            Topics

            102.1k

            Posts