HISE Logo Forum
    • Categories
    • Register
    • Login

    How to use loadUserPreset

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 284 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.
    • P
      pgaudioworks
      last edited by

      I'm trying to determine a default preset by using loadUserPreset in onInit. This is everything I have written:

      Engine.loadUserPreset(Donuts);
      

      What have I missed?

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

        @pgaudioworks use the default preset setting in project preferences

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

        P 1 Reply Last reply Reply Quote 0
        • P
          pgaudioworks @d.healey
          last edited by

          @d-healey found it! That's very helpful. How should I enter the preset name? I have it the way below, but it's not loading when I compile:

          UserPresets/Bank1/Cat1/Jeremy.preset

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

            @pgaudioworks said in How to use loadUserPreset:

            @d-healey found it! That's very helpful. How should I enter the preset name? I have it the way below, but it's not loading when I compile:

            UserPresets/Bank1/Cat1/Jeremy.preset

            try removing parts of the name until you get it to load ..start by removing UserPresets/

            HISE Development for hire.
            www.channelrobot.com

            P 1 Reply Last reply Reply Quote 0
            • P
              pgaudioworks @Lindon
              last edited by

              @Lindon this fixed it. Thanks!

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

              25

              Online

              1.7k

              Users

              11.8k

              Topics

              102.7k

              Posts