HISE Logo Forum
    • Categories
    • Register
    • Login

    Traversing the tree

    Scheduled Pinned Locked Moved Feature Requests
    3 Posts 2 Posters 976 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

      Could we have some functions to traverse the tree structure in a more generic fashion. For example, I have a container with several samplers in it, I want to be able to put a script in the container that will add a modulator to each sampler - but I don't want to have to put in the name of each sampler one at a time I would like to just go through all the child samplers of the container. Perhaps we could have functions like next child and previous child - a bit like with traversing the DOM in web design.

      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

        Since the patch structure is a tree this will be pretty trivial to implement. I'll add something.

        BTW there are many changes I made from your requests since the last build. Do you need a new build version? Another possibility would be to compile HISE for yourself so you always have the newest version.

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

          Thanks, I've just built it (first time I've tried) and it seems to be working .

          Here is an example of the kind of thing I'm hoping to do with such functions:

          In this example I had to specify each modulator in the script but it will be great when this script can just inserted in the container and it will add the modulators itself.

          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

          46

          Online

          1.7k

          Users

          11.7k

          Topics

          101.9k

          Posts