HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Tutorial

    Scheduled Pinned Locked Moved Blog Entries
    133 Posts 16 Posters 11.0k 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.
    • ustkU
      ustk @Lindon
      last edited by ustk

      @Lindon You can I think, the expansion tutorial project seems to work this way
      @d-healey I don't think "switch" is the right term since you gather all expansions at once, it is just a matter of selecting which one you choose to load a sample map. Christoph said (if I understood well) the active status of an expansion is just here so you can decide the behavior of your plugin based on that info. It doesn't restrict you to use any of those at the same time, to me it is just an info or status.

      Can't help pressing F5 in the forum...

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

        @d-healey said in Expansion Tutorial:

        but you have to switch expansions between loading each sample map.

        Nope, that's not the case. It's like Lindon wants it to be, you can load any combination of expansion assets everytime without bothering about an active expansion (and I don't think loading an samplemap from an expansion switches the "active" expansion, but I'm not 100% sure though :)).

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

          @Christoph-Hart Oh cool, so as long as you prefix the expansion map name with {EXP::MyExpansion} and replace MyExpansion with the name of the expansion it should work?

          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

            Yes.5678

            1 Reply Last reply Reply Quote 1
            • LindonL
              Lindon @Christoph Hart
              last edited by

              @Christoph-Hart said in Expansion Tutorial:

              @d-healey said in Expansion Tutorial:

              but you have to switch expansions between loading each sample map.

              Nope, that's not the case. It's like Lindon wants it to be, you can load any combination of expansion assets everytime without bothering about an active expansion (and I don't think loading an samplemap from an expansion switches the "active" expansion, but I'm not 100% sure though :)).

              -- HERO!

              HISE Development for hire.
              www.channelrobot.com

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @Lindon
                last edited by

                HA HA! Now I have the power! , with this I can rule the world I tell you!, you fools you will never understand! It's mine! all mine! ......oh hang on..... I dont yet know how to install an expansion....hmm, this world domination thing is a bit trickier than I thought....

                HISE Development for hire.
                www.channelrobot.com

                1 Reply Last reply Reply Quote 3
                • C
                  coreyu21
                  last edited by

                  Does this fix the issue of the end user opening a saved project in the daw, and correct expansion presets will load that the user has saved? Been my issue the whole time

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

                    @coreyu21 yes its fixed :D

                    C 1 Reply Last reply Reply Quote 1
                    • C
                      coreyu21 @arminh
                      last edited by

                      @arminh awesome! Thanks everybody.

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff
                        last edited by

                        I have a quick Preset Browser question. The HISE preset browser has the first column populated with expansion names, but the floating tile preset browser defaults to the main Project user presets folder. Is there anyway to get the floating tile to react the same way? Ultimately, I'd love the Floating Tile preset browser to contain ALL of the expansion presets, not just the loaded expansion.
                        Here's a pic that I hope clarifies my question:

                        PRESET.png

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                          @dustbro Enable the expansion column:
                          ef0ad6cf-3139-4a67-88ee-b2731a63db90-image.png

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

                          Dan KorneffD 1 Reply Last reply Reply Quote 0
                          • Dan KorneffD
                            Dan Korneff @d.healey
                            last edited by

                            @d-healey It's always something stupid..... Thank you!

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 1
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              @d-healey Have you tinkered with loadPreviousUserPreset() and loadNextUserPreset() while using expansions? It seems to only work with presets located in the User Presets folder.

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                @dustbro I have not

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

                                1 Reply Last reply Reply Quote 1
                                • Dan KorneffD
                                  Dan Korneff
                                  last edited by

                                  @dustbro said in Expansion Tutorial:

                                  loadPreviousUserPreset() and loadNextUserPreset()

                                  @Christoph-Hart Is there any way to make loadPreviousUserPreset() and loadNextUserPreset() available to expansions?

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  1 Reply Last reply Reply Quote 0
                                  • Dan KorneffD
                                    Dan Korneff
                                    last edited by Dan Korneff

                                    It looks like you have to set Engine.loadNextUserPreset() to stay in Directory.

                                    Engine.loadNextUserPreset(1);
                                    

                                    That will allow you to load next and previous in the expansion. If set to 0, the presets will get stuck cycling in the UserPreset folder and not find their way out.

                                    Dan Korneff - Producer / Mixer / Audio Nerd

                                    Dan KorneffD 1 Reply Last reply Reply Quote 1
                                    • Dan KorneffD
                                      Dan Korneff
                                      last edited by

                                      I'm using a label to display the current preset name.
                                      If I load a preset from an expansion, save the session in DAW and reopen, the preset label is blank. Engine.getCurrentUserPresetName() returns nothing. If I open and close the preset browser, the label text gets populated.
                                      Anyone else experience this?
                                      Engine.getCurrentUserPresetName() works as expected with the User Presets. (preset name is always restored)

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      orangeO 1 Reply Last reply Reply Quote 0
                                      • orangeO
                                        orange @Dan Korneff
                                        last edited by orange

                                        @dustbro I am using this method. No problem here. Also you can put an invisible button above the label to open the preset browser.

                                        HiseSnippet 1684.3ocuX80aaaCDWJMJqxsYcEn.CX6gQ3GFbBxbkbSxR6PQSiSba1RRMpS61PwPAiDsMQkIEnnRhaQdX66x9RrOU809z1QR4HIGm+TCjIGGadGui+ti2c7naK3AjjDtvx1c+gwDK6a6zYHS1uYeLkYs8lV1eoyt3DIQfLj1XXLNIgDZYaeimoHX6Nqk94iOYCbDlEPxIY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FERKltLeU16SihlXdeqVMVAdsZVduYvo4840L7N1y2Tg3TlgB7QujDH+bJH3WT0s.uZsp7iG1ivfP9doQXvjQM7q6MQDzBZ0.SvqsPorYCPdZDsGiDtOjaVKK0CV4ll397DOUGHJn8F+qNlqFQ5JqdgknT8+HNaIpwqNMgz5w0kDKLZq1CLGg6dMVRbZJ2bhoqBnAuDI5Pr.8pXyQ6f1OSCF0mPG.UGI.rUu7xMfXBevsmUDMWsaBca8Yp3bQTptguQ05ixKq6RUItT0OpZR0RCgkvuwCgNsTp9xOc3z5Tb1dbI4EPvQkOTwsxIUPiypa2IxSUCRvihfPiIw1DzbABVikN3.hXIvCDAXZzDgdQK2rqy42rawdwCLkDKLQNaaFU9B3zhyqEXqr5nv2d01aBwkpthynkWWEnsIbfY.wzirqyljj2I4w.RaxGDyYJMXWQp4N+nNnUUusngp4uwyLiNt3EXFVXv55pzmR3i+05lpz4SYy0OfKBIhWhCooIE0igdG56Kc8n7y1.py8oO8IuxTaTjrUAy3lmmYTwYTdhxNbr+GasM3XeKPAiv+b2Ia8OE+ycuLJYGyXY+0NSriUqxciptQT4tQuZv71N4YcFf92SKP+VmysA5OOv9EmGXuiSoTXCd+SqL75TDuei83386FGuUctryugqHelq7AW7jGBmzIKeaT0UvyX.Yskt1m5pcrDpbXwqnesbE0qJbuqSapLn+jw6LS.uPd90Mdytv+7Na0sKzTRNXm0o0uc8e6dKSOX8fKzHnp3p8RGzAR7CH.RXP.npxp8LpjeyXO0XkmoCgEpG7uvSFSe0X6Ll9iXZM.GH3uMvTOW8SJbSME.SL8urhqytpwHeKcMdPNGu5dVCngz2FDnbE+.f8IKSioPlGLExr7THyJSgLqNEx7iSgLqcgxn9QldZJbaHSZBPn8V5C9rs2hggnLcDo0+Avjjh1C
                                        

                                        develop Branch / XCode 13.1
                                        macOS Monterey / M1 Max

                                        NatanN Dan KorneffD 2 Replies Last reply Reply Quote 1
                                        • NatanN
                                          Natan @orange
                                          last edited by

                                          @orange said in Expansion Tutorial:

                                          HiseSnippet 1684.3ocuX80aaaCDWJMJqxsYcEn.CX6gQ3GFbBxbkbSxR6PQSiSba1RRMpS61PwPAiDsMQkIEnnRhaQdX66x9RrOU809z1QR4HIGm+TCjIGGadGui+ti2c7naK3AjjDtvx1c+gwDK6a6zYHS1uYeLkYs8lV1eoyt3DIQfLj1XXLNIgDZYaeimoHX6Nqk94iOYCbDlEPxIYY8ZNMfrCc.UlSs85+BMJpENjrOcPgYu75aGvYM4Q7T.O2vwyJFG7NbOxdX0zlwwxdtsBoRtniDKIIV1ytAObXm97iXl4+ZZB8fHhZfuUGPQFxs3QgJDqnZ0rOMJr8H6NwBzR6buvMLdg64rKMjdJ8buwWoYfxknn+vdlKBd9Egm2UGd1Ef2rF3cWmNABZrLmiBa2xYaFrQ0ECaAEgkYtVyrSEmlbXFLY8A32QZIfAmJQsU87VBshm2B+z7UTuXfSOA1.HnWkPDsEjDh7Wog8Hxj4q7g4q3d+EWD0TPTlJBivBA+HzAoRImgj8wRTvvfHfkrufm1qO7IAEjJDvxiB.g5wECqiV79flnrHJif5lxBjTP7.sVMK4FZMVSglkPGuDZ3Rnz3E.gTPvMhGfiPGogE5wnQlGNLrMlQhJHlxrPviRpQSCTO3AiIBIkj.tiA+bmWrWlLZ0WEzrre0Gg7WYI839DZu9RfPCOCgD7gjsYFnBj6hiRHFNRNORRiAhownmfptCGGhXjiknTvehhMhfdTFGX7gTdZRItFMgih3G0D9+AP5PBnvpMinv2PeO547CIhppYcRQCz3PpGhk35vp+X.Bmkqx5gvZ4K4oRv8Waj6uVOk603ec6ollIkrlrOMwny9pkELJuia7vV5GvN7NtUK+U8Wy+gJnnksKjmuufhY8hH0dCDeA+o0ROcrjresExI7bsus1B+QFoQn+Incwx90au88a.qhe8UPKNhhYgljoCndWvaRF41xsNxgvVeAKbbq5wH8LLixTrqdlztFgqGnb+jPsRxzhhYQTa345tEqG3aqGAaw6A684oR0jhTRlixk.QMmUf1YgDmQHWCdNoH3zKtfDq1QqUvu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KcMdPNGu5dVCngz2FDnbE+.f8IKSioPlGLExr7THyJSgLqNEx7iSgLqcgxn9QldZJbaHSZBPn8V5C9rs2hggnLcDo0+Avjjh1C

                                          I Tried This Method.
                                          By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.

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

                                            @Natan said in Expansion Tutorial:

                                            @orange said in Expansion Tutorial:

                                            I Tried This Method.
                                            By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.

                                            Yes of course it's normal :) Because it'set to load next preset.

                                            Before saving the Hise project, only you have to do is selecting the first preset (this first preset is the initialization preset that your plugins opens with), and then saving the project xml and save archive at the same time. If the first preset and save archive settings are different, there will be glitch. So, First Preset - Save XML - Save Archive must be same.

                                            Advantage of this thing is, on the initialization, the plugin always initialize with the first preset and automatically selects it. Also it doesn't jump over to next preset when the DAW project is loaded.

                                            develop Branch / XCode 13.1
                                            macOS Monterey / M1 Max

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

                                            26

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.3k

                                            Posts