HISE Logo Forum
    • Categories
    • Register
    • Login

    Set All Round Robin Groups

    Scheduled Pinned Locked Moved Scripting
    18 Posts 3 Posters 654 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
      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

                          23

                          Online

                          1.7k

                          Users

                          11.9k

                          Topics

                          103.4k

                          Posts