HISE Logo Forum
    • Categories
    • Register
    • Login

    Samplemaps for future usage

    Scheduled Pinned Locked Moved General Questions
    53 Posts 3 Posters 2.6k 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
      last edited by

      @d-healey i compiled hise with flag and now it's not work for me. I created expansion and wanted to create sample map and monolith and after it i have something like this ...

      alt text

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

        @d-healey so In your plugin, when the user creates a project; saves the project; and then reopens the project down the road, the user has to reload the expansion pack in the plugin that was used with the project?..just curious as this is what I’m trying to avoid

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

          @coreyu21 You mean saves a project in their DAW? I haven't tested it but I would assume it just saves the state of the instrument as it does when not using expansions.

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

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

            @arminh

            I have these flags set.

            HI_ENABLE_EXPANSION_EDITING=1
            HISE_ENABLE_EXPANSIONS=1
            

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

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

              @d-healey still not work for me :/ Its problem with creating monolith.

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

                @arminh Make a new project, add a sampler, use that to create all of your sample maps and monoliths. Then move them to the correct expansion folders.

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

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

                  @d-healey ok i did as you said but its not workin like should because i need store samples inside Expansion folder and second thing is that everytime i have popup about problem with finding samples.

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

                    @arminh
                    Why can't you move the samples to the expansion folder?

                    You need to disable the sample locate popup and handle it manually using your installer.

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

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

                      @d-healey yea that’s my issue is the user will reopen their saved project and have to find the expansion and sample used for the daw to play whatever was saved. And being a sampler, the user will have multiple plugins in a project with different sounds. So having to find all of the sounds previously saved doesn’t work for me unfortunately 😔

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

                        @coreyu21 I'll be trying this out soon. Which DAWs have you tested?

                        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 we use acid pro right now but any should work I think. When I reload the project the expansion combo box is reset which doesn’t let the preset browser load the saved sample because it reads no expansion in the combo box. I believe when we talked about this in the past you said it was a circular loop error in the c++ or something like of that sort

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

                            @coreyu21 So the instrument doesn't have any sample maps loaded when you reopen the project?

                            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 actually I cant even get that far because when I load the expansion in the combo box, with save in preset on, and click a sample in preset browser it automatically resets. The combo box. With save in preset off, the user cannot load the previously saved sample selected because save in preset is off. There’s gotta be an error somewhere.

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

                                Yeah you'll need saveInPreset to be disabled for the expansions. Then when the user reloads the project is should load up with the last saved preset (but it won't be selected in the preset browser, although I think Christoph has fixed that recently).

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

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

                                  Ok, i can read samples from main samples folder but again have problem with reading expansion userpresets in plugin. In hise everything works fine. I compiled hise with both flags. Any idea?

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

                                    Have you put the expansion into the AppData folder?

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

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

                                      @d-healey yes

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

                                        @arminh Then I don't know the answer, it works for me.

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

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

                                          @d-healey interesting. I’ll have a look when I get home. Is this possible fix on the most current build? I believe I’m using a late January build

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

                                            I think expansion system is still bugged.
                                            Now i see presets created in expansion packs but i have much crazier issue. I have 2 samples and everything is ok but when i change them few times samples starting sounds strange. Maybe something is wrong with code?

                                            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
                                            • First post
                                              Last post

                                            57

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts