HISE Logo Forum
    • Categories
    • Register
    • Login

    Use tags

    Scheduled Pinned Locked Moved Scripting
    8 Posts 4 Posters 608 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.
    • L
      Lumi283
      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

      clevername27C LindonL 2 Replies Last reply Reply Quote 2
      • clevername27C
        clevername27 @Lumi283
        last edited by

        @ABYSS_CO Good question…

        1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Lumi283
          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

          L 1 Reply Last reply Reply Quote 0
          • L
            Lumi283 @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

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @Lumi283
              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

              L 1 Reply Last reply Reply Quote 1
              • L
                Lumi283 @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.healeyD LindonL 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Lumi283
                  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
                  • LindonL
                    Lindon @Lumi283
                    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

                    54

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.8k

                    Posts