HISE Logo Forum
    • Categories
    • Register
    • Login

    Simple gain knob

    Scheduled Pinned Locked Moved General Questions
    13 Posts 5 Posters 552 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.
    • ThinkTankT
      ThinkTank
      last edited by ThinkTank

      I had quite a laugh when i tried to make a simple gain knob. It just seemed so simple, and still it gave me grief. 😆

      I set the min value of the knob to -100
      Max value at 0

      Selected Decibel, and connected it to my Sampler1 - Gain

      Did not work, then i tried linear, and percentage, tried a ton of min/max values.

      So, whats the solution? - its not particularly fun anymore..

      Without problems that test the limits of your abilities, you can not expand them.

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

        @xxanx do you have an example of how you connected the knob? a snippet?

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

        ThinkTankT 1 Reply Last reply Reply Quote 0
        • ThinkTankT
          ThinkTank @ulrik
          last edited by

          @ulrik

          Its not with scripting, i just selected ProcessorID (Sampler1), and ParameterId (Gain) in the knob settings.

          Without problems that test the limits of your abilities, you can not expand them.

          ulrikU d.healeyD 2 Replies Last reply Reply Quote 0
          • ulrikU
            ulrik @ThinkTank
            last edited by

            @xxanx Ok, can you provide a snippet?

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

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

              @xxanx you need to add a simple gain module and connect your knob to its gain control.

              ThinkTankT 2 Replies Last reply Reply Quote 0
              • ThinkTankT
                ThinkTank @d.healey
                last edited by

                @d-healey

                😂
                So simple, and yet so confusing. But why?

                Without problems that test the limits of your abilities, you can not expand them.

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • ThinkTankT
                  ThinkTank @d.healey
                  last edited by

                  @d-healey I mean, i can control Balance, like that, so why not Gain?

                  Without problems that test the limits of your abilities, you can not expand them.

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

                    @xxanx The sampler's gain parameter doesn't use decibels, it uses a gain factor so you'd need to connect it via scripting and convert the knob's decibels to gain factor.

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @ThinkTank
                      last edited by

                      @xxanx said in Simple gain knob:

                      @d-healey

                      😂
                      So simple, and yet so confusing. But why?

                      Because the gain of a sound generator is not smoothed to avoid cpu overhead with many modules.

                      1 Reply Last reply Reply Quote 0
                      • StraticahS
                        Straticah @ThinkTank
                        last edited by Straticah

                        @xxanx what do you mean it did not work? for me it works following your steps

                        here is the snippet (make sure you set the right middle position).

                        HiseSnippet 859.3oc0V80SaCCD2tTyncaH.sO.4QPBM0twXaZOLFTJphUHZEXimPlDGpUcriRbXTMsua7QZeC1N6DHoP4OqZaZjGp546Ne+ty2Oe1MV4wRRTwHbs8FFwP3mP5MTp6uQeJWh5zBgmkzklnYwNYKs9vHZRByGgwSskYAbspH62Od+5TAU5wJVBgNPw8XejGx0Eq5t11bgnM0msGOrj0qrVGOkbCkPkB3YJRCTD0a.8D1NTiYUHH7za5y0p3dZplk.1rtxeXu9puJyr+.dB+XAyHzD0C1nrkQazmK7cuHWSPHbU2hLeprL+Yjtbe9kqWTAlypvovix0.bkaCRM+MfDtDjplAo4I87h4Q5BMF77XRGIbfDPgRcYnjYKBeNYCEXfT+7P5.V6XP3RGVb0FMV1A9Yo2EjJ8zbkzQI2QoY6JWbo5eqds5eutyUUEDLVclvDqDBV7XUaNciuMGWTlFdLKdYmSohT1kFBo+n0zoue0TurrtjgJYGIWuaDKWtsR3apUl+e8S.TdYybVjiPvTs8jX17ShdBtOKFwgM4QjskpiahrfubOOZ+NsnZ5EaCriPThXwZtIYvsXmBbhrC3ZjVrjAZUj01vHkzDe7r2YPOqHfGt1vBA9ZI5glRyzVCQgbeeAyUkvMk9B6d64gk4tGddH8rx4PRZP.+LKoKfKBSz.N5DBbQDdAx9ILGeV.MUncRF.6ifKGv72SYsWyNSahu81gnKpuc7s4COLRvbLpZBr6XfXCMlFc41itNI.neJ+TAUOJmzXdtBSlUlHX51kPFOr7kSWknV8lapZTpo5NZYtmvcdhKW60e73sxXvKz772Fu4W68TxlAALOcAXqRZ+ka8Ntp2O9XATty66l4xgO1FjsJF9LRGyMO7AgZwDzQJfel6q6WllLlwScjmB7RWkfFe0x+T+otWu58tGwjRNOX5oWfXK4Oj.rsk3gCfmi3R+eng3SpTMWdRWJLE.lIP1IMrG7FMOF.UojIf.QvULCPyjaXjM.pGS5aE9I7kqroQFmqr4EJ+mDiPpWr5HurQ6Fp4L1Uf7VZegYM3otfryXloCyQ4G44M5VcMGewj53KmTGWYRc7USpiqNoN95I0w2b2NZdf9GR0pvLdBB00cS6avv3MkTni2RYP+BvpOdFA
                        

                        building user interfaces in HISE :)
                        web: www.vst-design.com

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @Straticah
                            last edited by

                            @Straticah He was trying to connect it directly to the sampler.

                            StraticahS 1 Reply Last reply Reply Quote 0
                            • StraticahS
                              Straticah @d.healey
                              last edited by

                              @d-healey ah got it i usually use the simple gain

                              building user interfaces in HISE :)
                              web: www.vst-design.com

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

                              18

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.6k

                              Posts