Simple gain knob
-
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 0Selected 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..
-
@xxanx do you have an example of how you connected the knob? a snippet?
-
Its not with scripting, i just selected ProcessorID (Sampler1), and ParameterId (Gain) in the knob settings.
-
@xxanx Ok, can you provide a snippet?
-
@xxanx you need to add a simple gain module and connect your knob to its gain control.
-
So simple, and yet so confusing. But why? -
@d-healey I mean, i can control Balance, like that, so why not Gain?
-
@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.
-
@xxanx said in Simple gain knob:
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.
-
@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
-
This post is deleted! -
@Straticah He was trying to connect it directly to the sampler.
-
@d-healey ah got it i usually use the simple gain