Tagging Presets?
-
@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?
-
@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.
-
@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?
-
@Casmat unless you send the tags too
-
@Lindon ok!
-
@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!
-
@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.
-
@d-healey what do you mean by rewriting it back into the file?
-
-
@d-healey :astonished_face: :astonished_face: :astonished_face: Never thought of using that with xml files!! Thanks Daviddddd!!!! I thought I'd have to put them in the file name haha!