Forum

    • Register
    • Login
    • Search
    • Categories

    Use tags

    Scripting Forum
    4
    8
    289
    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.
    • A
      ABYSS_CO last edited by

      Hi,
      When I was looking for information on the doc, i have found this command about tags, but there is no doc about this :

      Engine.setUserPresetTagList(var listOfTags)

      How can i link a preset to a tag, and how can i show in Hisescript the tags on the UI interface without the preset Browser Floating Tile?
      Thanks,
      Abyss

      clevername27 Lindon 2 Replies Last reply Reply Quote 2
      • clevername27
        clevername27 @ABYSS_CO last edited by

        @ABYSS_CO Good question…

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

          @ABYSS_CO - well.....

          In my experience (some time ago so it may have changed) the tag system in HISE is less than reliable - it can badly crash your plugin at random points - so instead I wrote my own tagging/file based system.

          HISE Development for hire.
          www.channelrobot.com

          A 1 Reply Last reply Reply Quote 0
          • A
            ABYSS_CO @Lindon last edited by

            @Lindon ok thank you! I see... how did you make your own tag system? Is it possible to discuss about this via discord for example ? Thanks a lot.
            Abyss

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

              @ABYSS_CO said in Use tags:

              @Lindon ok thank you! I see... how did you make your own tag system? Is it possible to discuss about this via discord for example ? Thanks a lot.
              Abyss

              Well you could ping me in the chat here but basically:

              1. create a json file that holds the preset name and its associated tags, e.g:
              {
                   PresetName: "some name here",
                   Tags: ["Bass","Heavy","Angry","whatever"]
              }
              
              1. write some code to read and save these preset metadata entries...
              2. Use a Panel to show your tags from the json (a paint routine)
              3. Use the Panels mouse callback to get a list of qualifying Presets and populate a list
              4. Use the list to load the preset.

              HISE Development for hire.
              www.channelrobot.com

              A 1 Reply Last reply Reply Quote 1
              • A
                ABYSS_CO @Lindon last edited by

                @Lindon Thanks for the informations! I will try. And is it possible to add tag scripts in an expansion? With additional scripts? Because this method only works for the presets included in the standard version, no for future presets.

                d.healey Lindon 2 Replies Last reply Reply Quote 0
                • d.healey
                  d.healey @ABYSS_CO last edited by d.healey

                  @ABYSS_CO Recent versions of HISE have a place in the project preferences for adding expansion tags. However they're not currently used for anything... but hopefully will be soon. Oh and of course you can access them from within your script.

                  c902a889-b6ad-4bc1-88a4-611f0b4acc9f-image.png

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

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

                    @ABYSS_CO said in Use tags:

                    @Lindon Thanks for the informations! I will try. And is it possible to add tag scripts in an expansion? With additional scripts? Because this method only works for the presets included in the standard version, no for future presets.

                    see point 1 from my (admittedly brief) explanation - you could easily add a preset tag meta data file for each expansion you ship...

                    HISE Development for hire.
                    www.channelrobot.com

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

                    25
                    Online

                    1.1k
                    Users

                    7.0k
                    Topics

                    64.6k
                    Posts