Forum

    • Register
    • Login
    • Search
    • Categories

    Layering Samples

    General Questions
    3
    23
    190
    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.Williams23
      D.Williams23 last edited by

      Is it possible to have 2 different preset browsers? Or have it to where you can select and load 2 or more different samples at once basically layering them together?

      musictop 1 Reply Last reply Reply Quote 0
      • musictop
        musictop @D.Williams23 last edited by

        @D-Williams23 Yes, you can have two samplers and use comboboxes to load different samplemaps on each of them.

        my website: https://musictop69.wixsite.com/ilirbajri
        orchestools instruments at: https://musictop69.wixsite.com/orchestools

        1 Reply Last reply Reply Quote 0
        • D.Williams23
          D.Williams23 last edited by

          @musictop Yes, exactly what I was thinking. So how would I tell the combobox to load the Samplemap then?

          musictop 1 Reply Last reply Reply Quote 0
          • musictop
            musictop @D.Williams23 last edited by

            @D-Williams23 David explains it very nicely on this video:

            my website: https://musictop69.wixsite.com/ilirbajri
            orchestools instruments at: https://musictop69.wixsite.com/orchestools

            1 Reply Last reply Reply Quote 0
            • D.Williams23
              D.Williams23 last edited by D.Williams23

              @musictop Perfect man thanks. I think I've actually seen this before. I get it now. 👌

              So I have another question about comboboxes if you could. I'm trying to create sub categories within a combobox. For example, In my LFO Mod section lets say I want to set the destination to be a certain modules parameter, Instead of scrolling down one long list of every Parameter, I want to create different categories for the different Modules for a user to select then have that open another list to select the exact Parameter. Hope that makes sense.

              musictop Lindon 2 Replies Last reply Reply Quote 0
              • musictop
                musictop @D.Williams23 last edited by musictop

                @D-Williams23 i don't know how to do that, but i'm sure someone in the forum can help you with that!

                my website: https://musictop69.wixsite.com/ilirbajri
                orchestools instruments at: https://musictop69.wixsite.com/orchestools

                1 Reply Last reply Reply Quote 0
                • D.Williams23
                  D.Williams23 last edited by

                  Alright cool.. I'll post it out front. Thanks for the help!

                  musictop 1 Reply Last reply Reply Quote 0
                  • musictop
                    musictop @D.Williams23 last edited by

                    @D-Williams23 a pleasure, good luck!

                    my website: https://musictop69.wixsite.com/ilirbajri
                    orchestools instruments at: https://musictop69.wixsite.com/orchestools

                    1 Reply Last reply Reply Quote 0
                    • Lindon
                      Lindon @D.Williams23 last edited by

                      @D-Williams23 said in Layering Samples:

                      @musictop Perfect man thanks. I think I've actually seen this before. I get it now. 👌

                      So I have another question about comboboxes if you could. I'm trying to create sub categories within a combobox. For example, In my LFO Mod section lets say I want to set the destination to be a certain modules parameter, Instead of scrolling down one long list of every Parameter, I want to create different categories for the different Modules for a user to select then have that open another list to select the exact Parameter. Hope that makes sense.

                      There's a fairly old post I did that covers how to make a simple category based selection system, try looking for that.

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 0
                      • D.Williams23
                        D.Williams23 last edited by

                        @Lindon Okay thanks I found it https://forum.hise.audio/topic/2834/layering-samples/9

                        I'm lost at the part about: " ComboBox.set("items", myPreferedList.join("\n"));"

                        What exactly is this doing?

                        Lindon 1 Reply Last reply Reply Quote 0
                        • Lindon
                          Lindon @D.Williams23 last edited by

                          @D-Williams23 said in Layering Samples:

                          @Lindon Okay thanks I found it https://forum.hise.audio/topic/2834/layering-samples/9

                          I'm lost at the part about: " ComboBox.set("items", myPreferedList.join("\n"));"

                          What exactly is this doing?

                          its replacing the contents of the combo box with a list - the list itself its created when you select a category...

                          HISE Development for hire.
                          www.channelrobot.com

                          1 Reply Last reply Reply Quote 0
                          • D.Williams23
                            D.Williams23 last edited by

                            @Lindon Okay I get that. Now on that line I get this " Line 14, column 13: Unknown function 'set"

                            Lindon 1 Reply Last reply Reply Quote 0
                            • Lindon
                              Lindon @D.Williams23 last edited by

                              @D-Williams23 -so is ComboBox actually a combobox?

                              HISE Development for hire.
                              www.channelrobot.com

                              1 Reply Last reply Reply Quote 0
                              • D.Williams23
                                D.Williams23 last edited by

                                @Lindon Yes it is. It's compiled OK. How should I go about getting some actual values inside of the ComboBox? As it's empty now

                                Lindon 1 Reply Last reply Reply Quote 0
                                • Lindon
                                  Lindon @D.Williams23 last edited by

                                  @D-Williams23 look at the api for a combobox - there you will see "set"

                                  so you can say

                                  myComboBox.set("Attribute name", value);

                                  look at the json for comboboxes and you will see:

                                  {
                                  "type": "ScriptComboBox",
                                  "id": "OscilatorShapeA1",
                                  "x": -6.0,
                                  "y": -3.0,
                                  "max": 9,
                                  "parentComponent": "HolderPanel1",
                                  "width": 94.0,
                                  "height": 24.0,
                                  "itemColour2": "3355443",
                                  "textColour": "4290756543",
                                  "itemColour": "3355443",
                                  "bgColour": "16777215",
                                  "items": "Sine\nTriangle\nSaw\nSquare\nNoise\nTriangle2\nSquare2\nTrapezoid1\nTrapezoid2\n",
                                  "fontSize": 12.0
                                  }

                                  so there's an attribute called "items", which contains a string, and the string is separated by newline characters ("\n") - so build a string with the values you want separated by newline characters and apply it to your combo box using set.

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  1 Reply Last reply Reply Quote 0
                                  • D.Williams23
                                    D.Williams23 last edited by

                                    @Lindon That's cool! Gonna be using this a lot. Alright so, Now that I have these items inside of the ComboBox, how do i get that 2nd list to display?

                                    Lindon 1 Reply Last reply Reply Quote 0
                                    • Lindon
                                      Lindon @D.Williams23 last edited by

                                      @D-Williams23 what second list ?

                                      if you mean you've used this to get a combo box with a list of categories,(lets call it categoryCombo) then you just repeat the exercise for the second list building a string based upon the value selected in categoryCombo

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      1 Reply Last reply Reply Quote 0
                                      • D.Williams23
                                        D.Williams23 last edited by

                                        @Lindon Alright I understand exactly what you mean, but I just don't know how to write it in the Editor Lol. I'm still learning that part but I do understand the "why". Could you give me an example of this? I have both lists filled. I want to use this method for switching SampleMaps & also Switching the different Lfo Destinations.

                                        Lindon 1 Reply Last reply Reply Quote 0
                                        • Lindon
                                          Lindon @D.Williams23 last edited by

                                          @D-Williams23 said in Layering Samples:

                                          @Lindon Alright I understand exactly what you mean, but I just don't know how to write it in the Editor Lol. I'm still learning that part but I do understand the "why". Could you give me an example of this? I have both lists filled. I want to use this method for switching SampleMaps & also Switching the different Lfo Destinations.

                                          the old post here on the forum is an example of this.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          1 Reply Last reply Reply Quote 0
                                          • D.Williams23
                                            D.Williams23 last edited by

                                            @Lindon Okay. Now that we have all of that. I think the last thing is that I want to separate the Categories of SampleMaps into Instrument Types. But the Samples I have recorded and mapped are all in Alphabetical Order. So as of now if I click a Bell name, it will play a Flute.

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

                                            5
                                            Online

                                            1.1k
                                            Users

                                            6.8k
                                            Topics

                                            62.1k
                                            Posts