HISE Logo Forum
    • Categories
    • Register
    • Login

    Link in vst

    Scheduled Pinned Locked Moved General Questions
    50 Posts 4 Posters 1.9k 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.
    • Y
      yall @d.healey
      last edited by

      @d-healey I modified. it works as it should when the button is not momentary

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

        @yall It will work when momentary too. You just need to put the value check in the button callback so it only triggers when the button is pressed not released.

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

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

          @d-healey now i'll work on a progress bar .. stay tuned lol

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yall @yall
            last edited by

            @yall I tried this function before modifying it. during the loading the panel changes color well but once the loading is finished it remains on the loading color. Any idea?

            
            const var panel = Content.addPanel("Panel", 0, 0);
            
            panel.data.colour = Colours.grey;
            
            panel.setPaintRoutine(function(g)
            {
            	g.fillAll(this.data.colour);
            });
            
            // This function will be executed whenever the preload state changes
            panel.setLoadingCallback(function(isPreloading)
            {
            	if(isPreloading)
                    this.data.colour = Colours.white;
                else
                    this.data.colur = Colours.grey;
                    
                // Update the UI
                this.repaint();
            });
            
            
            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @yall
              last edited by

              @yall Check your spelling.

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

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

                @d-healey the o of color was missing ^^ I had taken the example of Christoph without an auditor. So I got to rewrite from scratch. 1 / invisible panel 2 / loading = visible panel 3 / fin = invisible panel it seems that creating a progress bar is too complex at my level so i'm thinking about this. once the panel is opened for loading, I integrate an automatic rotary knob with a film strip loading logo image as well as a "please wait" message. just one thing to ask you .. once the loading commcé, my button turns automatically and at the end of the loading it becomes invisible. Is it possible to tell him to stop the rotation? it has become invisible while it is still spinning is useless

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

                  @yall Just stop the timer

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

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yall
                    last edited by

                    @d-healey I'm starting to understand a lot of things thanks to you;)

                    HiseSnippet 2223.3oc4Y0saabbEdWIupVzQAVA4h.TTfoBs.jMpzjR1NAwvHT+PYSXIJFtzNsMxHXzxgjS7tyrcmgRhUP.45dUeAZeA5M8h9.3Gk7Hj2.2yry9yPJRZF05zfVJ.INm4bl4a9lybNmYTqHtGQH3QV1q1YTHwx98bbGwjC1a.lxrZruk8O2gxDRruOhbgDyjBJmgNkOTxYV6NJDKDjtV11K+DkA1qdKq3Oe+muK1Gy7H4hrrdAm5QNjFPk4RaU6YTe+CvcIcnAFZe+ZM73r8397g.3V1ohUH16U39jlXkZK4XYuR8tTIOxUhkDgk8s1k2cj6.94Ls9ufJnm5STMpZ4BCjV7Ab+tJDqjZs2.pe2Vojfvxx1oUNkrrlR9PmincoYxyol6F2AJ2BS9vdo4AuplvqxhCOaC3cKM7V2w0KhFJy6Qgs63zfIIQ8vvVfIrz5ZszeeUm83fFLY4.7qHGDAMxrn3CqTYSzCpToziVq.rMHjnyvQHWbPnOIpJ5wnXmjx8IxXHF2p3Fo8ugxLSCIWD9TLqKzGXZcVeJiT1Kh.DS8KBwLkKUR+E0llaPYAQtiuO+bR2LcUqaQwuxPoCn9jcwvRbSzZEPKxGCiiW1AjtT.O2D6qy7hFEJIce43zU54lGiRYZEewCB4LnQwMR5OgsT+PY9.0f5Mj4IUGy3rDcTCPD2unWp0aByf+PRIkUJ3bo5WQj9nd.S7nXDluPRXbA3786Ihl7ujx5xOG1uH9DOIp7.XKaSzFt0Or9d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MvlsuA1b+afMO3FXyCuA17I2.a9z4ZipLgcfKdEnCRBBZUW6XYWO+BUV+KPDBmfP
                    
                    1 Reply Last reply Reply Quote 1
                    • Y
                      yall
                      last edited by

                      @d-healey little question. does "setLoadingCallback" work while loading a preset? I thought I read somewhere that this function works as soon as the system loads something. I have some sample maps that take a little time to load (1 to 2 seconds). It might be nice to have an animation when a preset loads.

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

                        @yall If I recall correctly that callback is just for when samples are being loaded. So if you load samples when changing preset it would be triggered.

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

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

                        23

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.4k

                        Posts