HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansions preset tagging

    Scheduled Pinned Locked Moved Scripting
    expansiontagspreset tags
    4 Posts 3 Posters 46 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.
    • R
      rzrsharpeprod
      last edited by

      I am really struggling to find out how to get preset - in particular expansion preset tagging to work from an external file.
      I have looked around the forum and found some posts on it but nothing that explains the process with enough detail that I can have a go at it myself.

      As far as I understand I can use a JSON or XML file in each expansion folder and then put the tags for each preset inside that expansion in the file. I am not sure which or the 2 formats is best to work with, does it matter or are either easy for hisento pul in and use?

      Once I have that file, how do I go about getting Hise to read the file so that the tags can be used in the project? I assume it is best to use the file system but don't know how to point it at the expansion folder to pick up the json/XML file.

      So in short I am falling at the first hurdle and can't even get the tags into hise to even start thinking about using them correctly in the project.
      Any help with the file format and loading it into hise would be much appreciated as without hat I can't do anything else.

      R 1 Reply Last reply Reply Quote 0
      • R
        rzrsharpeprod @rzrsharpeprod
        last edited by

        @rzrsharpeprod
        Ok an update. I have created json files and got Hise to read them and populate inside a panel. If I click on the tag text it prints to the console with any presets that have that tag which is good.

        So my next hurdle is now can I/is it even possible to filter the preset browser to show just the presets that have that particular tag?

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @rzrsharpeprod
          last edited by

          @rzrsharpeprod said in Expansions preset tagging:

          So my next hurdle is now can I/is it even possible to filter the preset browser to show just the presets that have that particular tag?

          Looks like you are more than half way to building your own custom tag-based preset browser....now all you need is a way to render the filtered list of presets, and the total list of tags..

          Here's a clue:

          93598b04-c813-4b49-98b3-c8941b9c4106-image.png

          HISE Development for hire.
          www.channelrobot.com

          ustkU 1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @Lindon
            last edited by ustk

            @Lindon Couldn't the object described here be able to hold the tags (aka any custom things per preset) instead of relying on external JSON? 🤷

            Link Preview Image
            HISE | Scripting | UserPresetHandler

            An object for customizing the data model

            favicon

            (docs.hise.dev)

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

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

            29

            Online

            2.0k

            Users

            12.6k

            Topics

            109.6k

            Posts