HISE Logo Forum
    • Categories
    • Register
    • Login

    Switching presets w/ button loads slowly

    Scheduled Pinned Locked Moved General Questions
    12 Posts 3 Posters 503 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.
    • B
      BWSounds @d.healey
      last edited by

      @d-healey
      Yes.

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

        @BWSounds Then I assume the delay is the time it takes to load the samples. The fact the time increases when you've been on one preset for a while could be some kind of caching thing. Are you testing this in a standalone build?

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

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

          @d-healey
          Standalone Yes. It’s just odd to me, when I use the preset browser to select a preset it does it right away, every time.

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

            @BWSounds said in Switching presets w/ button loads slowly:

            I use the preset browser to select a preset

            I assumed that's what you were doing. Are you saying this issue is only noticeable when changing the preset through scripting?

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

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

              @d-healey yes sir

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

                @BWSounds

                yes sir

                Then we need to see the script.

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

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

                  @d-healey

                  // previous arrow //
                  inline function onButton8Control(component, value)
                  {
                  if (value ==1)
                  {
                  Engine.loadPreviousUserPreset(true);

                  }
                  };

                  Content.getComponent("Button8").setControlCallback(onButton8Control);

                  // next arrow//
                  inline function onButton15Control(component, value)
                  {
                  if (value ==1)
                  {
                  Engine.loadNextUserPreset(true);
                  // Buttonsyncenv.changed();
                  }
                  };

                  Content.getComponent("Button15").setControlCallback(onButton15Control);

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

                    @BWSounds I can't see anything wrong with that. I like the wonderfully clear naming choices for your buttons :p

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

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

                      @d-healey
                      humm..well that's weird. i'll mess with it a bit more, maybe chance the names of the controls haha

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @BWSounds
                        last edited by

                        @BWSounds are the buttons saveInPreset disabled? Though I'm not sure this would have an impact on your particular problem…

                        Can't help pressing F5 in the forum...

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

                        37

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.1k

                        Posts