HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansions sample maps

    Scheduled Pinned Locked Moved General Questions
    expansionssamplemapssampler
    17 Posts 2 Posters 605 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

      SampleMapSwitch.set("items", xs.join("\n"));

      At this point what do you see in your combo box?

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

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

        @d-healey In the combobox itself just the factory/non expansion samplemaps populating the list and a seemingly random one is chosen - presumably it is actually in the same position number as the one I want it to load in the expansion.

        The sampler itself looks like the screenshot so there is a disparity between what is in the combo box and what is in the sampler at this point which is not the case for the non expansion samplemaps

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

          @rzrsharpeprod

          First verify that cx does actually contain a reference to the current expansion.
          Then verify the contents of xs.

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

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

            @d-healey I have moved cx to const var outside of the function or else it doesn't show up at all in the scriptwatchtable. Now that I have moved it it exists but is blank
            957051f8-7948-4b5a-a972-257950cac961-image.png

            As a result the combobox is now completely empty and I have these errors in the console
            18f2fd7e-ad76-479e-911b-dcf9e1303982-image.png

            So I guess the question is how do I get the var cx to populate correctly?

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

              @rzrsharpeprod said in Expansions sample maps:

              it doesn't show up at all in the scriptwatchtable.

              Is your if statement else clause actually being triggered?

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

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

                @d-healey it should be I think as the cmbExpansion value is changing correctly which is the value that the if/else is looking at
                If I choose the first entry in the combobox it looks like this
                9aa2f913-5d21-4243-b00e-392f294e062d-image.png

                and it changes accordingly if I choose another entry further down the list
                473eee41-943f-4a1f-950d-acbe0b5dfdd7-image.png

                That being said cx still doesn't show up in the scriptwatchtable if it is a local var in the else clause, should it?

                Would it be easier if I made a minimal snippet or very light version on the project as I feel I have probably set something up fundamentally wrong and you won't be able to spot it from my poorly explained snippets of code above

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

                  @rzrsharpeprod said in Expansions sample maps:

                  Would it be easier if I made a minimal snippet or very light version on the project

                  Always

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

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

                    @d-healey Ok thankyou. I have created a minimal project and sent it to you via DM

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

                      Sometimes to view local variables in the script watch table, you need to expand the function that they are in

                      e53c0e26-16df-4185-85a6-e2c795ecec03-image.png

                      HiseSnippet 1981.3oc0X80baaiDGz1rWDat9uoObuzaX8bOH0wipjrrcbZ6DYYI25oQIZjby0Yx0oGDInDtPBvADzw9RyLseitOB2Go7M3tE7OhfzxoJtIo2oGr4hcWfeX2E6t.iEbGRTDWfLrN6xPBx31lSujIWb7BLkgNc.x38LGQYz.rusjDIQ8uLDGEQbQFFa90JYLpsEJ42KtWerOl4PJFBgdDm5PtOMfJKFcbuuk56eB1kbFMPS5t8N0gyNl6yiA7roYKTH14I34jGfUhsgI5avQKPFel4L7rVXGOu86L6Nds51YuNyl00sKLxrCN7vC81qMducOvwAY7NCcoRtXpDCnGYrUet6kSWveJKcAdDMhNymnHZilBqb5vmv8c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v5sRFAPIK4U+qYNRQa2t5aMfPAP8peT8H+5S0UTryMUwcuoJ18lp3d2TE2+lp3A2TEuyuthp1INJVxCRSlhPiFOLM.zX3x.vMQ+W.ywUdvC
                      

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

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

                        Ah I see, so it was there just collapsed inside the function as it was created inside a function?

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

                          @rzrsharpeprod Yes - although sometimes they don't show up in there either, no idea why.

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

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

                            @d-healey ah ok strange.

                            Thankyou for your help as I now have it working properly and selecting the correct samplemaps.

                            I've also got the expansion load working in daw as well so I can progress with my project which is great news.

                            Thanks again, your help is always invaluable

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

                            19

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.8k

                            Posts