HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion User Presets

    Scheduled Pinned Locked Moved C++ Development
    60 Posts 5 Posters 4.2k 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.
    • DalartD
      Dalart @d.healey
      last edited by

      @d-healey I joined your patreon and watched the expansions 101 video, everything worked as you showed it would - however I really like this 4 column layout you have in your player is there a snippet or video that shows how you did this ?

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

        @Dalart There is no snippet, but don't worry, in the latest version of HISE scriptnode the 4th column is built into the preset browser - however the expansion system is currently broken so we need to wait for Christoph to fix it before it can be used.

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

        DalartD 1 Reply Last reply Reply Quote 0
        • DalartD
          Dalart @d.healey
          last edited by

          @d-healey Ok, Thank You.

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

            @Christoph-Hart any updates about expansions system? Im not even thinking about inbuilt installer but i would like to see update where plugin can store last used preset after daw restart.

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

              @arminh said in Expansion User Presets:

              but i would like to see update where plugin can store last used preset after daw restart.

              What does this have to do with the Expansion system?

              You mean if the user loads a certain user preset, then saves the DAW project and restores it, the actual sound of the user preset is being restored correctly, but not the user preset itself (in the preset browser or with Engine.getUserPreset(), yes? I can take a look at this, AFAIK I just need to store a reference to the currently loaded preset in the DAW chunk.

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

                @Christoph-Hart i must check tomorrow what exactly not works. In newest script node version i can't even create expansion folder because when i hit OK hise crashes.

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

                  @Christoph-Hart ok i tested it right now on older version. Now DAW not saving any state from plugin. I created simply plugin to handle expansions and sample maps.

                  I loaded plugin in DAW and selected sample map. I saved DAW project and reopen app. I loaded project and ... combo box with sample maps loaded first item and when i hit a note i hear nothing.

                  d.healeyD 2 Replies Last reply Reply Quote 0
                  • DalartD
                    Dalart
                    last edited by

                    I'm a bit out of the loop, has expansions been fixed ?

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

                      @arminh You're mixing a few things. Loading sample maps, changing presets, and expansion are all separate.

                      We need to narrow down exactly what the problem is that you have found. Firstly you should test with the latest version of scriptnode branch, since that's the one Christoph will be working on and updating.

                      Expansions seem to be totally broken at the moment so don't worry about that for now.

                      Christoph has already mentioned that he'll fix the issue with presets not being recalled in the preset browser so we don't need to worry about that.

                      So the sample map issue is the only thing we need to work on at the moment. But first you need to test with the latest build.

                      @Dalart said in Expansion User Presets:

                      I'm a bit out of the loop, has expansions been fixed ?

                      Nope :(

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

                      DalartD 1 Reply Last reply Reply Quote 0
                      • DalartD
                        Dalart @d.healey
                        last edited by

                        @d-healey Ok, i'll try to keep an eye out for when it is. Thanks.

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

                          @d-healey said in Expansion User Presets:

                          But first you need to test with the latest build.

                          yeah, but latest build crashes when i trying create expansion folder. I guess you haven't checked the latest version?

                          I checked latest version and it's not working. I created manually folder for expansion but HISE don't recognize this as expansion. I even create expansion folder in older version a copy to new and still without success.

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

                            yeah, but latest build crashes when i trying create expansion folder. I guess you haven't checked the latest version?

                            Doesn't matter. Expansions aren't the problem. The problem you have is sample maps, so make a demo project that reproduces the sample maps issue without any reference to expansions or presets.

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

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              coreyu21 @d.healey
                              last edited by

                              @d-healey the main issue I’ve seen with moving forward with the expansion system is the same issue of the combo box not saving the Expansion chosen for the user preset box to load the correct preset. The combo box resets itself on load. I thought we’ve talked about this before. The user when using the plugin needs to choose their expansion and use the presets. Save the project. And when reloaded by the user, the plugin goes to the expansion that was previously loaded.

                              Currently the combo box used to choose expansion resets itself when save in preset is checks resulting in the loop error I’m guessing. This fix would enable me to actually use the expansion system instead of the workaround mess I have currently.

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

                                I agree with you. User will not remember what sound he used in certain project.

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

                                  @arminh said in Expansion User Presets:

                                  loaded plugin in DAW and selected sample map. I saved DAW project and reopen app. I loaded project and ... combo box with sample maps loaded first item and when i hit a note i hear nothing.

                                  This is the problem we are trying to solve (first), it has nothing to do with expansion or with presets. It's about his sample map not being loaded when he reopens the DAW. It might turn out that the problem goes away once we remove the expansion/preset element of the program in which case the above quoted problem is not the problem at all, but first we have to isolate the issue to check what is really causing it.

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

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

                                    This is most likely a glitch because of the expansions or a user fault (wrongly scripted). Samplemaps will definitely restore when you load a DAW project, that's one of the most basic functions.

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

                                      @Christoph-Hart ok so if you think it might be scirpt issue please check it and tell me is something wrong

                                      Content.makeFrontInterface(600, 500);
                                      
                                      const var expansions = Engine.getExpansionList();
                                      const var expansionNames = [];
                                      var sampleMaps;
                                      
                                      const var Sampler = Synth.getSampler("Sampler");
                                       
                                      for (e in expansions){
                                          var p = e.getProperties();
                                          expansionNames.push(p.Name);
                                      }
                                      
                                      
                                      //cmbExpansions
                                      const var cmbExpansions = Content.getComponent("cmbExpansions");
                                      cmbExpansions.set("items", expansionNames.join("\n"));
                                      
                                      inline function oncmbExpansionsControl(component, value)
                                      {
                                          Engine.setCurrentExpansion(component.getItemText());
                                          sampleMaps = expansions[value-1].getSampleMapList();
                                          cmbSampleMap.set("items", "");
                                      	cmbSampleMap.set("items", sampleMaps.join("\n"));
                                      };
                                      
                                      Content.getComponent("cmbExpansions").setControlCallback(oncmbExpansionsControl);
                                      
                                      //cmbSampleMap
                                      const var cmbSampleMap = Content.getComponent("cmbSampleMap");
                                      
                                      
                                      inline function oncmbSampleMapControl(component, value)
                                      {
                                      	Sampler.loadSampleMap(sampleMaps[value-1] + ".xml");
                                      	//Console.print();
                                      };
                                      
                                      Content.getComponent("cmbSampleMap").setControlCallback(oncmbSampleMapControl);
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        coreyu21 @Christoph Hart
                                        last edited by

                                        @Christoph-Hart the sample maps do actually restore but the expansion box doesn’t restore making the sample maps not pop up in the user preset browser. Therefore you cannot load your saved samplemap because the expansion selected isn’t being saved in preset That’s the issue I’ve been running into

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

                                          @Christoph-Hart im also assuming the percX expansion system when complete will resolve these minor issues?.. can’t wait😊😊

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

                                            @coreyu21 oh i cant wait for this

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

                                            15

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts