HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansions / Combo Box + SampleMaps

    Scheduled Pinned Locked Moved General Questions
    109 Posts 4 Posters 5.7k 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.
    • DanHD
      DanH @d.healey
      last edited by

      @d-healey no probs. I'm trying to make the Preset Browser display (rebuild?) the 'factory' user preset list when switching back from an expansion (using a combo box).

      You suggested adding this function from PresetBrowser.cpp into a wrapper.

      void PresetBrowser::rebuildAllPresets()
      

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

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

        I thought you already had the solution for this. Enable the expansion column and give it a width of 0 to hide it?

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

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey No that just hides the expansion column 😆

          Using a combo box to switch into an expansion the expansion presets load fine, but when switching back to factory (selecting no expansion in the combo box) the 'factory' user presets don't come back - it stays on the last expansion's presets.

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

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

            @DanH Aha, let me test this on my system to see if I can find a solution

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

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

              I can confirm it doesn't work. I don't think a wrapper function is the best idea in this case. I think getting the preset browser to refresh itself when an empty expansion is loaded is the best thing. This means it will work automatically as it should without requiring a manual function call.

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

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @d.healey
                last edited by

                @d-healey Ok thanks loads for looking into it. Is there a refresh function for the PB currently? I couldn't see on in the APIs

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

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

                  @DanH said in Expansions / Combo Box + SampleMaps:

                  Is there a refresh function for the PB currently? I couldn't see on in the APIs

                  No, and as I say we shouldn't need one. It should be automatic. It needs to be added to the source. I'm looking now to see if there is a quick fix.

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

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @d.healey
                    last edited by

                    @d-healey :folded_hands_light_skin_tone:

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

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

                      Line 747 in PresetBrowser.cpp.

                      Replace the function there with this

                      void PresetBrowser::expansionPackLoaded(Expansion* currentExpansion)
                      {
                      	if(expansionColumn != nullptr && currentExpansion != nullptr)
                      		selectionChanged(-1, -1, currentExpansion->getRootFolder(), false);
                      	else
                      		selectionChanged(-1, -1, File(), false);
                      }
                      

                      Or use my development branch https://github.com/davidhealey/HISE/tree/development

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

                      DanHD 1 Reply Last reply Reply Quote 0
                      • DanHD
                        DanH @d.healey
                        last edited by

                        @d-healey said in Expansions / Combo Box + SampleMaps:

                        void PresetBrowser::expansionPackLoaded(Expansion* currentExpansion)
                        {
                        if(expansionColumn != nullptr && currentExpansion != nullptr)
                        selectionChanged(-1, -1, currentExpansion->getRootFolder(), false);
                        else
                        selectionChanged(-1, -1, File(), false);
                        }

                        Testing... It's line 737 in Master Branch for anyone else following..

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

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

                          @DanH What crazy fool is using the master branch! :p

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

                          DanHD 1 Reply Last reply Reply Quote 0
                          • DanHD
                            DanH @d.healey
                            last edited by

                            @d-healey Cos its stable! There's a few things in Develop that don't match up with what I've already made so waiting for things to be ironed out

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

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

                              @DanH I've found develop to be more stable than master, especially with look and feel stuff. What parts have you found that are unstable?

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

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

                                @d-healey Well it began with tableprocessors but that's been fixed. Waiting for table laf to be enabled now plus I can't compile plugins on it yet but need to test more to find out why

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

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

                                  @DanH said in Expansions / Combo Box + SampleMaps:

                                  Waiting for table laf to be enabled

                                  Does that work on Master branch?

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

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk
                                    last edited by

                                    Plugins are compiling with develop branch. If it's not the case the issue's on your side.
                                    But I heard some plugins exported from develop can be undetected by the DAW. This has to be confirmed though.

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

                                    1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @d.healey
                                      last edited by

                                      @d-healey yup. I did @ christoph in a post about it recently

                                      I also find the editor (I know I can reset this) and the windows resizing to be a bit of a pain currently in Dev.

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

                                      d.healeyD ustkU 2 Replies Last reply Reply Quote 1
                                      • d.healeyD
                                        d.healey @DanH
                                        last edited by

                                        @DanH Window resizing was fixed and the new editor is awesome, it just doesn't remember some settings properly yet :p

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

                                        1 Reply Last reply Reply Quote 1
                                        • ustkU
                                          ustk @DanH
                                          last edited by

                                          @DanH The more we are for testing, the more the bugs will be fixed :)

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

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

                                            @ustk I'm dipping in and out :)

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

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

                                            24

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.2k

                                            Posts