HISE Logo Forum
    • Categories
    • Register
    • Login

    fadeComponent

    Scheduled Pinned Locked Moved Scripting
    13 Posts 5 Posters 429 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.
    • d.healeyD
      d.healey
      last edited by

      Thank you! Good bye to extra timers :)

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

      1 Reply Last reply Reply Quote 3
      • Dan KorneffD
        Dan Korneff
        last edited by

        fadeComponent only seems to work 60% of the time for me. Anyone else notice this?

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          I've actually found a strange pattern. It works 5 times in a row, then fails 4 times, then works 3 times in a row, then fails 2 times, then fails on first try. then back to 5 times in a row

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @Dan-Korneff Got a snippet that demonstrates the issue?

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

            Dan KorneffD 2 Replies Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey of course a minimal example works just fine. Lemme dig a bit deeper.

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @d.healey
                last edited by Dan Korneff

                HiseSnippet 1145.3ocsV8uSabCG2GfqZtQmVk1CfE+0gDKMGPYfllVf.zgVAhVXcSBUgbtyIwBe1m74.MpBoo8jr2g8BzGo8Fr80muK2kQfVEsdRIRe+8mu+ves6pUQrrLkF403hIoLj2p3dSjlQcFQ4RzIGZYjRkLAwvxLnCljRyxXwHOukekUCuFqfx+96e3.pfJiXUrPn2n3QrWyS3lJtca+Sbg3XZL6BdRM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LtzbvHbL3yAFKddxyvGMX.KxTAvUvG+aeddKBxcK6vSoFMGFEvmMNoGLPFwfnKg4I6BJukrqRbzsrz1JPOlLNm3efuBggVZuBggkBQIzHs5pH2BH6CfdZNG.Sx7290.epklLcuCF2pYKTB7Vrqhhro+2.a2luMat.1r0BXy1KfMubArYmEvlucArY2G0F6yf2erQk3NN.L5dT99eOuijTXxJeJD8u7NGwYN
                

                panel_fade.gif

                Sometimes it works for a few minutes, sometimes it fails almost immediately. If I hammer the fade like in the above gif, the panel becomes unresponsive. If I wait for the fade to complete before changing it's state, the show/hide will still work, just without the fade.

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  Yeah I'm seeing weird behavior too when using consecutive calls.

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

                  HISEnbergH 1 Reply Last reply Reply Quote 2
                  • HISEnbergH
                    HISEnberg @d.healey
                    last edited by

                    @d-healey @Dan-Korneff I am noticing this issue till this day! Was this ever resolved? Does it carry over to the exported plugin or is it just while working within HISE?

                    d.healeyD Dan KorneffD A 3 Replies Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @HISEnberg
                      last edited by

                      @HISEnberg said in fadeComponent:

                      Does it carry over to the exported plugin or is it just while working within HISE?

                      Not sure, I haven't used it much.

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

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @HISEnberg
                        last edited by

                        @HISEnberg I haven't used it since.

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 0
                        • A
                          aaronventure @HISEnberg
                          last edited by aaronventure

                          @HISEnberg Unfortunately it does.

                          Issue on Github since last year

                          Link Preview Image
                          [Engine] fadeComponent method is inconsistent, sometimes instantly changing visibility · Issue #481 · christophhart/HISE

                          fadeComponent has been demonstrating inconsistent behavior for a while now, with no apparent trigger. Assigning components to two panels and then triggering fadeComponent on these panels back and forth results in the panel (and as such, ...

                          favicon

                          GitHub (github.com)

                          My workaround is to use a custom timer per fade group and refer to it in LAFs as color alpha, but of course it would be great to not have to do that.

                          rglidesR HISEnbergH 2 Replies Last reply Reply Quote 1
                          • rglidesR
                            rglides @aaronventure
                            last edited by rglides

                            Weird, it works perfectly in your snippet every time for me, multiple attempts. I'm using version 4.0.0 build 60, if that might help identify the issue

                            1 Reply Last reply Reply Quote 0
                            • HISEnbergH
                              HISEnberg @aaronventure
                              last edited by

                              @aaronventure Okay thanks for confirming everyone. I figured a timer would work just as well but I was hoping to avoid having one run in the background waiting for a fade event. I suppose a combination of a broadcaster and timer would work but not fun to implement.

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

                              16

                              Online

                              1.8k

                              Users

                              12.1k

                              Topics

                              104.9k

                              Posts