HISE Logo Forum
    • Categories
    • Register
    • Login

    Default preset when using expansions.

    Scheduled Pinned Locked Moved General Questions
    default presetpresetexpansion
    16 Posts 2 Posters 68 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.
    • d.healeyD
      d.healey @rzrsharpeprod
      last edited by

      @rzrsharpeprod I don't think the default preset works with expansions

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 0
      • R
        rzrsharpeprod @rzrsharpeprod
        last edited by

        @rzrsharpeprod That's what I was worried about.

        I can do the old trick of saving and compiling with the one I want to be default loaded. This compiles fine but when you load it in DAW it looks as if it is loaded (shows as current preset on label etc) but in reality nothing is actually set so nothing plays.

        I was hoping there was a way around this but it seems maybe not?

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

          @rzrsharpeprod said in Default preset when using expansions.:

          I can do the old trick of saving and compiling with the one I want to be default loaded. This compiles fine but when you load it in DAW it looks as if it is loaded (shows as current preset on label etc) but in reality nothing is actually set so nothing plays.

          I thought this method should work

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          R 1 Reply Last reply Reply Quote 0
          • R
            rzrsharpeprod @d.healey
            last edited by

            @d-healey That's what I thought but it just loads the expansion correctly and changes the label correctly to the preset name but it is not selected in the preset browser and therefore presumably it is not actually selecting the preset, just remembering some of the settings from when it was compiled

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

              @rzrsharpeprod said in Default preset when using expansions.:

              it is not selected in the preset browser

              That's just a visual thing and is the same with projects that don't use expansions. I find it annoying because it's not clear to the user that the preset is loaded. Might look into fixing this at some point.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              R 1 Reply Last reply Reply Quote 0
              • R
                rzrsharpeprod @d.healey
                last edited by

                @d-healey That makes sense, but the preset not being loaded doesn't as nothing plays for sure and I'm not sure why?

                d.healeyD R 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @rzrsharpeprod
                  last edited by

                  @rzrsharpeprod said in Default preset when using expansions.:

                  but the preset not being loaded doesn't as nothing plays for sure and I'm not sure why?

                  All the preset does is store and restore the state of controls on the UI. So if they are showing up in the same state as when you last saved the project then the preset is loaded. So the issue is that the sample map isn't loading?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rzrsharpeprod @rzrsharpeprod
                    last edited by

                    @rzrsharpeprod That would make sense. I'll have a look through my code as have another project where it does recall whatever preset was active when you compiled. I'll compare the 2 and see if I can find it

                    1 Reply Last reply Reply Quote 1
                    • R
                      rzrsharpeprod @d.healey
                      last edited by

                      @d-healey I just did a test build with the expansion and samplemap comboboxes visible so I could see if they loaded empty.
                      Both comboboxes are populated in DAW so now I'm even more confused as what you said made sense but looks like it isn't the case.

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

                        @rzrsharpeprod Does it work in a non-expansion project?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rzrsharpeprod @d.healey
                          last edited by

                          @d-healey I figured out what it was - there was a line of code clashing with another and it was unloading the expansion when it went back to the grid.
                          Tested it and it worked...happy days or so I thought.

                          My colleague has just confirmed that it isn't working on Mac though even though I took the offending line of code out.
                          In fact none of the mac builds ever have a preloaded sound whether they are expansions or straight presets. I have never been able to figure it out so the above is hardly a surprise really.

                          Have you got any idea why the mac version would act differently to the windows version in daw
                          when it is the same code?

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

                            @rzrsharpeprod I don't know what could cause that.

                            I would make a new project for testing. Make it as simple as possible.

                            Start with just a sample map preloaded, export and test on both OS.
                            Then build on it. Add a combo box to select between two sample maps, test.
                            Then add presets that use the combo box, test.
                            The add expansions
                            etc.
                            etc.

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rzrsharpeprod @d.healey
                              last edited by

                              @d-healey so there's nothing that you know of that would cause it to happen on Mac when it works fine on windows?

                              It's the exact same code for both versions and has happened on every project ever regardless of whether it used expansions or just regular presets.

                              It looks like it loads the preset and samplemaps but no sound plays on Mac but it does on the windows version.

                              There's no extra setting or process that needs to be turned on/off on Mac or anything?

                              It seems odd that it's every project but I know little about macs TBF, they're a mystery to me. I only have it to build the Mac version, everything is built on windows

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

                                @rzrsharpeprod said in Default preset when using expansions.:

                                so there's nothing that you know of that would cause it to happen on Mac when it works fine on windows?

                                The only thing I can think of is the Global App Data folder setting in project preferences which sometimes causes strange issues.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rzrsharpeprod @d.healey
                                  last edited by

                                  @d-healey I'll have a look at that thankyou. I may have set it/not set it correctly from one OS to another maybe

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

                                  21

                                  Online

                                  2.0k

                                  Users

                                  12.9k

                                  Topics

                                  111.8k

                                  Posts