Forum
    • Categories
    • Register
    • Login

    New LAF Properties for Modulation Display: Selected Source vs Accumulated Range

    Scheduled Pinned Locked Moved C++ Development
    17 Posts 4 Posters 98 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.
    • DanHD
      DanH
      last edited by DanH

      I had Claude implement some extra obj properties for more flexibility in drawing modulation with LAF:

      I've added three new property pairs to the modulation display system that expose separate ranges for use in LAF callbacks, giving developers full control over how modulation is visualised on knobs.

      New properties available in the LAF obj:

      modSelectedMinValue / modSelectedMaxValue — the range of the currently selected exclusive source only

      modAccumulatedMinValue / modAccumulatedMaxValue — the combined range of all connected sources regardless of selection state

      modAccumulatedLiveValue — the live modulation output of all sources combined (useful for a pointer/indicator that tracks total modulation rather than just the selected source)

      The existing modMinValue / modMaxValue are untouched and continue to work as before.

      Use case: When using exclusive source matrix mode, selecting a source previously caused all modulation display to reflect only that source. With these new properties you can independently draw arcs for the selected source range and the accumulated range simultaneously, giving users a clearer picture of what all modulators are doing while still highlighting the selected one.

      Files modified:

      hi_core/hi_core/MiscToolClasses.h — added new members to ModulationDisplayValue struct

      hi_core/hi_core/MacroControlledComponents.cpp — populated new values in ModUpdater::timerCallback

      @Christoph-Hart how shall I proceed?

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

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

        @DanH This is exactly the workflow & scope of fix that should be covered by the new contribution workflow, so I think it would be best to get you up and running there ASAP.

        For now just make a manual pull request with the changes, I'll review it and merge if OK.

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @Christoph Hart
          last edited by

          @Christoph-Hart Done. It also includes a crash fix I was experiencing regarding IntensityTextConverter

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

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

            @DanH Just looked at it and I'm a bit disappointed - the code quality is far worse than what I'm able to oneshot without any guidance with my tuned workflow. I'm afraid we have to postpone this until the procedure is ready.

            If it fixes your immediate problem, then just take the fix and use it locally, but I would have to fully rewrite every single line of code to match the coding style / structure and quality of the existing code.

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Christoph Hart
              last edited by

              @Christoph-Hart bad Claude! 🐶 😆 I'll pass on the feedback!! Obviously it doesn't have access to the whole codebase but it should be able to match the code quality of the files it read.... Will stick with my fork for now.

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

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

                @DanH said in New LAF Properties for Modulation Display: Selected Source vs Accumulated Range:

                it doesn't have access to the whole codebase but it

                Lol why? that's the first thing you need to do, start the claude session from the HISE repo folder, it will then just explore and pull in whatever it takes. A full codebase exploration including the fix of this scope should stay below 60k tokens.

                DanHD 1 Reply Last reply Reply Quote 1
                • DanHD
                  DanH @Christoph Hart
                  last edited by

                  @Christoph-Hart on web for now....

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

                  Christoph HartC David HealeyD 2 Replies Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @DanH
                    last edited by

                    @DanH ah ok, well that's precisely the difference between "lol AI cannot do s***" and "boy we're f***ed"....

                    DanHD dannytaurusD 3 Replies Last reply Reply Quote 1
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @Christoph-Hart looking forward to jumping on the MCP workflow!

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

                      1 Reply Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @Christoph Hart
                        last edited by

                        @Christoph-Hart said in New LAF Properties for Modulation Display: Selected Source vs Accumulated Range:

                        that's precisely the difference between "lol AI cannot do s***" and "boy we're f***ed"....

                        1,000% this 😜

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey @DanH
                          last edited by David Healey

                          @DanH said in New LAF Properties for Modulation Display: Selected Source vs Accumulated Range:

                          @Christoph-Hart on web for now....

                          I'm using it on the web too. Are you using Claude Code? You can pass it the link to your git repo

                          3e8ecaa7-98c2-44b8-8863-6e390d6d7c94-image.png

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

                          dannytaurusD DanHD 2 Replies Last reply Reply Quote 1
                          • dannytaurusD
                            dannytaurus @David Healey
                            last edited by

                            @David-Healey HISE master - do you know something I don't? 🤔

                            Meat Beats: https://meatbeats.com
                            Klippr Video: https://klippr.video

                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @dannytaurus
                              last edited by

                              @dannytaurus My fork

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

                              1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @David Healey
                                last edited by

                                @David-Healey setting it up now, have you across the AGENTS.md file at all?

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

                                David HealeyD 1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @DanH
                                  last edited by

                                  @DanH Nope

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

                                  1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @Christoph Hart
                                    last edited by

                                    @Christoph-Hart let me see if I can course correct this PR 😆

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

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @DanH
                                      last edited by

                                      @Christoph-Hart PR sent, I'm not being precious about it so feel free to close again, good to get the practice in 😆

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

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

                                      32

                                      Online

                                      2.2k

                                      Users

                                      13.4k

                                      Topics

                                      116.9k

                                      Posts