Controlling FX from a slider?
-
Hi everyone,
noob question but I can't get this simple thing working: controlling a low pass filter from a knob.
Where's my mistake?HiseSnippet 2773.3oc6a07abjTEuGaWI1S9X2rrZEf.oRVhEmM9ioGO9iP1rY721J1IS73DXO4TS203o1zcWM8G1d.kCHDRbCwwkCn8OAtfD6Ix+.qDHtiBm4xdf6vq5p6oqt8X6YMwSrQLJRtqpdupdue0qp2GcmZdbCpuO2SqvH6z1kpU35n5scBZsTKByQaik0J78QOiaEZS2sFKvn0tKr9x02d2k3NAdbKesEa6R78olZEJL3ZBVJLxPZQ+95GrHwh3XPS6RS6YblAcSlMKHs2ZUeHyxZUhIcGlsB0UptgA2YItEODDuAQkzbIFufrG8QDAYCfzJbkULYAbu5Aj.puVggVja1tdK9ANR5eFym0vhJZnqUGlHY2qxsLERrnWskZwrLqk.C9ZvjVKETFTBJuOZKlIqS+ofy6FM.NkCU7nv.YEuAyHd5phWIEwqKhTAEQZHoHcKTcCOlaP5HB44ZnMbBndMI.rqJJRZ0F3egPhsNpSvj1jWPW0CZzgiwzKWpz33YKU512qXwolxmF3iI3W3vafC3XC4dNNnEE6JrEvMnAGPoN3IJWASbLw2A9qe.vYjoB1laFZQ..vGaPb9gA383.Ks4BJmPuLP53XeNtMOD6PolXhO1l3zV7WwZ3DZ2f5g4Mwbi.x9TeXhEzd.wIPHOwSOMUflDCjrSKpy3Q8YD5Gvsg01xB2.LcRz.4zqHcLAh3yBXTewDSLZwn6Km26LQjNEqv9sXMClrXQXhf91m3gkGJhfn6iSf18nAKwsc4NPiwFMkjQAbMs0j.9N1nAzCCFcb7oPkeXylrCEzAByQIXahydzwln73X3e5SoWtKSgMyzzhViKzStCLUkNBQwmpWB.LAdMF2Ic73w.dxo7awMAUO5RCghuUBrFq3P6Q6JSkOEtJmksMIMnV5GKHKGVvRwhLGKlCE2LzwPnp3tnFiYjv53vraERucweNFiAdaNVT6O49Sni+vOTN3GeecX7h.AIBm.s1H1posjiORf5inRT4rTIv6W1YA93IxOm4H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gcxRcueKgXW5xi79cPwF.XAXe4QtuI5IWlDVYVOXX08BtPFPUTNeXQJ58SwqeT+PijoBzm3mkeMGCRcDo3FEhgU97MRdccP5uZ9Qad1hTVGRfVuu3k94RbH655w2mr65aTeEsbEV.gleRHEXlQx63SfSn6oT5.hsMQPmNPWggkqA7v1bQsFFBMaIsM4Oj1N940YoOuI+YBgUfoqyhdDlkxykHBwIVyrh+n2aflR9AV4O0ZrPepqKEuPnIii2g62h0fL0RfUIYO9TwpEdtRXC6oVhJ9HumZGhciPO9ZdDGS5tKs6lyr61auaI8cWZyGWeE8IOfru1xgtVLCvZPXyn8FVWJetqKk6a5xzm65xz8Mcox4ttTouoKybtqKyz2zkYO20kY6a5xbm65xb8McY9yccY9iWW5GdZ6GqgMwviuax+ob.e5CG0CfuNQ.6HnsDswc9FlQnRfCValIaWCCwl0DPjbcmmxmAdl9LvSky.OybF3Y1y.OycF3Y9SjGQQ4WHLfaKiTG5n1Jx.vJrRm.vFT6+.ZqYKwB
-
@Giuseppe Have you been talking with ChatGPT?
You don't need any scripting for this
HiseSnippet 949.3oc0V80aaaCDmLwLa1aKasXXX6M8X5PwfbRVbB1CyM+wqFYN0YJsXuUPSdplvTjZRTsUcX.6w8MXec1GgAruH6avFojbjxRVhiKJPqevPGu638i+t63wwIZFjlpSP3NmkGCH7GRBxUloGLkJTngGhvqSFQSMPhW4R6mGSSSANBiW86bKfa2BU76u+18oRphA0KgPOQKXv2KhDl5UG2+XgTNfxgyDQMrd69CYZ0AZoNyhmUI9nXJaF8YvITmYqPPOjlNEg+Rh+tzdbJaOnG2eBP2aS+PdO9VSB6MYqcnvlaQY6F1E7Q30NhKL5j.C0.o1MceMOOXp9Epx.7DQpXhDbBcQA1HWtL5foBIe7bxIEgvsFWSUqVRUeJYjfKNe8ZJ6SJT3U6QSRCux0Aot2BHga.oVkP5Nj.VhH1TqwgmOfLTYyfgTatoITJsEg+CxAZqAJyWEQmACRrBm6vF636eeO6e26aByTLiPq7zpSzF3QpMtWmetS6N+RGu+qpvvqTmKLIZoDRtR0txgjqywMTYQSfj668bpLCN2P6w+hb5ZKFmxJO0MLTqFpDlGECUxCzRtiqbee4L.ph1b4hJDZM0TjIVuJSDHEbHAIrax6QNVomzEU.9lk8nGO7PpgNear6nMJwPhQ3NL3CgmaahJSvsIGBoyL53Baih0JW7we7MFzWhvD7eZCWt6i8rejZxcTxZEFfhDbtDFqSENJ2gNrCbw+deayebf3UPyN8nlM9a2Oh9xyE+s+peZVXnvEPh2CeEJTHiRMVXMLx1Kiv2k73TviCgzLowKclcqjB0LfeltnIORyAWM6fD3mx.EKGEOmyGxcLv.gzVb10d6Ph8hA6mtkaZO5xMF1VRMOSRMWrO0cCVkB2otYygqCPYYi7lm6aQyq+017tnP7NjwBCa5UiwUtBLZKhdSfwpq79HxQgg.yTCvVjA+3xd+l+he+V6x3eWxXsLOdpVIXkkAEfntl3+e7DBUWfznz8zlo2QEkdyk+79mlQkMY2e8396Kh0RZxqKyeKl1bckGeVcUu2qScbqEKIcCWGtv0ztLy6N38KHUIcOGY+tCtWmb5aAf8GzYFg5Yin1Q.tYBmjEEXefGCr.Uo.YpadzJtgokx9NYGfB.EuP3er+pT10IiqT1ctRTDkkneJqbDrq+48KVwhIUwSGaaeCqU16RydQt4dhmxXWbqtjiatrNt0x531Kqie8x53NKqi8VVG28lcz8P5GjYzQk0vHznwGU7VIL9HE0VMVTNi9WBQ5b2C
-
@d-healey Just fixed, I forgot to associate the callback to the knob. Btw, does ChatGPT understand Hisescript?
-
@Giuseppe said in Controlling FX from a slider?:
does ChatGPT understand Hisescript
Not really, it will give you some javascript mumbo-jumbo - and even if it did understand it you still need to be able to understand it to know if what it is giving you is good or bad code.
-
@Giuseppe said in Controlling FX from a slider?:
I forgot to associate the callback to the knob
That isn't the only issue in that script - and as I said, you don't need scripting for this.
-
@d-healey Thanks David