HISE Logo Forum
    • Categories
    • Register
    • Login

    How to make plugins launch a set preset. Plugins load empty.

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 1.3k 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.
    • M
      mwplugs
      last edited by

      very simple. all plugins always load with no preset loaded. i simply want the plugins to load a preset automatically. how do i do that.

      M 1 Reply Last reply Reply Quote 0
      • M
        mwplugs @mwplugs
        last edited by

        @mwplugs i know how to create and select user presets. im saying when you launch any hise plugin it loads empty with no preset loaded. i need it to load a preset at launch without having to slect one first

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

          @mwplugs Engine.loadUserPreset()

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

          M 1 Reply Last reply Reply Quote 0
          • M
            mwplugs @d.healey
            last edited by mwplugs

            @d-healey ok so simply putting in that code and specifying a preset it will load that at launch correct? what would be the implementation. simply

            Engine.loadUserPreset({PROJECT FOLDER/User Presets/Factory Library/Stuff}Default.preset)

            ?

            M 1 Reply Last reply Reply Quote 0
            • M
              mwplugs @mwplugs
              last edited by

              @mwplugs ah i figured it out

              Engine.loadUserPreset("Factory Library/Patches/Default");

              worked

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

                Not sure why you want to do that. A user preset is just a collection of interface values and the preset itself already stores the values (so the initial user preset is "embedded" in the instrument).

                M 3 Replies Last reply Reply Quote 0
                • M
                  mwplugs @Christoph Hart
                  last edited by

                  @christoph-hart because when it launches there is nothing at all

                  1 Reply Last reply Reply Quote 0
                  • M
                    mwplugs @Christoph Hart
                    last edited by

                    @christoph-hart any plugin ive ever seen loads with a default preset. thats all im referring to. and that act of something actually being in the preset selection text field. otherwise there is nothing there. and the act of simply having a work there lets people know hey thats where i select presets etc

                    1 Reply Last reply Reply Quote 0
                    • M
                      mwplugs @Christoph Hart
                      last edited by

                      @christoph-hart i understand what the user presets entail i have dug around in the files themeselves obviously its just stored parameters. but i have it figured out. and example is the main one we were working on, when it loads it is on the mix page etc. i simply want to make the default preset be starting points for everything. but the loaduserpreset seems to do that. as long as when the plugin is recalled it doesnt revert to that preset it will work

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

                      25

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.7k

                      Posts