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 yes I just saw that the "expansion name" folder was created. but the samples do not load. they are invisible from the sampler

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

        @yall Show me the line of script you are using to load them.

        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 this is the extract just above

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

            @yall I mean show me where you are loading the samplemap into the sampler.

            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 I put the sampler in the big screen. and in the "select expansion" section. I can clearly see my expansion. then on the drop-down window of the sampler (where you can choose your sample Map) the window is empty

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

                @yall You mean there are no sample maps to choose from?

                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 yes

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

                    @yall Does it work if you install it manually?

                    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 just got it. stupid mistake on my part.
                      I took an extension created on another project. I redid an empty project to try. it didn't work because the sampler didn't have the same name. already error. then I just understood that the samples extracted, we could put them where we wanted because there was a link windows file in the expansions folder.
                      so now everything is working as I wanted. now, for the user, the extracted folder will be automatically present in AppData?

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

                        @yall Yep

                        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 thank you for your time :)

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

                            @d-healey I just tried in a compiled vst it works perfectly. at the end of the cycle, the "select hr1 file" window is still present. is this normal?
                            moreover, how to add a progress bar?
                            I'm thinking of preparing a project to share here for the noobs like me

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

                              @yall Everything you need is in the docs :) https://docs.hise.audio/scripting/scripting-api/expansionhandler/index.html#installexpansionfrompackage

                              The select window shouldn't be there. My guess is you forgot to check the value of your momentary button in the callback before triggering the install function, so it's actually triggering twice (once when you press the button and once when you release).

                              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 precisely it is momentary that's why I'm asking the question ^^

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

                                  @yall

                                  if (value)
                                  {
                                     // Do stuff here
                                  }

                                  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 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
                                            • First post
                                              Last post

                                            29

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.3k

                                            Posts