Forum

    • Register
    • Login
    • Search
    • Categories

    Loading presets from expansions

    General Questions
    3
    4
    109
    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.healey
        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 Hart
            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 2
            • First post
              Last post

            3
            Online

            1.1k
            Users

            7.0k
            Topics

            64.7k
            Posts