HISE Logo Forum
    • Categories
    • Register
    • Login

    About Expansions

    Scheduled Pinned Locked Moved General Questions
    16 Posts 4 Posters 779 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

      A full expansion is an entire separate HISE project. So your plugin will just be a shell that loads expansions and when you load the expansion the plugin will effectively become the other project.

      It's useful if your expansions are more than just different presets and samples.

      I posted demo project in another thread.

      whether you can load multiple at a time,

      No, in that sense it's no different than any other expansion.

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

      H 1 Reply Last reply Reply Quote 0
      • H
        HISEuser @d.healey
        last edited by

        @d-healey
        'no different than any other expansion'
        The documentation on expansions implies otherwise - what's the deal with that?
        It explicitly states multiple can be loaded, but there is the concept of an 'active expansion'.

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

          @HISEuser

          The documentation on expansions implies otherwise - what's the deal with that?

          Interesting, link please

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

          H 1 Reply Last reply Reply Quote 0
          • H
            HISEuser @d.healey
            last edited by

            @d-healey
            https://docs.hise.audio/working-with-hise/project-management/expansions/index.html#features
            Under 'active expansion'
            It's the first result after searching 'expansion' in the documentation

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

              @HISEuser Ah I understand now. You can use the scripting API to access files in non-loaded expansions. I can't see that being useful with full expansions because if you are using them they are probably unrelated to each other, but with regular expansions it could be quite fun to mix/match sample maps and stuff.

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

              H 1 Reply Last reply Reply Quote 1
              • H
                HISEuser @d.healey
                last edited by

                @d-healey
                This begs the question whether full expansions can have smaller sub-expansions.

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @HISEuser
                  last edited by

                  @HISEuser no. The expansion system isn‘t capable of nesting expansions at the moment.

                  ? 1 Reply Last reply Reply Quote 1
                  • ?
                    A Former User @Christoph Hart
                    last edited by

                    @Christoph-Hart said in About Expansions:

                    at the moment.

                    👀

                    1 Reply Last reply Reply Quote 0
                    • H
                      HISEuser
                      last edited by

                      Just had another thought - if a full expansion essentially replaces everything else going on in the project, how do you 'reset' things? For example, if you want to load a different expansion?

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

                        @HISEuser

                        You can unload the expansion

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

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          HISEuser @d.healey
                          last edited by

                          @d-healey
                          I'm afraid that doesn't exactly clear up my confusion - is that from within the full extension or from the plugin hosting the extension? As in, does the extension have to have the feature to unload itself with a button, or does the plugin have to provide that?

                          My understanding so far is that it overrides EVERYTHING that was originally in the project.

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

                            @HISEuser

                            is that from within the full extension

                            Yeah. So you'd add a button inside your expansion project that takes you back to the shell project.

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

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              HISEuser @d.healey
                              last edited by

                              @d-healey
                              Interesting. Is there no way to access data from the extension's host?

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

                                @HISEuser

                                Is there no way to access data from the extension's host?

                                You could use the FileSystem API.

                                Here's an example of unloading an expansion.

                                FullExpansionUnloadDemo.zip

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

                                Christoph HartC 1 Reply Last reply Reply Quote 0
                                • Christoph HartC
                                  Christoph Hart @d.healey
                                  last edited by

                                  Is there no way to access data from the extension's host?

                                  Yes. Once you've loaded a full instrument expansion, it will "forget" that it's an expansion an acts like a "native" HISE project with the only addition of being able to unload itself.

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

                                  9

                                  Online

                                  1.7k

                                  Users

                                  11.9k

                                  Topics

                                  103.5k

                                  Posts