HISE Logo Forum
    • Categories
    • Register
    • Login

    Set All Round Robin Groups

    Scheduled Pinned Locked Moved Scripting
    18 Posts 3 Posters 591 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 @Adam_G
      last edited by

      @Adam_G I don't think all is the default, unless you're using the group XF mode. By default it goes to group 1.

      You can set multiple groups using this function

      8370909f-0315-4c20-94ed-b59f4e8c1c76-image.png

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

      Adam_GA 1 Reply Last reply Reply Quote 0
      • Adam_GA
        Adam_G @d.healey
        last edited by

        @d-healey thanks David, im trying this but im getting an argument mismatch. how should write the groups?

        	SamplerA.asSampler().setMultiGroupIndex(1, 2, 3);
        
        Adam_GA 1 Reply Last reply Reply Quote 0
        • Adam_GA
          Adam_G @Adam_G
          last edited by

          @Adam_G nm i see it should be (1, true)

          1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G
            last edited by

            currently i have the rr selection based on combo box selection but when i choose this it completely breaks and stops working

            	
            	if (value == 6)
            	{
            	SamplerA.asSampler().setMultiGroupIndex(1, true);	
            	}
            
            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Adam_G
              last edited by

              @Adam_G Post a minimal snippet that demonstrates the issue.

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

              Adam_GA 1 Reply Last reply Reply Quote 0
              • Adam_GA
                Adam_G @d.healey
                last edited by

                @d-healey sure

                HiseSnippet 1342.3ocyX0saaaCElJNJMVqsnsnWrK1.DJ1E1.AAwI1oCHHXN1IovX0IF1oE6tBFIZahHQJPQkF2g7NsGgcwdf1av1gTR1RNNoJdsY0WDnC44mOdNTemiROA2gDFxEHixmMIffLdr4fIL431iwTFpygHimZ1EGJIB63kZMI.GFRbQFF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dsS8146BIp5K0oKVJnWkUacT15LrtFCC.pkqMm71yIuybx0mStwbx6Nm7qmIGmPgwKT2L9AytQehdgMvwX2vtee6NvbPhHefgJ7Fz0OpXz0fq6ggjQFMaQGMMrwqjmXIipSqFZDmYP3ELd4Zesl3c0h8N4mosy29rr4FPubJFGPUkpiXWBu8Bqnv3KfdXCwvDMoqVKGJ6xY7fwbF0I+6Jvc+QiHhrXegGnCjR3U0ru.2m3QvgYdY+mZ9VXNXrHOEv8JWb++XkEVu9dyX3Zqn+r+uT2dPulcmcJKUnNkeww6x207AM08zj9m1PzExuwqyO1Ty3aqZP++ETgu1UBMdSa9YBcHG.SE3Px1mbEUu2X4sRGpc.g4pE9G3Wxl0Rapp1rV5lHmTWAmsjm0SjaTJ9Kt0C.5Asq8xdkNDl8PAInQ3CBJ8wNB9Gbh+pCEVWWuBfRl9+.TYytJY6a9IFHene0Gbbx6paX31Kqg6rrFVeYMrwxZ3tKqgudYM7m+7FpFm3fHI2OlLEg516n3KfFGM8BXIz+BF+bn+.
                
                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by

                  Works here.

                  By the way you can really simplify that callback.

                  inline function onScriptComboBox1Control(component, value)
                  {
                  	SamplerA.asSampler().setActiveGroup(value == 6 ? 1 : value);	
                  };
                  

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

                  Adam_GA 1 Reply Last reply Reply Quote 0
                  • Adam_GA
                    Adam_G @d.healey
                    last edited by

                    @d-healey thanks! so after choosing option 6 you are still able to solo other groups? for me, when i select it and then select another option it doesnt change

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

                      @Adam_G Yeah selecting option 6 enabled group 1, selecting any other value enabled the corresponding group.

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

                      Adam_GA 1 Reply Last reply Reply Quote 0
                      • Adam_GA
                        Adam_G @d.healey
                        last edited by

                        @d-healey ah, how can i define 1-5 as a multigroup? thats the overall goal, for that option to re-enable all groups

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

                          @Adam_G I've not tried it but I suspect you just use a loop to enable them one after another.

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

                          Adam_GA 1 Reply Last reply Reply Quote 0
                          • Adam_GA
                            Adam_G @d.healey
                            last edited by

                            @d-healey i have no clue how to do that haha do you know of a post i can reference or could you show me how? :grinning_face_with_sweat:

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

                              @Adam_G Do you know how to write a for loop?

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

                              Adam_GA 1 Reply Last reply Reply Quote 0
                              • Adam_GA
                                Adam_G @d.healey
                                last edited by

                                ive used them before but arent able to write them myself. so no not quite

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

                                  @Adam_G Watch my scripting 101 video, and I think I did one specifically about loops.

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

                                  Adam_GA 1 Reply Last reply Reply Quote 0
                                  • Adam_GA
                                    Adam_G @d.healey
                                    last edited by

                                    @d-healey thanks, i will!

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      aaronventure @Adam_G
                                      last edited by

                                      @Adam_G

                                      You need to pass an array into the first parameter. Either write it right there, or pass a variable.

                                      Link Preview Image
                                      HISE | Docs

                                      favicon

                                      (docs.hise.audio)

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

                                      44

                                      Online

                                      1.7k

                                      Users

                                      11.7k

                                      Topics

                                      101.8k

                                      Posts