Controlling a vector knob with a slider & a vectorized Pan Knob



  • Hello

    I tried to write an inline function with unusedComponentParameter & unusedValueParameter but I couldn't figure it out. I have 2 questions. In this example is it possible to;

    HiseSnippet 2159.3ocsXssaabbFdWYsoQLUEN.E4hb0DdQvRGJJRam5zJHDczMr1RhvT00EooBC2c3xAd2YHlcVIQGHfbQuuORA8UnuA8MnuAs+yL6YtTVQ.lzPl67eX99ONy9ORv8Hwwbgk8FmuXNwx9W6LdASN6vYXJyZ3QV1NN6u+9VGrXNNNl3aYa+f+nhj8Fqao+7e+1CvgXlGoXIKqWyodjWRinxhUGs2KnggOG6SNmFUh6mt2PON6PdHOAfwCb5aMG68Vb.4Trhs0brr+ni8oRtXrDKIwV1qe.2ew3Y7qXF9eMMlNIjndXf0XPQlkeNOzWgX0pVGNiF5OJybis.sLpv3efw3+sNmP8o4qW3Ddnl.pPhx9C60tM3MnL75e2gmcI3stAdepyXOActrfhBaehyPljHlhgPPYXY30Zs+0CcNjCbvj8hvuk7bA7PtDtOoe+tnG2uemc1r0lsnrPJifllv7jTNC4IHfM8ZhGXdufwm3xfXRWz0cQK5rYqebyVH3SH2CGhth5GPjncQYaF12eDlQBKKyNFIL+MiwXhxhlSDRJIFfWzeZ7YmlJU5VfPsA8Km09Of9l9cyWaFgFLSVawX7kjgrQBBnWfzfBJ3vP9UGB+cBjfECzZeXHE9UWz2wujHPeI5HANHfxBZWHDgggfmJ7+RBVv.ojhDhg7MUMHiKnmOVh6Mujmv3EGgkybaT.kC.xzjuhmHA2ual62Mnigubu.Bs81H4LZLB9mbFAEKwBIRf8oXVASWhEFJmMcZrNn73de8NEzqxIV3c9LvOvfbJf098FTl2TN9KJ2OPcPu9ns.00G8nJB1n1AvdBjxghSDDzBdBRGTz.eN3M9hBNU1TpiqmWH3ny8TU0XfxYY5U3Z9u3dWMiJIcVE.fP5U5cjxXPL1iJ.8WVgSgtRGGFRmGSb+998dxizXAhKZS1sSWzJV7o2oE+gUhLHSzKIDxLzviwEQ3P56H9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u5rPz3y2+UmOF8cG+piWk.as01a2zaOlLGJjIWnvvEGZ72wtILHqvOGhivB3E8zIYFJ5L87UMuko1kZdMSsAcQViC8SKcLigybuWN24qTWBsTaTPNuxqztkp6r3dd7O8GlHrAO5qCoM27inaxUnzXk87tJzcM38RzwmdzcKzo9lG23rS4RxYL2Ns9wVaz5lVn5jlNsQZofLjHZjrZtOhaSPWVRzDUpftsXNiV1qWcBKNqdBKkG.jmojnDib1PFUd1bBaUycwJsNxxxdsTTArJ0ye42jN+kwgTehvh5aY+qbzgbKMfSmo0d+s+4+9mspK7lYCuQEw0x9IN4Q+Fj+OO7H3TP0ffRQTwLRf0NhbI0iXFKzFNGQheqjOWC4z5JK6O98B5qyGB2O8l8VTLQtmsGz0e9X331LD8ed2+3aipL0ueNh56GRFwU2ZfyJO7uHtOH3m4bZ9g1iHBO.S3.hx+livV2EOC.RG6DPsKT+3uC+POIHXC+nQoanYLPkWo7LfTqamtd0I.YY+4NqZBPV0l6iZyUZolWvZ4oz8PmS39p6GUc.hpollRP4uJOoN0z3T29ZQ4op9AYph2U39oNinRuYMi20Z.upxkOv3McFsa5b7zovgjEfccmm+lO7Cj0xLct.3tpBpJo7zjnwv655QTWmCxVU8krWS0Aw7be0yJOCb0Ze8C+O3SJwAY4SJhCxHZEg8D7KRuahZJverdE.SL8vv2v4D0yn7FNNN860GRJ8oW34obEaAXuYYd78PlmbOj4o2CY956gL+t6gLO6dHy2bqxnZPrehjGYJSfEFcrtwss8w5NH5LRq+O3W716K
    

    1- Control the vector knob with a slider?
    2- Make a vectorized pan knob (-100 to +100)?



  • Any help will be appreciated. @Christoph-Hart @ustk @ulrik @d-healey



  • @Steve-Mohican on the first question, you forgot to add

    PanelKnob.repaint();
    

    inside you Knob inline function



  • @ulrik Oh, that's great, thank you 👍

    Is it possible to creatre a vectorized pan knob has right (+100), left (-100) arc, middle point is 0?


Log in to reply
 

3
Online

536
Users

2.0k
Topics

15.8k
Posts