Endless Knob



  • Somewhere here is a code-snip for an endless knob
    I just can't find it anywhere.
    Does anyone know where it was or what the code was?



  • @MikeB What is that, how does it work?





  • @ulrik A knob that has the value 1 to 100, for example.
    If you turn it towards 100 (with the mouse or the mousewheel) it stops at 100. You then have to change the mouse/scroll direction.

    With an endless knob, you can always turn in the same direction and the value starts again at 1 after 100.

    @david - I know that works but not that the stripe is missing.

    BUT
    It occurred to me where I saw that

    Here, however, it is a Prev/Next button that drives the knob value endlessly.
    It would be nice if you could do this with the mouse or even with the mouse wheel.
    Scroll endlessly with the mouse wheel and the value of the knob runs in a loop from 1-100 for example.
    When it reaches the end, it starts again at 1.

    HiseSnippet 1529.3oc4XstaaaCElJNpq1qYncq+X+ZfvXCPFsNwt21v15pyEmgrkzXDmVTfhhLFIZahJSJPQmVut.rGk9nrGo8FrwKRVRtxWpWcxvl.BPN7bN774yMxCawYt3vPFGXU73gAXf00raOjJ5scODgB1aGf0WYW6NUeL90hps33ypdDh5w5C2bfGgsOiEzxGMDyAaML.EFh8.VVE9QkpVEWEn+9yGsExGQcwIKA.OkQbw6S5SDIq1pwOS782E4gOlzOkz2qwdtL51Le1.ILKXWCDfbeIpK9wHkXqXCrtRSOhfwaKPBbHvZ0sXdCa2i8JpQ9mRBIm5iUD0AskajY4cY9dJDqVErcOhuWqX2QH.XY2Jw4Tv3bto8ADOxn0SbRWWy.lnQZ+g0JSCd0SCuZyO7rRAuUMv6F1sc4j.QBGE19X68nBLuCRFBRCKirfU9sqYuMSJAUrdezKw6xkDizv4A0pca38qUqx2sVo0JswFv8YHOS3uCwGGBITACFvX9vpK0u0J0j1kPwq6KAf196pruDorVRq6n.3FaT8B5S4LhbHxjyPA7LDObYaxQVZ7xu5vGB0ksq2EKzoJZJmxZ4fJAgQRVV4mR1nnx4GBiSATa.qe.iJIbJaXOlN+LkcZ8Iphl6XZnZeLQETLGSdUmlIJuhY4K9nsLRuImiFBai5GXR7gIogU0Uq7O7QZh5edH74kC0lsV80eE5rx2Nl7N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8wnvTIzeYi8kW5EwGuT48vWTe98ESKd841F3BUU1v+abBQg+edBwQrABYG1CPxDUUurGOneaYiYWrDITJ1WcmYqUT2MzPWKteVaL0SS7WxuHl0UzVQLqGy7BwF8Qtb1ItlKvpxkupdE4uaptmdQ6CTzvQWY11t150j8x8Hm35pb2UqC.4qycV.ct6Bny8V.ct+BnyCV.c95EPmuYp5nNLZyABVeSonbgVM0iPXYM57cqBf+FLJN3.G
    


  • @MikeB Thank you Mike!



  • @d-healey said in Endless Knob:

    Maybe this - https://docs.hise.audio/scripting/scripting-in-hise/scriptpanel.html#a-infinitely-rotatable-head

    It won't create a panel for me.
    Would be glad if you could go one step more in depth with that.

    (Already tried to replace (name, x, y) with ("InfiniteKnb1", 100, 100)
    and used my own knob with the correct amount of strips.
    Never used paint routine before so I guess I missed some steps here.)



  • @UD-AUDIO Yes, the example does not work properly and is also very complex.

    If you want to make your knobs into stripes correctly and accurately, I would recommend knobman online.

    https://www.g200kg.com/en/webknobman/index.html

    load the image and define the steps.

    In the gallery you will also find countless ready made knobs.

    https://www.g200kg.com/en/webknobman/gallery.php



  • @MikeB Thanks for the hint! Knobman is awesome but I already use it 🙂
    So are you still stuck with making an infinite knob?


Log in to reply
 

6
Online

1.6k
Users

4.6k
Topics

42.7k
Posts