Forum

    • Register
    • Login
    • Search
    • Categories

    Engine.addModuleStateToUserPreset("name here");

    General Questions
    2
    4
    101
    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.
    • Lindon
      Lindon last edited by

      So do I only need to issue this commend once in my app, or each time the user wants to save a preset?

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon Just once, in on init.

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

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

          If you have several modules to do you can use a loop:

          // Save EQs with presets
          const eqIds = Synth.getIdList("Parametriq EQ");
          
          for (id in eqIds)
              Engine.addModuleStateToUserPreset(id);
          

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

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

            @d-healey thanks.

            HISE Development for hire.
            www.channelrobot.com

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

            4
            Online

            1.2k
            Users

            7.0k
            Topics

            64.8k
            Posts