HISE Logo Forum
    • Categories
    • Register
    • Login

    help please :)

    Scheduled Pinned Locked Moved General Questions
    20 Posts 2 Posters 602 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 @yall
      last edited by

      @yall It loads all of them not just the last. If you only want it to load one then drop the loop.

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

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yall @d.healey
        last edited by

        @d-healey what is this loop? I do not understand. I have 3 samples that I want to integrate via buttons in the loop player. the buttons do import the samples but do not import them from the combobox nor from the next / prev buttons. however the next / prev buttons work well on the combobox

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

          @yall said in help please :):

          @d-healey what is this loop?

          It's from the comboBox callback in the snippet that you posted.

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

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yall @d.healey
            last edited by

            @d-healey I'm completely lost . ^^ usually I can understand but now .... impossible ^^

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

              You posted a snippet, this loop is from your snippet:

              ComboBox1.setControlCallback(ComboBox1CB);
              
              inline function ComboBox1CB(control, value)
              {
                  for (i = 1; i < 4; i++)
                  {
                      Button[i-1].setValue(value == i);
                      Button[i-1].changed();
                     
                  }
              }
              

              In the loop you are triggering the callback of every button with this line: Button[i-1].changed(); Therefore button3 will always be the last one triggered.

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

              Y 1 Reply Last reply Reply Quote 0
              • Y
                yall @d.healey
                last edited by

                @d-healey yes until it works. the buttons are active well. but the samples do not load. only the sample of button2 loads. except also, when I press button1 button2 and button3 manually. but I really want to go through the CB

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

                  @yall When you make any choice with your combo box it will load 1, then load 2, then load 3.

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

                  Y 1 Reply Last reply Reply Quote 0
                  • Y
                    yall @d.healey
                    last edited by

                    @d-healey precisely no, the CB simply activates the buttons but does not give the order to load. I'll throw everything out the window ^^

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

                      @d-healey said in help please :):

                      Button[i-1].changed();

                      This line Button[i-1].changed(); triggers the button's callback and the button's callback loads the file.

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

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yall
                        last edited by

                        yes that I understand, but there is no loading of sample ... even if I delete it, nothing happens either.

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

                          @yall said in help please :):

                          yes that I understand, but there is no loading of sample

                          AudioLoopPlayer1.setFile("{PROJECT_FOLDER}BWB.wav");

                          Are you saying this isn't working?

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

                          Y 1 Reply Last reply Reply Quote 0
                          • Y
                            yall @d.healey
                            last edited by

                            @d-healey the 3 buttons load well the 3 samples without problem .. so this line works very well. it is the combobox and the prev) next buttons which do not load the samples. yet buttons 1 2 3 (the sample buttons) are activated. the reminder . changed does not act on the 1 2 3 buttons from the CB and the prev / next buttons. it's very weird

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

                              One thing at a time. Let's get the combobox working, then we can look at next/prev.

                              Can you confirm that when you change combo box it does trigger the button callbacks? You can test this with Console.print();

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

                              Y 1 Reply Last reply Reply Quote 0
                              • Y
                                yall @d.healey
                                last edited by

                                @d-healey the combox box activates the buttons well in Visual .. in reality, even if the buttons go from 0 to 1, the samples do not load. i will try console print

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yall
                                  last edited by

                                  I share the snippet again to be sure that we are on the same thing

                                  HiseSnippet 2554.3oc6a07aabbEeojVaSZKakT2hzKsCDJBnfrk3GxVtMwkqjnjsZzGzhJ1sv0vdztCEGnk6vr6rxh1U.9ROmdnWxs.z+E5wBDcqWxgbo.sGZiSuUjdv.s8ZamY1c4NK4RJJBKYoDRAHo4i2L+du4Mu42a1kkrI5HGGhsRhja1nNRIwkTK2vhVcgpPrkxxEURbA0cv56.xoLei5PGGjgRhDCeGdqIRNhh3yqJLOzDZoiBqRQ49DrNZEbMLMr1RZe.1zbInAZSbModOi1x5DqEHlDWFRFVMiRcn9NvsQqA4caHUkDmaQCLkXWlBoHGkDiLOwnQ4pjmZ40+6icvaYh3ExpTlMPdUuDwzfiXdsJKTEaZTJPicTTRb9Rg5+vd5+UUWEafaVencXLQCfPIjsGIFpavKqL7xz6vKgD7FwCdukZYcabcZXKbrcQ0ksnH6JP1RfLr75qxPmKo5BDVOrnSUCtCZIaVglRj9lYxbMvMxjYh2azTilZ5oAr0BGJXWnMX5o4UEVdNWCLYEBodISXCjcVvsAB2ko1FQEsUFVqtIpI5ROtnV.WDfuLi6MOgC5BjZaQlmrGezBfIa7XUWmXwJjd7l8PHanjy6RoDqNKme6wJUtCQpbwJU9CQp79ZWq+..LaoIAAM.NBSjuocQqswVnoLIPCgkZIrIxgszPJQHlo8FKrkIqOfJtV5TLwBPr70KNPrYcSO.EWigTSWzDil54ilJYqKVS4fn7wO83OuzFq+yVbgMe7RquRwE2X+4ev7fGL28WDLCXgUlqDH2TOEtqulru32Gh8kOz9nYAno4VrcuoaElcWYxcHJyQReJJgelkGzKZQttqE4hnEcVOxe35ACPGokllJSxdTUx2cUIeKpRvOSOsEZOJntMZWl2IP14GaoWDo6ItCaKvC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ca9Zrh7dOzi8Qm2AZm.sr+oW+zNK2vRu0i.D9KaZyBywrQQdtjLXFyiqbCBgxe6zj+dK38dsKduqXCeziN2EY6DcDVpGdErpwsDdqB9unG7WdKSFjh71cYJvXyWtqAzp+FFs5bCnUe1jV8LGyzpCuFyisaEsmd1TrfrCnUOfV8.Z0Cd1TmVd1T23X3YSo8k+0+xajnvK+6GDEdPT3AQgG7ro9FzkEbRLG0f51jG6+sfiGC6BhZX5skH06jpqxKCZ9UORUMyTYX4cafertN2be8rJJwKSt9Pl78gLyzGxbi9Pla1GxLaeHys5pL7KNXNWJolGACVEkVT7U.KQhlWCShgU9+EpkjfA
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  58

                                  Online

                                  2.0k

                                  Users

                                  12.8k

                                  Topics

                                  110.6k

                                  Posts