HISE Logo Forum
    • Categories
    • Register
    • Login

    Tip of the day: Connection learn mode

    Scheduled Pinned Locked Moved General Questions
    11 Posts 6 Posters 685 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.
    • Christoph HartC
      Christoph Hart
      last edited by Christoph Hart

      Hi everybody,

      not sure if that feature made it to anybody's radar, but there is a quick connection mode that let's you connect parameters to your script controls with a single click and I've seen a lot of videos / screencasts which are missing out on that simple function so I'm trying to raise awareness for this awesome helper tool...

      I've updated the UX to make it a bit more approachable, so now you just need to right click a component - either in the interface editor or in the script component list and choose Enable Connection Learn. Then you need to click on any parameter (either on the module editor interface or a macro parameter in a scriptnode network and it will automatically assign the UI element to control this parameter. It does this by setting all relevant properties (processorId / parameterId as well as the parameter range) so this will heavily speed up the process if you have to connect multiple elements.

      connect.gif

      DanHD clevername27C 2 Replies Last reply Reply Quote 12
      • DanHD
        DanH @Christoph Hart
        last edited by

        @Christoph-Hart brilliant, thanks!

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

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

          Cool, I remember seeing this before but never added it to my workflow. I'll include it in a video at some point.

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

          1 Reply Last reply Reply Quote 2
          • clevername27C
            clevername27 @Christoph Hart
            last edited by

            @Christoph-Hart Love that so feature much, I sometimes go around the house, randomly clicking on things to assign MIDI CCs. So far nothing, but still optimistic.

            1 Reply Last reply Reply Quote 3
            • A
              aaronventure
              last edited by aaronventure

              I love the WYSIWYG part of HISE and you really can slap together something very fast, but my components will sometimes get fucked up and I'll have to delete them and recompile, at which point I'd rather have it in code.

              This is super neat, though.

              Dan KorneffD Christoph HartC 2 Replies Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @aaronventure
                last edited by

                @aaronventure maybe some function like "create script reference" can be added to create the component with its associated connection data for hardcoding purposes?

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @aaronventure there‘s also a function to rebuild the actual components (which is one layer below „recompilation“), which can be done with the refresh button in the interface designer, that helps me sometimes when things get stuck.

                  A 1 Reply Last reply Reply Quote 2
                  • A
                    aaronventure @Christoph Hart
                    last edited by

                    @Christoph-Hart yeah that's what I was looking for. Nice.

                    1 Reply Last reply Reply Quote 0
                    • A
                      aaronventure @Dan Korneff
                      last edited by

                      @Dan-Korneff that's just calling set with the ids. You mean right click on a component after it's already been linked, like the callback stuff? Yeah it could print out the setPropertiesFromJson call with linking stuff, text, min, max, midpoint etc, to clipboard.

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

                        @aaronventure You get 80% there with pressing J and copying the JSON if that's your cup of tea, but this procedure leads to duplication of information (once in the XML, once in the script) so I wouldn't recommend it as best practice and make a helper tool that suggests this is the way to go.

                        A 1 Reply Last reply Reply Quote 2
                        • A
                          aaronventure @Christoph Hart
                          last edited by

                          @Christoph-Hart yeah good point.

                          It's different when you use helpers to make controls and use direct setAttribute calls instead of linking

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

                          25

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.7k

                          Posts