A Knob's Story!!! Solved By D.healey & Ulrik <3



  • Hey Music lovers

    Trying to make a Parent knob, That linked to Another Two knobs,
    and It will turn that two-knob From zero to whatever their actual value is.

    For example:

    knob A's value is 10%
    knob B's value is 20%

    and By turning that Third knob From zero to maximum, Both Go to zero and then to their Given values ( 10 n 20 )

    Any help is much appreciated 🙂

    HiseSnippet 774.3ocuV0saSCCE1dslQKvDSBw04Fj1jFSo.afDWrt9GpZrtHxXhqXxywY0ZN1QINiUP7fr630f63VdK1i.uAfcRZS1napphQupme9N8674iOtNQRBMNVFAf01eTHE.uOxcjPMr8PLS.52A.WBsKNVQirxb0ZTHNNl5AfvJuw3.VqJH8yu1pEliEDZgK.3.IiPeKKfoJ75zbGFm2C6Q2mETJ6WzrOQJZK4xDMepfrAgXxI3ioCvlzV.Af2oqGSIibUXEMF.q1R5Mxcn7Shr7OfEyNhSMFM.t5Bk4tmj6YXrwKn8PF2yYbeGCzUwoPEpjoBOBsKyiMwegZ7vz.VEHJqGvEtI50nL8rmc5AKQupYzaYjKIhEpJhX318P8E5CJer9HnLsxxE.+ApsTmfPsd.9DZuHswD.qros8ZVaXau5q8SDDESJrjhAREcOwJqV+K0qU+q0stZHe+oFy7yDI4bZzTCaN0itIfqHRBNhFsl0oXdBcRh51+x5K5502xG+jrttThRQeASsWHUbcpNHWpz5ekbVo+lJU8WJW8c4LOZDf4Yt0riPdT1EEPJqKeI.LCUXwzJr8k.+syO+6aM6facUv+bKv662Aqvlon7FR2jgzHEynevNzS0WOylopg5PiOQICS63fPovz9vEmsd9rI8qEu4nhl+iMCjdZ7OFMPFEf4rOS8bnQDcs0WrAwI99ryLGBOADv773TGYLyLMTThKLRvLvmwJXAUt.WhJME+uoRqRToYx+dp726EzamjdIbr5xqrL6oyCXpQ4cClE.BcsGUdO9sxdrYktKibXJxvoy2ElBe0C2217M+UgGf556SIpBxVE06C29OA.dmLQwDGuKVEYlKPCRBb0ORRnZlHDTtYWHbAyhlLaaisQYboBuTieq+jGrgwFlGrw3ff.LIRdHIaYi4cm6l5QyIQ5yu0z+O.ssUiwaYPH60sMymrCIDiT7TM2mNlmMGXd9bf4EyAlMlCLaNGXd4bf4U2HFy+DY6DkLH6Zh1gS2zs8PXWAVOkkNQB9CCB.ZX
    


  • @Natan Here you go. Console.print lines are for monitoring, you can comment out these lines 🙂

    HiseSnippet 933.3ocuV0saSjCE1SZ8BIKEARHtdTkPJcWHZB+KPnlLosnH1VhHrU6Ufb83zXUO1i73AHfPhmEtCtfK3kga4Q.dBfime5LsDBYi1tSjhFeNmuy74iO+3AZEkEGqzHm5OdRDC4bF7vIRy3diIbIp+FHmyh2lDaXZ2LQ9ShHwwr.jiyR22Jvo9xnzmurtOQPjTVoHDZWEmx9KdH2TJcPmGvEhsHArGyCqX806zmpj8TBUBvmkvdnHB8.x9rcHVypgQN+1lAbiROzPLrXjyx9pfICGqdtLy9c4w78DL6h1ngfixDukRDXYrUJp2XtHXPw9NFAdYPYTXornvEvayC3GJuLZbtTEtkHpFObpMK50tJ87le54TgdKmQuyiGR07HSoFK29cbeIbPMh.GAUoUlsnZuqFtmBrPZZERNfskFVbHhl2zy6xt2vyas6tRC6O3nH139Lh18AR0d44.2ysvC6yL8TgQJIrn4pklrpE+Qw1clv5NED9yDg+pEbjKEbIycThjZ3JoqRVRDKdsRzjV.9xf6EIr0VowqVogK7j90aEyL6Zk2LU6e30ps06E58+Q8WsPe0+guVrRvZEo4Ezzs6cbW08Oy+L6W3l0JfOMH9kP7OFjWmtm+0geKgy268HBwdPITyoDWrtrRbaGkg8PYy0Z7pF0a75FtGW0nQSUWtyDL8TUaqu0yBXSYR3dLcwQSggPh9Qqjv+7JopE5zrnSECUx9Rt4gQL4Oq9BkGRgJskxYE7lIsN6r40YCE7.lFwCr8GKCknTVm2.6MW3CeZczb3gSk5gtGAL58e8s+K.6ebvebcze2eChgX6WjugfMYDSa313myFrmAMhy5dTGuAK9.iJJcGmmDAtd91yu3vF1thNSJ6d+jNgp..+Ew6nzgDA+krfALME7MzBGEmLZD+E1CgKgB4AAB1.UL2lMT5hOaCAyAeJhfkT4yjJToi7+ap3WgJcR9umJ+3D.XNjJHQPLGc3jchbtBqOpNEv1oWB9dR0I1mHSrlW5dd7.tgNd57s1T3KjbeRy274+qf2bzHF0TR1kwa8Om7C6QORkX3x82lXz17B7NIgCgqCQY.SjRlv1KzolsqU1ZO6ZajYHSFjt3avStx110N4JaWnDERnZ0SoYMar2v3zoR.NISunUc3FevZ21EcYvXuVd17S9SoTan3J.2mNlqt.Xt1Bf45K.lar.Xt4Bf4VK.laOSL16b1MwnByJS.AC1LsauiylRBjkklQh9dMZyCT
    


  • @orange said in A Knob's Story!!! Need Help:

    HiseSnippet 933.3ocuV0saSjCE1SZ8BIKEARHtdTkPJcWHZB+KPnlLosnH1VhHrU6Ufb83zXUO1i73AHfPhmEtCtfK3kga4Q.dBfime5LsDBYi1tSjhFeNmuy74iO+3AZEkEGqzHm5OdRDC4bF7vIRy3diIbIp+FHmyh2lDaXZ2LQ9ShHwwr.jiyR22Jvo9xnzmurtOQPjTVoHDZWEmx9KdH2TJcPmGvEhsHArGyCqX806zmpj8TBUBvmkvdnHB8.x9rcHVypgQN+1lAbiROzPLrXjyx9pfICGqdtLy9c4w78DL6h1ngfixDukRDXYrUJp2XtHXPw9NFAdYPYTXornvEvayC3GJuLZbtTEtkHpFObpMK50tJ87le54TgdKmQuyiGR07HSoFK29cbeIbPMh.GAUoUlsnZuqFtmBrPZZERNfskFVbHhl2zy6xt2vyas6tRC6O3nH139Lh18AR0d44.2ysvC6yL8TgQJIrn4pklrpE+Qw1clv5NED9yDg+pEbjKEbIycThjZ3JoqRVRDKdsRzjV.9xf6EIr0VowqVogK7j90aEyL6Zk2LU6e30ps06E58+Q8WsPe0+guVrRvZEo4Ezzs6cbW08Oy+L6W3l0JfOMH9kP7OFjWmtm+0geKgy268HBwdPITyoDWrtrRbaGkg8PYy0Z7pF0a75FtGW0nQSUWtyDL8TUaqu0yBXSYR3dLcwQSggPh9Qqjv+7JopE5zrnSECUx9Rt4gQL4Oq9BkGRgJskxYE7lIsN6r40YCE7.lFwCr8GKCknTVm2.6MW3CeZczb3gSk5gtGAL58e8s+K.6ebvebcze2eChgX6WjugfMYDSa313myFrmAMhy5dTGuAK9.iJJcGmmDAtd91yu3vF1thNSJ6d+jNgp..+Ew6nzgDA+krfALME7MzBGEmLZD+E1CgKgB4AAB1.UL2lMT5hOaCAyAeJhfkT4yjJToi7+ap3WgJcR9umJ+3D.XNjJHQPLGc3jchbtBqOpNEv1oWB9dR0I1mHSrlW5dd7.tgNd57s1T3KjbeRy274+qf2bzHF0TR1kwa8Om7C6QORkX3x82lXz17B7NIgCgqCQY.SjRlv1KzolsqU1ZO6ZajYHSFjt3avStx110N4JaWnDERnZ0SoYMar2v3zoR.NISunUc3FevZ21EcYvXuVd17S9SoTan3J.2mNlqt.Xt1Bf45K.lar.Xt4Bf4VK.laOSL16b1MwnByJS.AC1LsauiylRBjkklQh9dMZyCT

    Excellent Job Sir ❤ 🙂

    And How we can make the Knob master more intelligent?
    I Mean, it Should look at both knobs, then goes from zero to whatever Those knob's Values are.

    Kinda it Looks at the highest Values of those two knobs, That given By end user?
    Not just coded ones?





  • @orange 😞
    I Guess I Can't Explain It Very Well 😞

    Have You Seen The Magnitude Knob On RC-20?
    It Works As a Mix Knob, But More Like A Level Controler
    Check The Video:
    https://splice-res.cloudinary.com/video/upload/v1587464206/gear/features/rc-20-magnitude-slider.mp4



  • @Natan - its pretty simple maths..

    psudo code...

    master_1% = (master max value - master min value)/ 100
    targetOne_1% = (target one max value - target one min value)/ 100
    targetTwo_1% = (target two max value - target two min value)/ 100

    Amount = master current value/master_1%

    targetOne.setValue(target One min + (targetOne_1% * Amount))
    targetTwo.setValue(target two min + (targetTwo_1% * Amount))

    if you wish to have the targets only go part way to their max replace max value with your limiting value in each case...



  • ah what the.... here:

    HiseSnippet 1033.3ocsV8uaaaCDlxNpq1aoXEX+4Fff+K401T4t1teDLLY43LXjkTi4tfALfUvPQG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WRUyaBlaHLhY4YX127LrpiXCxyNULTJFJX52DSE2zjMTQJElwsSAqf+oylv8nhIbi4rPpBwBMmLUlJQYrt5AMnMvCeVlG5uJ3C71bv90ry+1vCIZhYRcQ.AAYLUoYl7m0gz2AGAlO2tk8gzjq0x3rHtnIBb8lEyuewth4dyJove5EwBC4zQxDloHWpYeOXrU4ReOvOwiY+MrY11t6YJJkr3g2YdqzU+CoBA7D2DA9zerLAXfghpI9P5DRJO+isUJHK30CtyRR4N3ktQ7B8pk30mNwCs9grvQ8xvTNQu74+lK8Tnv3xpGzZNLU.a0rpWJ5d4RAaJcer8HlNXZ87sQM7E5huu4awUr109nISnA5Rx1z93e+9+9TneUlpYhqNknULnGv9rznwvMNCn.SDBJ2LzypgYhR9ZWyZSlYLUDls3+fmBk8LqsJT1atRTDIPIeaP9TEyk3dXlDfShr6x1BtTMrF2a93DymitHnck81f.Sp3Y.2qGy9aAlucKvbvVf4EaAlWtEX9ts.y2eqXLWquepVFk+YBHXzQYi0srNRPftrrNRz+C.fsXhC
    


  • @Lindon Thanks lindon
    but this not what Rc20's magnitude slider does.
    it first picks the actual value of each knob, then it goes from zero to that value.

    kinda stores the values first, then goes to that number,



  • @Natan I need this myself, it's not the best and I will try to script a better way to do this.
    This is what I've got so far.

    I had to use the "STORE" btn if I wanted to use "BTNS.changed()", however if I only want to "getValue" from the knbs then it will be easier.

    This snippet uses each knbs callback.

    HiseSnippet 1377.3ocsW87abSDEdbRba2EVDUhKbazJN3k1tYSIEPJT51jroJpjjk5zHPUQkI1ylczZOyJ6wocopR8Bm4O.Nx+HkSHNBm4DmPhCvcN.uYF60yl57CBfO4Yl2279deu23239Ih.ZZpHA4Ta2IioHmW20eBWNbsgDFGs45HmFtaQRkzD784hCPqNYLIMkFhbbl+dJSbps.R+7G2YURDgGPKmBg1SvBneBKlIKmse26yhh1fDR2kEaY8xc2LPvWSDIx.5LuaGzXRvHxgzsIJylyE4bodgLoHwWRjzTjyBqJBm3OT7Dtw98XorChnp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+P3lNILU4x1Yw9v+cEPAlvgJJU6BntSAUOtSQkjOkGpG7WvS9hKoF6ju3REKhhIAIhGGX9vp5WYthdFfSb8ezUC9yRXLd5mxcc6ztCBN7wdbPfRJtAv8pwbyK.l26BfY4K.lacAv79W.LevE.yGdpXT+b6cyjhXywDXh98zc1bb5wIPUlthD82P8JGE3

    @ulrik Well Done Ulrik
    What if we do set a timer to the store button, so it checks the values every 30 ms, and forget about the store button?



  • @ulrik
    timer isn't a good idea,
    it breaks, and also picks everything up, and can't do the job.



  • @Natan said in A Knob's Story!!! Need Help:

    @Lindon Thanks lindon
    but this not what Rc20's magnitude slider does.
    it first picks the actual value of each knob, then it goes from zero to that value.

    kinda stores the values first, then goes to that number,

    So that's pretty easy to do isnt it, just use the current values for Knob1 and Knob2 as the max values you want to go to?



  • @Lindon lindon
    if you played with RC-20, you'll know how the magnitude slider works.
    it kinda a gate before each knob, so what value knob a & b is, it goes from zero to that point.
    it updates each time you change the knob a & b and changes the maximum

    if knob A's max is 20%, master knob ( magnitude) goest from 0 to 100 but Knob a goes from 0 to 20%.
    if change knob A to 30% right away, master knob ( magnitude) this time goes from 0 to 30%

    like @ulrik example, it stores the knob A & B's value



  • @Natan Try this, this will not need the "store knob", however I had to use a boolean outside the callbacks. (I think it could be done better, but at least this will work)

    Inside the BTNS callback I check if it's the Master that trigger it or not

    HiseSnippet 1409.3ocsW0saaaCElJIpq1atXEXXWyErgJu153zktMfrt5ZmefQaR7hxJVQQPGiDUDQjHMnnaiWQ.5Szte20q1U6QXWr8Fr2fsCEkrnSbZxBP0EFljmC4246ijmCGHEAzrLgD4TauwCoHmOx0eLWE2Klv3n9qgbZ3tEISQk3GyEGf5NdHIKiFhbbleSsIN0V.k+8OOrKIgvCnUcgPOUvBnOgkxTU8NnyiYIIaPBo6wRsrdkN8CD7dhDwH.Ny61FMjDbD4P51DsYy4hbt15gLkP5qHJZFxYgthvw9whWwM1+TVF6fDptwxHeXhLcugHITiXcundwrjvAkgcFBlkAUj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ofKYjnLYflqjjJfZEL4SsE4UTQFqjZBU.UP3xPlItKHZtzoQkVUgUPF5hbDWBFj6MKEJxTGSSgjbYhxt.fcggdAhMLekoRKJvspmF8KJ1qh6NR.u8dWQJPvjWoGNYajXelcW4biaZUlQtj7EVWCb51hxhRBchRyNU1ps6aba3dqK4sUEEMWcV5KXIyUsYJRxcYXKYV7.VxjfdBPn0pZu65KWuaPwN3L.UxtRt9zQLqbY2s+b5tQ1R.nOulkgva57t7Ox1k2WvCYIHdnoEe59HJO.lcjKZIbv5FG3Uw181Ymec4s0ups+wq+ymi9wtGP0TynJaz.Q3HVhlaRjNGvdEL2uXvUC7Arzq0pQ4gqs.D4bukJfuA4fc9L3qN17xu.unY2XrFaADqBAu7o3STIwTA+0rvdrj.3K.mafRyhh32X1G9bTLOLTv5oR4lhixb3uaxCKAqrYwbB8auKgpgew+ybwufKJm4vk8+WgKu6gPvQgpvLAUW87QyEArJL9X1ChLG1HAeOd1p12iCM8l6glyssZIo68w835fgymuqMG9BE4+WyW6UPZhOLJhEnKIac7Q+zpdei2Cp7CpLMWd0wTchot.eRVbe3VXALfIRISjZJvVyL5pP1yHaxL8Yxvbg+FdrJ8MxNVk9SThhoAIpWFTLywbIm6kuBvIY986Z.szfLY5zFL1aaOS8I+kAAlTwWBbe917nUvlcVAad7JXySVAad5JXyWsB17r6zFy0deQlVEWzl.Kz6v7o9NNGJoPUVdEI5e.+YEX4B
    

    Peek 2021-02-28 12-37.gif



  • @d-healey That's elegante done, maybe I overcomplicated it, but I thought the Master should trigger the knbs callback



  • @d-healey said in A Knob's Story!!! Need Help:

    HiseSnippet 1027.3ocuVE0aaaCDlJ1LnVadXEXXuz8.Q.Ff8RVpTSaWAxFZZbRFL1RhwbVv.BBJnknhIBEogDUWbKxq6O1v9er89dX+C1NJQaY0ZG3ZrM8fsNde2ou63cGYuDU.KMUkfbZb13QLjyGh6OVpG1YHkKQcO.43huVpFbFKUi1e7HZZJKD43T6aM5cZTGk+7WOeepfJCXkK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I+kAAlTwWBbe917nUvlcVAad7JXySVAad5JXyWsB17r6zFy0deQlVEWzl.Kz6v7o9NNGJoPUVdEI5e.+YEX4B

    Excellent job 🙂 sir you rock
    exactly what i was looking for
    @Lindon @ulrik @orange it's beautiful, right?



  • @ulrik said in A Knob's Story!!! Need Help:

    but I thought the Master should trigger the knbs callback

    Maybe...



  • @d-healey who knows ?... 😎


Log in to reply
 

10
Online

1.2k
Users

3.8k
Topics

33.5k
Posts