Forum
    • Categories
    • Register
    • Login

    Tagging Presets?

    Scheduled Pinned Locked Moved General Questions
    17 Posts 4 Posters 1.8k 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.
    • LindonL
      Lindon @David Healey
      last edited by

      @d-healey said in Tagging Presets?:

      Now that I think about it, the file API and some string manipulation could probably allow you to hack your way to tagging the presets. I'll have to try this.

      sure - but why? Isnt it easier to "just" build a database of tags/presets in some json table?

      HISE Development for hire.
      www.channelrobot.com

      David HealeyD CasmatC 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lindon
        last edited by

        @Lindon Well I have two reasons, I like everything to be self contained if possible. I'm using the stock preset browser which already supports the built in preset system.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 1
        • CasmatC
          Casmat @Lindon
          last edited by

          @Lindon hold on, with your method, are the preset files w/ tags locked into place? If a user saves a preset and chooses their tags, then its saved into that json file, if they decide to share the preset with others, the other party wouldnt be able to view the tags, right?

          i make music

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

            @Casmat unless you send the tags too

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon ok!

              i make music

              1 Reply Last reply Reply Quote 0
              • CasmatC
                Casmat @David Healey
                last edited by

                @d-healey can the xml be directly modified using the write/load as xml and adding some tags that way? Thought about this but was wondering if hise would complain with the modified format

                Thanks!

                i make music

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @Casmat
                  last edited by

                  @Casmat The xml editing functionality of HISE is very limited. I'd just use regular string manipulation functions to get the tags, change them, and rewrite them back into the file.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  CasmatC 1 Reply Last reply Reply Quote 0
                  • CasmatC
                    Casmat @David Healey
                    last edited by

                    @d-healey what do you mean by rewriting it back into the file?

                    i make music

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @Casmat
                      last edited by

                      @Casmat Open it as a string, edit the string, write the file.

                      Load

                      53891c7b-623b-44b5-be9b-5121e20c6345-image.png

                      Edit

                      54373a8b-5e9b-4a58-8f9a-556521295ed8-image.png

                      Write

                      0b17a5d9-9aea-474e-85dd-eb4dce4141db-image.png

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      CasmatC 1 Reply Last reply Reply Quote 0
                      • CasmatC
                        Casmat @David Healey
                        last edited by

                        @d-healey 😲 😲 😲 Never thought of using that with xml files!! Thanks Daviddddd!!!! I thought I'd have to put them in the file name haha!

                        i make music

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

                        44

                        Online

                        2.1k

                        Users

                        13.0k

                        Topics

                        113.2k

                        Posts