Link knobs function



  • Hi all! I'm making an eq with scriptnode. I'd like to have a "link" button that links the two channels, so that the knobs in the left channel control the ones in the right channel. I've tried with only one knob for the moment (The first in the "Low" section).
    The problem is that the value of the second knob updates only after I hit compile... What am I doing wrong?

    HiseSnippet 6501.3oc6c0DabbjctGQ1RjCIkjMztvYylfAB9.MVK5Y54OxcggFSQRwIlThZFJakfMgt4L0voW0S2i5oGRQ43MxwIdc13cWoE4vt2LPtr4hQN5C4fNl.jCFAAYCBRPzl.jrH4P7k.jaappqdlt5epl87SO8OdHMjYWU85568p26U+zU8p8TjqA5zQVgIw76eZa.ShEYqdpjZyazjWPho7FnD179mvKB.OBnvr9os46zATmIQhYtIpDIleVFse9hquNuHuTMfQRLLukrPMvNBsDTMRcuRuofn3V70A6Kzhnz4JUtlrzMjEk6BQyLroYZyW697GAtEOpXmikIw42rtfprRUUdUPGlDyttb8Sq1T9DIb4eKgNBGJBPOjgoJ7EgSdKYw5HDiRk4FMEDquWOttCCSB18LjAyfkAWgcWg5B8S2PVbYsLRYPAo7Hw4bCdYHgWZuCuDDvaVL7dA1p0TDZqZjCBaKvVVREnzfG1DPBKbYYN2u8hr2PFVBI0UZweevVJvG5SwxY3Rm9USkMc5W4asTxkR9Zu1MEkOjWLE9MkpBnAPA.ac6rTRXqTG0TGyqnmYlTudpdu4i.p2PtUaYI3CKeU87uJ5cZkJtyfJtq1CIaIHBQYmy.JcUUkkbAJ37sBEsT4NCp3bjprmAUYcjpbmAU45y1qCDESU8DA0ZMowyvR3BGix0JFfow4JEbNPQVWoHqCTjyUJL3wcDjtuMdj7koU.ZuKTl8eUkkZ2U8Z2tqJ7+kppnPcjJiyxMATQoK3vYagqzRjycZrJ6j0.C8JROeGoh6Lnxt4g67rX6FzABJSKnnoakuo8xCeEbt894r+94b68ave6HexYvaGAcOSGrZ4Zo1an.d.cJzx0BEtTbakEUibthGNGvCmq3wJEtTbakEUiYcEOYc.OYcEOVovkhaqrnZLmq3ImC3Imq3wJEtTbakEUi4c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AcWydqtspB6ooFv3pAhMw4XPjp8bZzyH.UEHUW6geE7G8LyfdNgdlY5k4DoNZwWSQ9.XeKpJxhHSu4zRAx2R7ZcmxtK54TYXN1XbHoYZAcfePsZHsiqAkONSC2PPS1gflbCAM4GBZJLDzTbHnYUWoA024azUUtEV+GlvdapMjsDIvCUPyTf4+GPLihNX
    

    Link = link button
    gain1 = left low gain (first knob in the first row of the low section)
    gain5 = right low gain (first knob in the second row of the low section)

    Thanks for your support!



  • I tried to import your snippet and it crashed HISE. Make a simpler example 🙂



  • @d-healey

    Sorry David, here is a simple example

    HiseSnippet 901.3ocsV0saaaCElxIrcxaoXEnO.B4JGft.4r1tALTT23jTXzkTu5tfcWGCEcLQnHEjn5pQQA5M618TrWn8Fz62M6MX6bnnrrSccRLvjtQme9N76bHOGpg4FtnnvjSBBe0zLAI3qnilpsS5OgI0jAGPBtC8XVgUjGUoZ+oYrhBQBIHXimgJBB2j3d9mmrOSwzbQiJB4TijK9QYpz1ncXumKUpiXIhWISmy6Gza.2n6aTlRfOaPiIYL9EryEmvP2ZQIA25vDo0jOxxrhBRvl6aRlNZh42zU9eprPdlRfBcIif.Uo9HiJAYLpkzehTkLrNuKHPTF1TE1npJbO5wxD4L8MUiu1YHpAw70ifVqhdcuZ5EuL5ELG81rhd2kNhmKyrMVPt8kzAZXiZLC1BlmVU9RZIaQ6a.Oz1cSYWHNJGDlgnyihiuezCii24G1pM9BaEE1n2vxidt1bV2nGGUC9bgsuIMynAgNa6rtMhZQD6sRD6cID6WZsF8meU712tlc3qTqjZQz3RM2JM5Hi16EFhbipCuF+8g0PUJ1Yq1uaq1gJCmoPMvp4XOtVmhNzACeD7HGG0oFRniu6VT6CnGcyqlOgoOWj3PFBKbgQI1MKWBjtxglXit7dG+uhbDWKeNzmoTmAcActbxgAatL+DiU7BcmcZ+t1gsee6nKaZ73kZyGLkHeolw9y7UAritL8LQdc8s1Q3f5hcB2550IvqpKy4nQOPKsuHS3kWcqLwWXgtlM7LD9x55YtiumYjRlHxIRHH2l51hHNx6mCE86+8e8Dx0Fb2a.3pMPG3Ppe2bA3tgnjedvALKCa78YCjgYhbqDKjAGHdCLQsZLPH8.QwEVSlKc8mifZ+Ulvuc1B9AduoyD9UUOxMHNcw3PC9S.4T7i+f31A9b3WZ52vjOVNGSH+TOxmN1CF9ZRJUL6hSjwqg7FfCmKL5CGuoKj1oyWguAioiu12hbco6coCkV9jky2VKguvAg+u4q+RusnGNdrfaaH6lzi9k08Fta.UdoozJ0meLylKwiTmTlNB9G.t.XhVKTE3oqV3gqJ4XTFqLiD5Dmv+BOdicQ4.uwt0FIoLdt407pVS7Z0uvoA3j182Egvu4.xQy5Hoz3ciIovs8ulywRw2.be4X1aMv7sqAlGrFXd3Zf4QqAluaMv78qDC9iVOszZRqZS.ECOzMYLH3PMCNk4NQR9O.gQ6UC
    

    Thanks!



  • @d-healey I think the problem is that it expects me to press the button, and after that it updates the second knob value, but I would like to "gang" the controls with the button so when it's on, all the controls are locked together.



  • You don't have any callbacks for your knobs.



  • @d-healey Yes I know, I was just trying to see if they moved graphically together after I pressed the link button



  • They do, when you press the button Knob2 changes to match Knob1



  • @d-healey Yes, maybe I have not explained my problem in the correct way.
    I would like them to stay locked, because now they do just if I continuously press the button.
    It's a "stereo link" function what I'm looking for.



  • You need to use the knobs' callback to do that.



  • @d-healey Ok, I will try but I find it difficult to include the condition that checks if the button is pressed. It's a silly problem I know..!



  • It's the same as your example.

    if (button.getValue())
    {
        //Do stuff here
    }


  • @d-healey Ok thanks a lot!



  • @d-healey Sorry to bother you mate... but it's still not clear to me

    HiseSnippet 1144.3oc6XEraaaDDcojW2P05fjh9AP3Sx.oFRpIoEnnHpV1NPH0NpUotsmRVStxZgWtKA4R2nFXf9Ez6tm5g9Sza9SoeB8OnclkThTNxxxpnAwEg5B2Yl2NuY3vYVpdwZedRhNl339rQQbhyGP6ORYF1YHSnHc2l3ba5drDCO1KSzVihXII7.hiS0GiBbbWgXu9qGsESxT97BQDxAZgO+qDgB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XuMTP7M5TiPczdLSrcZv9og8guxymCTUo3xDbBUE7vKYqafqQB0mqBrK9a3JWYSbsStxliURttMCZ8tlAuqYv6ZF7+ylAuI7QHyOV+b+ruzAe07VVIPbqr+gUtz8v0dS9.GJswlMvCAKdtuOdJoOFxOyFSqk.ymrDXt+Rf4AKAlGtDX9zk.ymMWL3+c2WlZzgY0+ffd6X+PSGmcTLnR19p.4e.lCvtfA
    

    I've tried this but no to avail... the second knob updates only if I press the button



  • This won't work - if (Button1.getValue)

    With this block you are changing knob2 to match knob1 when you move knob2. I think you want knob2 to match knob1 when you move knob1.

    inline function onKnob2Control(component, value)
    {
    	local val = Knob1.getValue();
    	if (Button1.getValue())
    	{
    	    Knob2.setValue(val);
    	    Console.print(Knob2.getValue());  
    	}
    	
    };
    


  • @d-healey Yeah exactly... so it's a logic mistake on my part, damn! Thanks David, if I can't solve it I will come back! 🙂



  • @d-healey Last one for today, I promise!
    Still not working... I can't really figure this out, I feel rather dumb!

    HiseSnippet 1151.3oc6XEsaaTDEcV6LgtFBpEwGvp7BNRkHaSaAIDpl3jTYURpAWBvSkw6NNdTlclU6NNTSUj3Mdi2COwC7Sva4CneD7Ive.buyt165fsiqQT0Hk0urybumYNm6d26cV2IV6ySRzwDG2mNJhSbdGZ2QJyfVCXBEo8tDm0oFdhgrynHVRBOf33T9QnMG20H1q+5g6vjLkOOeJB4Hsvm+EhPgIe1NMerPJ2mEvepHrf22qYaespkVpGB7nLsFIh4eB6X9gLzsRTfD6EHL53tFFPFhyZ6nCF0cf9GTo9ejHQzSxwA0IcgEJc580x.jw3rjVCDxfNi0aBAVkN4pubp5ee5Ah.wj4yiB21ZvKGQw3gSoEQu5WM8pMK54TfdqkRu6P65GKhL4VPt81z1JCOtOCdDTjVo9RJ8ykoszfGJy1grS36GCClfn5CpU6td2uVss9zMpf+fGEIFuSYwdOVo6U26y7FC9XtokNLRqfAU2zZcSD0zHZrPDMtDhcFZLZ072kL6aNlcaTQnjBE2q+PkuQnUdZUlO3BDqkU8Gi9tvNHGx2ZiJuXiJtRsOShy.6kk63NcD5PUbw8fKQeupig3ZY61Ii8AlGcKaZ+AL0w7.KRWXiSzR91QwBfxoNju1nKmYY+UnPbuxzPKlT1CdGn5kE2hBCVQ8eKH3hQfrcrnD.KHZLFMmvRtooBM3zWU3wyqh6YKNFkkqM6HTQciaZgPxgZC+IppaU4EUbqbVEuKape+YZKawj73YZFqdEuHfUUCC6wiGG5G6H7Z7z0IVe4pS3mFSJ3nV0VILOIhmMdwE5HYAUnlR4LFB2YrUTd2rJJckh.dLQ.KxaQsOiHVxmUk9hW9xsufrzfqOE3e67y+f4CNMcyB1klk6MEbaKFxW2dWlggkEyTCnvHdrQfARmc4mB8aRKR5R2kmbhQGYkaVNDzX6JE7ymrg+jeyQSF78xlQiilsCrqfHLRx8v1fMfdUwPaJnZJZacps2XnNHiH9hdbIIrX+xu6hP1yK1qLwvi5J9Qqd+0ywq+3gIC62W.dQodA6.3CBj7N5DAlnkisAFVWZEVGUH042Afiva9E3l4qr5uAor0VhTl7M9OGV3oG4KaR92MRg145fgRlY5d7nDyLfroXyTrgoBX4nhYkuBM9qszmKYYo6cncDF+AyluklAegWd9+luYGiZC5d86y8M4jcM59e6qgyLUp.Wt0jCzZSpezXpbor74bv1KvhV6xkroBfeiHvLnPBeyYbz21pSg5RczRV7kC+kmVykWNMeEGccw4Hnj7t1jS+dTaH+5DgsoDWeH7socXuIjP7U5gFg53CXlXa2fCGF1E99OeNPUkhKSvNTkvCujNtFNFITWtJvN3ugqLi0wwNYFqO1H4UsXPi4VL.O9yMECtoXvMECt1VL30wdDx7i0OyO8KcvWMukcFP2J6ekkK8.br2jOvgRqscM7Pvhm46imR5Cg3yrwzXEv7Qq.l6sBXt+Jf4Aq.lOdEv7IKDC9u584CM5vz7eXhN6Y+PSGm8TLHS19p.4eTpM.yB
    


  • You can't use processor/parameter ID and a control callback, it's one or the other 🙂



  • @d-healey I see... so, any suggestions?



  • Yeah, remove the parameter/processor ID assignments then it should work.



  • @d-healey Great! Tomorrow I will try to script the knob connections to their respective scriptnode parameters.
    Thank you Dave!


Log in to reply
 

20
Online

648
Users

2.6k
Topics

21.5k
Posts