HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Best Practices

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 305 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.
    • ?
      A Former User
      last edited by

      Probably should have asked this a year ago when I first set up the expansion system, is it possible to make the expansions all-inclusive? As in, additional NoteOn/Off, GUI elements, parameters etc be part of the expansion download, not the primary plugin?

      I hate having to "prepare" NEAT Player for future expansions and push an update that adds functionality without any actual updates to NEAT Player itself.

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

        There is a FullInstrument expansion mode which basically allows you to ship a complete HISE project as an expansion (minus the stuff that gets compiled) and load it from a generic shell plugin.

        I think David is using this function since some time so he might give you more input for actual best practices at using it.

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

          @Christoph-Hart Right I forgot all about that setting. I'll look into it

          @d-healey Do you have any insights on FullInstrument mode? :)

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @A Former User
            last edited by

            @iamlamprey Sure, I'll send you a PM

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

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              @Christoph-Hart Is FullInstrument mode production-ready yet? I'm getting some pretty reliable crashes but I'm on an older (pre-faust) commit

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by A Former User

                Side note: is there a method for adding additional NoteOn/NoteOff functionality from the expansion's Additional Source Code folder? I likely don't need FullInstrument expansions if I can just make the NoteOn/Off override the base instrument in a modular way.

                Edit: okay I think I can just use the JSON method for images, showing/hiding GUI & setting up the samplers :) go JSON!

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

                  Is this safe to use in the expansion loading callback?

                  if (manifest.usesAdditionalGUIControls) //manifest is a json file loaded when the expansion changes
                      {
                          local component_string = manifest.additionalGUIControlsIndex; //string with the exact name of the UI component
                          Content.getComponent(component_string).set("visible", 1);
                      }
                  
                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @A Former User
                    last edited by

                    you might want to check if the component exists or the component_string is empty to avoid a script error, but apart from the sanity checks it's perfectly safe to do this.

                    It's rather a question of architectural design, if you have hundreds of UI elements that are lurking in the shadows waiting for their moment to shine, it might be better to use the FullInstrument expansion mode and work around the glitches (or report them).

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

                      @Christoph-Hart Yeh I already have safety checks in place I just didn't paste them above. Cheers!

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

                      21

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.8k

                      Posts