HISE Logo Forum
    • Categories
    • Register
    • Login

    Loading presets from expansions

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 298 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.
    • A
      arminh
      last edited by

      Is there any way to load presets from expansion? I tried play with loadUserPresets but this method pointing to root folder.

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        If you're using the build in preset browser you'll see all of the expansions presets, when you select a preset it will load the associated expansion.

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

        1 Reply Last reply Reply Quote 0
        • A
          arminh
          last edited by arminh

          @d-healey Ok thanks. I decided to create own preset browser but i have issue with accessing AppData folder via FileSystem

          inline function getPresets() {
             local appDataFolder = FileSystem.getFolder(FileSystem.AppData);
             local presetsFolder = appDataFolder.getChildFile("UserPresets");	            
             local fileList = FileSystem.findFiles(presetsFolder, "*", true);
          }
          

          and i can't get any files from AppData, my array is empty.

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            The end user's folder is named User Preset with a space between the words - because it's less nerdy than the camelcase UserPreset folder.

            Whether that was a good decision is another question...

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

            43

            Online

            1.7k

            Users

            11.7k

            Topics

            101.9k

            Posts