HISE Logo Forum
    • Categories
    • Register
    • Login

    Syncing Custom LFO to Plugin Attributes

    Scheduled Pinned Locked Moved General Questions
    7 Posts 5 Posters 142 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.
    • X
      xander
      last edited by

      I have a custom-made LFO table where you can draw in points and remove them (not the built-in hise scripted table). How to scan through the X access of the custom LFO table to get the value and send it in real time to any plugin attribute?

      LindonL HISEnbergH DanHD ustkU 4 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @xander
        last edited by

        @xander what do you mean by "custom made"?

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 0
        • HISEnbergH
          HISEnberg @xander
          last edited by

          @xander I imagine you can study how the table component works in HUSE and try to copy this. I’m pretty sure you can create your own custom UI components with the floating tile but I haven’t tried this.

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

            @xander interested to see the table, I do think the Hise table needs updating with curve nodes...

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

            X 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @xander
              last edited by ustk

              @xander Really, it depends on the shape you are drawing. If it's all linear then a simple interpolation between XY points will give you the value for each position.
              Now if you are drawing curves, it's not the same can of worm. If the curves are actually made from a function (cubic, quadratic, or any spline...) then you can get the value by resolving the functions.

              Otherwise you might be in big troubles...

              There still is a solution but I won't recommend it for setting attributes. I added it just for UI purpose. it's Path.getIntersection().
              A function that returns the intersection point between the path and a virtual line. but relying on this for attribute would be dirty as hell.

              My recommendations:

              • Stick with straight lines
              • Or derive your curves from a real resolvable function

              Now, if your curves are cubic between points, you might find the formula to get a point coordinates.
              Just type "get point along cubic spline" in your favourite search engine

              Hise made me an F5 dude, browser just suffers...

              X 1 Reply Last reply Reply Quote 1
              • X
                xander @ustk
                last edited by

                @ustk We figured it out, but I'll keep those things in mind, thanks!

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

                  @DanH It's super secret🤫- It is similar to Serum's

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

                  12

                  Online

                  1.9k

                  Users

                  12.5k

                  Topics

                  108.6k

                  Posts