HISE Logo Forum
    • Categories
    • Register
    • Login

    Loading spinner animation

    Scheduled Pinned Locked Moved Unsolved General Questions
    26 Posts 6 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.
    • clevername27C
      clevername27 @clevername27
      last edited by

      @clevername27 See my next post. There's a great example in the documentation, though, that shows you exactly how to do it. The short answer is, "manually" lol.

      S 1 Reply Last reply Reply Quote 0
      • S
        Sawer @clevername27
        last edited by

        @clevername27 @d-healey @Matt_SF Thanks so much for replying here.

        Should the code be implemented in "onInint" callback right?

        clevername27C Matt_SFM 2 Replies Last reply Reply Quote 0
        • clevername27C
          clevername27 @Sawer
          last edited by

          @Sawer Not sure I understand the question. Have you seen this? Cheers.

          1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @Sawer
            last edited by

            @Sawer put anywhere in you UI script == can be on init or in an include file. Remember to defer your UI script :
            https://docs.hise.audio/hise-modules/midi-processors/list/scriptprocessor.html#audio-thread-and-deferred-callbacks

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            S 1 Reply Last reply Reply Quote 1
            • S
              Sawer @Matt_SF
              last edited by

              @Matt_SF @clevername27 @d-healey Thanks so much for the reply.

              However, the loading of the samples appears to happen in C++ side(somewhere in Frontendhandler.cpp) , based on what I’m understanding. I tried to implement the code provided but I still think that I do not have a proper context of how to apply
              Here below is a video: 4E61B3B4-0442-4973-858A-4F1CC670DE36.gif

              Hope the video explains my point .

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

                @Sawer said in Loading spinner animation:

                @Matt_SF @clevername27 @d-healey Thanks so much for the reply.

                However, the loading of the samples appears to happen in C++ side

                Well everything happens in C++ in the compiled plugin.

                The loading callback is how you access it from the scripting API.

                Not sure what your video is meant to show.

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

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

                  @d-healey Here is a better video, thanks. ezgif.com-video-to-gif.gif It takes lots to load and here I wanted to have the loading spinning bar. Great , check the loading callback then. Will ask further question if i get still problems. Thanks so much

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sawer @Sawer
                    last edited by

                    @d-healey I tried loading up a simple panel and implementing the preloading method. and unfortunately it is not working because the sample location overlay is activated with the the sample location button, covering the preload panel. Is there anything i can do?

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

                      @Sawer Hide the overlay if you're not using it. I have them all turned off.

                      HISE_DEACTIVATE_OVERLAY=1

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

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

                        @d-healey amazing, thank you. Will update

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

                        11

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.2k

                        Posts