HISE Logo Forum
    • Categories
    • Register
    • Login

    Two or more knobs with One

    Scheduled Pinned Locked Moved General Questions
    19 Posts 6 Posters 843 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.
    • ulrikU
      ulrik @yall
      last edited by

      @yall The code up here will, as @arminh said, not affect the parameters, it will only move the knobs in the GUI, if you want to have them to output value to the the connected parameters, you can use the functions:

      Knob1.changed();
      Knob2.changed();
      

      in you code

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      ulrikU Y 2 Replies Last reply Reply Quote 0
      • ulrikU
        ulrik @ulrik
        last edited by

        @yall Here's an example

        HiseSnippet 1096.3oc6X0saaaCElxNrs1atncaO.B8JEft.Yk9GPwP7hcxfQWRMl5x1tXngVhNlHTjBRTY0sn.8h9.ra2dH186t7pr2fc0tcijR1lNQ1wyCcnoH5JyygeTemCO+I2KgGfSS4I.qZOaTLFX8wP+QLwv1CQDFnaGf0Mg6gRE3D6bQaOJFklhCAVVU+Jk.qZqAzO+4VainHV.dpH.3.NI.+0jHhXpzdsdBgR2EEheFIxX22qU2.NqMmxyj7oJzEDiBNFcDdejZaUf.qqsSHQvS7EHANEXs117vQ9C4+DKe+GPRI8oX0hl.e4AkKdWNMTwXkTP6gDZXuw1cJPdJ8l5Epl6E9L3djPxD4S8F2RqvdJBS+gUkEQullzyc4omkA8VKmd2F5GjPhES0n31GA6xjWTCPxq.SZkuWPkeqBrMWtClXiHzw3cSjKlfv4Att2099ttq+3F0aTWdQjJrOAkX+DFueS6uvdLzivh17nXNStv4NZs2oLLdKDiWoX1bgX17bX7IQwTrJLTwPcfqB2NCFfCjfxUaq0qwVFRuK.4Xl1nNgQILr8fLVffvY1bllUJBmvoNAiY6ckuAZFd8F0eUi50zdnMRwhCTBcxU83BEdySQyMBFhXGgCcL1qonWqI0BcVpytfbsQTZeYxjyrbVcPFly9bA9oLm0q+p50p+551mU0fAkpq3vn3jRUqRxSVDPGVVTebxX213MJi1mMcBN+zIyr8fbehwF4rtLh3owX17Rx.ENRY5V0BVI+kPmrcyhjMeJIDm.HxbpqC02Q.MgKJfc3e47omBVZvd+W.uYIf+1tcPBjpdQgsHsuXbhfnbcVcvmHKDmW8nFrCN8XAOVarEQMxJ+Wn49hI0peyO1ZzzB2nVwi8kcC0mfQhmrHdhr9srLiR20f5lFQ7vBhDP5iofHyFI+voQnWX1DQ19I1m7Rs89q+h5422JMav.hbWPnc31R7ggTbOdJQEZMEqmxotzVnmgE9yYFV3gGt.Kz68HKr1EF3XbGxLuCSaYxAofV+wKe6VmyJlk1m0nlCGezofy2CS1IkGlQQhYaupbdEJTmgYeLUuJl7rGYNyw6jdtKKcuMrGQDLrb9VoD9JSOeWy2hIXZ.y6kMkrqA286W0wUJeZJ2xFWohAWtwjYJmztsXlxYpPLmYJaopq0ASQy3.+NRnXnQTWqRl5rK6DYkudbJJ4rt+pyZyUWNa9BlZbwwHJSx9RSL8m.0t7KSDVGRb4gv2B1C89P.w2vyDD1Q6gDI59L6mE4K+zq.rjpLFlpF4xphZ3n70tp0JB4iYg5E+s7oPYS0ZqBkMGqD7usXf2UECtpXvUEC9vrXv+GuiHTPB+4A4eIkJ07FZIR6lo+WjpA2Ss1dxGuAgta3pFul77f.0TRetz+TNFuU.ylq.l6sBXt+Jf4Aq.lGtBXdzBwn9C09xLAOJO9WJn2N5Ok0xZGFRFIqSE.+C96CjBB
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

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

          @ulrik Hello. I can not assign the knob with a script to control a gain in a sampler envelope .. I start with the codes :( you have a code example to assign knob1 on a gain if you like?

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @yall
            last edited by

            @yall What gain in the sampler envelope? Do you mean a general gain for the sampler? Snippet?

            Can't help pressing F5 in the forum...

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

              @ulrik I had not seen sorry I will try Tomorrow. Thank you.

              I have a project to group several sounds in several samplers. can be 50 or 60 sampler. for example I have to create a pitch button. I have to assign the button to each pitch of the 50 or 60 sampler that's why I'm looking to have several controls on a single button. But it's going to be long in script ^^ There isn't a super fast way for example. to create a button and automatically assign it to each new sampler created? on the gain for example of each sampler?

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

                @yall 50 samplers is crazy! Don't use more that 16.

                Have you assigned the knobs with parameter ID? If you have you'll need to remove that first.

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

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

                  @d-healey yes it sounds crazy ^^ in fact if I want a hundred different sounds based on sample I can not do otherwise. each preset turns off the samplers which means that only one is active per preset ... why not exceed 16? I'm already at 30. no problem to report ^^

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

                    @yall CPU/RAM usage goes up with each sampler.

                    I think you could do whatever you're doing more efficiently. If you are disabling samplers that means there are samplers in your project that you can reuse (since they're not doing anything else), so why not use those samplers instead of disabling them. It sounds like you only need 1 sampler in your project.

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

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

                      @d-healey but how do I combine several samples on a single sampler? how do i load them from my interface? this is why I have created so many samplers. I didn't know that I could use only one. for example. I have 10 x 70 piano samples or 10 "piano bank" I can put 10 bank on a single sampler and choose the one I want using the preset panel?

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

                        That's what sample maps are for. I made a video about it.

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

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

                          @d-healey ah it's great thank you :) suddenly for the installation of samples when using on ableton I would have only one hr1 file or more? I'm going to try this tomorrow but it looks like you just saved the life of my processor. ^^

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

                            @yall You only need .hr1 files when sending it to the customer, when they extract it they'll end up with .ch files. The number of files (both hr and ch) will vary depending on how many samples you have. You can think of hr like a .zip file.

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

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

                              @d-healey thank you . It's fantastic :)

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

                              25

                              Online

                              1.8k

                              Users

                              12.0k

                              Topics

                              104.4k

                              Posts