HISE Logo Forum
    • Categories
    • Register
    • Login

    XY Panel controlling Knobs, Panel does not create DAW automation but Knobs do?

    Scheduled Pinned Locked Moved Scripting
    24 Posts 5 Posters 929 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.
    • L
      Lurch @Lurch
      last edited by

      @Lurch gentle bump - still stuck on this one.

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

        @Lurch Looking at Christoph's example you need to use a custom automation handler (I think). In your snippet it seems you're using a panel for the drag point as well as a panel for the xy pad background. In Christoph's example it's using a single panel, this is also what I show in my tutorial video on the subject.

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

        L 1 Reply Last reply Reply Quote 0
        • L
          Lurch @d.healey
          last edited by

          @d-healey hello! Yeah I tried implementing the custom automation handler in the snippet further up this thread but I get a load of errors (also further up). Do you know why the XY knobs don’t produce automation when controlled by the panel but they do when controlled directly? Seems like that might be the simplest thing to fix and would give the automation parameters I need too.

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

            @Lurch said in XY Panel controlling Knobs, Panel does not create DAW automation but Knobs do?:

            but I get a load of errors

            Start by making a minimal snippet. 1 panel and 1 knob.

            Then try and implement Christoph's solution.

            You can leave this part out if you want, it's just a check to see if you've compiled HISE with the HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER preprocessor definition, and this needs to go at the very top of your script, before any comments.

            #on
            
            #if !HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER
            // If this causes an error, you need to add HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER=1
            // to your ExtraDefinitions of the project and rebuild the component tree (either reload the patch)
            // or click on the refresh icon in the interface designer)
            Console.assertTrue(false);
            #endif       // FOR AUTOMATION FROM PANEL
            

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

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

            12

            Online

            1.9k

            Users

            12.5k

            Topics

            108.7k

            Posts