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.
    • 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
            • Christoph HartC
              Christoph Hart @arminh
              last edited by

              @arminh This is how it's supposed to work. You only switch expansions if you load a user preset from another expansion than before.

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

                I haven't checked (yet) but does changing expansion also update the sample redirect button in the settings panel?

                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

                  Nope, but if you're using HLAC monoliths, you can put them into the global sample folder or the expansion folder (which usually resides in App data and thus is not the best location for huge sample content). If a samplemap from an expansion is loaded and can't find the monolith in the Expansion's sample folder, it looks in the global sample folder.

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

                    @d-healey I take a closer look .. because I didn t succeed. I went through a combobox to load the presets. I had to do something stupid. and by the way. do you think it's possible to create a direct link from the vst that you redirect to the app data or application support folder?

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

                      @Christoph-Hart Thank you🙂🙂

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

                        @Christoph-Hart I was thinking that users might want to spread different expansions across different drives.

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Y
                            yall
                            last edited by

                            Hello I just got a better understanding of the expansion system and it's great. however I noticed that to load a preset as well as to save it, you had to activate "save in preset" on the Label> "HiddenLabel" and it works BUT.

                            I have this message in red which is written. is this disturbing?

                            Interface:! Trying to load a empty sample map... {SW50ZXJmYWNlfHwzOTAzfDE4MnwzMQ==}
                            : onHiddenLabelControl() - Line 182, column 31

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              BWSounds @yall
                              last edited by

                              @yall
                              I get the same message as well

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

                                @BWSounds Christoph said he searches automatically. then it may be normal. the compiled vst works fine. for 1 year I have been working on samples. I am sending 250 samples map for about 25 gigas. I tried to divide them into 10 expansion. it works without problem. but in hise there is this message .. i don't think it is serious

                                1 Reply Last reply Reply Quote 1
                                • BrianB
                                  Brian
                                  last edited by

                                  @Christoph-Hart & @d-healey I see that .json scripts can also be included in the expansions, does this mean that we can also include new Rlottie animations? :)

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

                                    OK a quick set of questions - that I cant seem to work out from the tutorial...

                                    I have a 4-layer (4 samplers) engine - I want to ship a bunch of samples and sample maps with the product - then I want to be able to add expansions.

                                    I dont use the standard preset browser - instead I use my own - but they get saved as "normal" presets - I just keep some meta data about them - I keep metadata about the sample maps too...more on that in a minute.

                                    So lets say a user installs the product - with its 4 "voices" and 100+ sample maps - they can load any sample map into any "voice" -nothing unusual here so far...

                                    Now a user installs an expansion (with an additional 150 sample maps) - it will put the samples in the same folder as those for the original product - or so Im hoping. Im well aware I will have to build the installe rfor all this.

                                    Can the user now mix and match sample maps from the original product and from any of the installed expansions - to get whole new unique sounds? say
                                    Voice 1 - an original shipped sample map
                                    Voice 2 - an original shipped sample map
                                    Voice 3 - a sample map from the expansion "Basses"
                                    Voice 3 - a sample map from the expansion "Retro"

                                    OK metadata - I keep metadata about sample maps in .js format (its just an array of strings in JSON format)- its a set of filterable attributes, I also keep another .js file with filterable attributes for presets

                                    The original product keeps these files in the user presets folder - can I keep/put this data for each expansion in the expansions_info.xml file?

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Lindon said in Expansion Tutorial:

                                      Now a user installs an expansion (with an additional 150 sample maps) - it will put the samples in the same folder as those for the original product - or so Im hoping.

                                      There is no expansion installer that comes with HISE, so it's up to you to provide the installation side of things. I think the easiest way is to use in the server and file APIs and directly download the expansions, I haven't tried it yet though but I believe this is what PercX does.

                                      You might not even need expansions, you could just ship additional sample maps, samples and presets. Expansions (I think) are only really needed if the expansions work in a fundamentally different way to your base plugin.

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

                                      A LindonL 2 Replies Last reply Reply Quote 0
                                      • A
                                        arminh @d.healey
                                        last edited by

                                        @Christoph-Hart maybe you tried encrypt expansion?

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

                                          @d-healey said in Expansion Tutorial:

                                          @Lindon said in Expansion Tutorial:

                                          Now a user installs an expansion (with an additional 150 sample maps) - it will put the samples in the same folder as those for the original product - or so Im hoping.

                                          There is no expansion installer that comes with HISE, so it's up to you to provide the installation side of things. I think the easiest way is to use in the server and file APIs and directly download the expansions, I haven't tried it yet though but I believe this is what PercX does.

                                          yes Im well aware that I will need to handle the installation of my samples, sample maps etc.

                                          You might not even need expansions, you could just ship additional sample maps, samples and presets. Expansions (I think) are only really needed if the expansions work in a fundamentally different way to your base plugin.

                                          Yes having spent all of 1/2 a day in the expansions system I'm beginning to think its not right for what I'm doing here...my "expansions" are in fact "just" sample maps (which could easily go in the product sample maps folder), samples (again in the products Samples folder), presets (again in the User presets folder), and some metadata about the "expansion"(its name basically) and metadata about the sample maps (a json file in the end) and metadata about each preset (again a json file)

                                          Given I'm using a custom preset browser and a custom sample map browser I think it would all be transparent to the end user...come usage time.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          DanHD 1 Reply Last reply Reply Quote 1
                                          • DanHD
                                            DanH @Lindon
                                            last edited by

                                            @Lindon Where do the sample maps live after installing a plugin? You can find the .ch1 and preset files easily, but not the sample maps and I wondered if they were baked into the plugin instead....

                                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                            https://dhplugins.com/ | https://dcbreaks.com/
                                            London, UK

                                            d.healeyD 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            17

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.3k

                                            Posts