HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Tutorial

    Scheduled Pinned Locked Moved Blog Entries
    133 Posts 16 Posters 10.5k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Hi everybody,

      as it appears to be a rather hot topic, I've decided to spend some time to write a proper tutorial project that covers the basic features of the Expansion system. I think I've included every feature and fixed some of the issues along the way, so the example projects should work inside HISE as well as when compiled to a plugin / standalone app.

      1. Pull or download the hise_tutorial repo
      2. Make sure to update HISE to the latest scriptnode
      3. Load the ExpansionTutorial project in HISE
      4. Load the Help.xml project which contains an overview over each included example and some guidance how to compile them.

      Let me know if anything is not working, it's supposed to be a minimal use case that works everywhere and can be used as starting point.

      orangeO 1 Reply Last reply Reply Quote 8
      • d.healeyD
        d.healey
        last edited by

        Thanks Christoph, just saw all the commits, you've been busy!

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

        1 Reply Last reply Reply Quote 0
        • orangeO
          orange @Christoph Hart
          last edited by

          @Christoph-Hart Very hot topic, right timing.... Thank you!

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          1 Reply Last reply Reply Quote 0
          • A
            arminh
            last edited by

            Oh my God! Such a present for Xmass! :D

            1 Reply Last reply Reply Quote 0
            • A
              arminh
              last edited by

              @Christoph-Hart i noticed that floating PresetBrowser has issue with default text :)

              alt text

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

                Are expansion images held uncompressed in RAM like images embedded in the plugin?

                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 @arminh
                  last edited by

                  @arminh Ah yes, I overlooked that one. It's fixed now.

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

                    @d-healey said in Expansion Tutorial:

                    Are expansion images held uncompressed in RAM like images embedded in the plugin?

                    I think it loads only used ones, but you might find it out using a big image and the Taskmanager :)

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

                      hello I have a question about expansion. the end user will have to proceed how for the installation? the presets will be put directly in the vst or will it be necessary to import them manually?

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

                        @yall You'll need to handle that with your installer. The expansions have to go in the app data folder.

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

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

                          @yall Be aware that this tutorial does only cover FileBased expansions, which are mini project folders including human readable samplemaps and no encryption whatsoever.

                          For a end user distribution you might want to look at one of the encrypted formats, but this will be covered in another tutorial later on.

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

                            @Christoph-Hart Is the API already there for the encrypted version?

                            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
                            • A
                              arminh
                              last edited by

                              @Christoph-Hart thanks for quick update. I checked setExpansionCallback method and i see it's execute function on changing preset instead expansion itself.

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

                                If you load a preset from an expansion, it will also change the current expansion.

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

                                  @d-healey said in Expansion Tutorial:

                                  Is the API already there for the encrypted version?

                                  Yes, but I can imagine that there's a few things to clean up before it can be used. I just want people to get acquainted with the basic functionality before taking the next step.

                                  d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 1
                                  • d.healeyD
                                    d.healey @Christoph Hart
                                    last edited by

                                    @Christoph-Hart :) I'll have to update my expansions video

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

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      arminh @Christoph Hart
                                      last edited by

                                      @Christoph-Hart it's not really work like this. I just made Console.print in setExpansionCallback and i see log only when i switch preset in expansion but it not work on changing preset. I hope you understand what i mean.

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

                                        @Christoph-Hart @d-healey I will try tomorrow. Is there a way to create a link button that redirects to the app data or application support folder from the vst? this would make it possible to create an "installation" button. 1 for the presets and 1 for the samples. It could be a quick and easy solution while waiting for an expansion version which includes sample + preset. What do you think?

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

                                          i just finished and compiled a vst test with 4 expansions. everything works very well. the use is quite simple but for an end user it can be complicated. I look forward to the possibility of doing it with the .ch1 sample because otherwise with the wave samples, the size of the sound bank can really be gigantic ^^

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

                                            @yall You can already use ch1 samples with expansions.

                                            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

                                            59

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts