Community plugin project
-
@Matt_SF Thanks! I tried it but as soon I use a custom callback it doesn't work anymore.
-
@MikeB It works! Wooow I didn't understand how to getChildSynth and setAttribute correctly.
Thank you so much! It all makes sense now.. -
As you have already noticed, only one of the two works
Either connect the elements via ProcessorId
Or operate them via script.The golden mean is:
-
Elements that remain as they are are connected via ProcessorId.
-
Elements that are to fulfil additional functions (e.g. labels) are controlled via script.
Some professionals here do everything via script
-
-
@MikeB I also found this XY pad which is a bit complex to me because of paint routine and all the math. You did write about this in another topic.
How to control the knobs individually?
Could be enough if you point me in a direction :)HiseSnippet 2290.3oc6Z07aaibEmz1rMVacP1tKVrnmXM5VHs1VVRVIYKbKrrksxZrw1BVNeAifsiIGIMvTb3RRYK0rAn+ar2x+F8T2K8R+qX6w1S4ZAJP66M7qQRTxJtItNaMCBM4LuO9Mu2adyaFp5tbCpmG2UQc9i56PUT+YZM5a62tZaByVY2sUT+oZO8YNDSks56P77nlJppy7.rS04mSQb85M1hXQrMnIMon7XNyf9PVGleRq0q7ULKqZDS5QrNRTWtxtFb6pbKdW.HypUPwgXbJoEceBR1LZJp+jcLY9b2F9Depmh5bawM62nM+b6.5eLyichEEeonRCPPAMWiaYhHFaUoZalkY8nArmhhpV8jg+rAC+OVaOlIKt8DyvcDcnmvgj8XV0YlD7JJCuBSO7Tkf2bAv6C0ZX3xb7S5Aw1GnsqsO0sIAbAxvJfVkYVOiVUNPgse9NjSo0bgWh4H68JTXY86VnPt0WHyBY.Ggmu9YDWcb7hr4xsrntE0+c5hHi7sn96wM6ZQfAb1EEVEIxVDEy3DRooSHkFRHO8Y0Il0ss.tiFG.+U4cb31vKYWLhfg3qAqiiEECVG.86zrI0.3JnacQ+ikyRW.mAXUl2Ss4m3Abc7yWWG6oI2UOKCZnv55L8eqdY3OKsTtEx7hExnCWB5Ol87wN59JffEWJKaoh4PcIySdOjRgcqJwx5DXZSVgwH25YdIpb7eqtp9d7tdT8pakIxRgLJZLlslcsM7Yb6rzy.slKyKDJh0TOng7FV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m8+KOx8qjx0uJzQGhgK+qMBBNw4J2RzBLtsE+3TmWaO7c83OCslVg7EvOME6qMLPy8Jf8IcdJcI3YsKAOkuD7b2KAO26Rvy8uD77ESjGLE0lcgRFBlJBMTemfj+pwEcnNqx+ANvsDx.
-
Some professionals here do everything via script
Yeah I would do the same if I would have such coding skills.
For some people it might be easier and faster to write a few hundred lines
instead of using the interface designer or things like that.
And they may like to use their power like a jedi.My way is to do most things with the interface designer. (This is why I run into issues sometimes)
I will dive more into learning basic coding in future. Because it wouldn't be smart to begin with complex stuff. But this stuff opens my mind and mostly I don't use code without understanding it.
The golden mean is clear to me now.
-
like this?!
See from line 67HiseSnippet 2210.3oc6ZszaajbDdnjFuRbiLrW3MIHWRChj.xUhT7ksCfhgndZKrlVDRd8CXXro0LMIangSSLyPIx0q.787mH.4d9M3K4dts.4TxhbJm1bLm1TUOb3zC4PZJkHs1d0HHI1UWU0ec0UUc2EmZNBClqqvQKwBOtWalVheh9A8r8ZtYSJ2Va2szR7Q5O64solZazqM00kYpkHwL2G6LwByoIe9t01fZQsMXgjzzdhfavdHuE2KjZsJeN2xZGpI6w7VJbWtxtFB6MEVhN.PlUOuVapwQzFrGQQ1lQWKw011j6IbNvi5wb0RL2FBydGzTbhsO+Og6xOzhgMJnc.nHex6HrLQDieVaylbKyZASXWMsD50Bm9y5O8ukdUtIe.8PyvMjcPBkPwdLahYlD7JbNgWBE3MmO7to9AFN71dg8fX6i0201i4TmBKApvxmWsYty002T.bX6kqE8H1NNPiARj9N4yuL414ymY0EStXxUV4XpCmBn0M6E0yhIgkaWOBLRjO2VbXAx8HA.rAyaSQq1BanQ5TxdSgHKpDEmnDEiQhRSThRwHQ4IJQ4gj3gzCYVieh328Px7T5wr5BmV2mYybnf+CJuL7SJM5PHakNU.mjPVk5ZkUxdQ+36T7rmSpQMkSNGg0ErOwydNLV0rsFq0LfggrmGAqKtfPu3kqRVLIXuHo4Py7qR3jeGoL7ukVJyhIe0hIIvij6Wve4DWlSsTZ9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IdYJdNjoz4PlxmCYt84Pl6bNj4tmCY9sSTFbG+063IZ46+CDpss7aKLQB+S.ICEz9uPq.aPC
-
@MikeB Oh you added a label which is nice. But what I mean is this:
-
@UD-AUDIO I do not understand?
-
@MikeB
Upper left = Knob1 100%, Knob2,3,4 0%
Left = Knob1,2 50%, Knob3,4 0%
Bottom left = Knob2 100%, Knob1,3,4 0%,And the equivalence for right side
For the mid I guess 25% for all knobs?!
-
@UD-AUDIO said in Community plugin project:
For the mid I guess 25% for all knobs?!
50% for all knobs in the middle
-
@Matt_SF Or 0%?
-
@UD-AUDIO said in Community plugin project:
@Matt_SF Or 0%?
you're right of course, according to the behaviour you want it is 0% in the full middle.
Anyway I've tried it here :HiseSnippet 2491.3oc6azzaaibkJ1bQr10AIE61VzKcfQag7ZKYQJ6jflVDE+UhwtJQHNeh.isiIGIMHTbHHGYK1j.r26eh9SnW6olK8d+Irm6osG6osugCo3PZJYEsqc2j0xH1hu4887du4Myvz1mYQBBX9ZkV3QgdDsReh99gt7da0CSc01aasRWV+YOG0FaqsYnGNHfXqUpzb2ULZoElWK5y2d6MwNXWKRJHMsmvnVjuj1mxSg1t4WPcb1EaSdDsuB1q2bOKl6VLG1.PSlSutlG15k3tj6iEncIcsRezN1TNyeeNlSBzJM+lL6v86wN1Uh+SnAzCcHhGLz1GXjD7tLGagFKfpsUOpic6DKNPSqjd6T6eNo8+o5sn1zQvS8CWMZ.TJEp9iRWZRpmgp5Ue5UuRJp27R06Z56a4S83oiHzsOVeOWNwuCFlBTUKItZW5ueU8sX.Ft7Z8wujrqO7vHJpb850WEsQ85KeqEKuX40V6HrOECZaP0ypOR47RW1gAnAfthNLDw6QPdXWhChyPBsLBBwwg5EPP8YGQPVLeehE2IbwxP3R.GAZJpquGDc9E.uP+QzKNH1FvV7AXG.AmAj.THa.5XrKWv5tDNpCyW.yGDnODgANhfbr7IBB+R7gf5Dy07CqJwzw7XAvXmD9SwGQ.o1+tDWhOFhTL.bhxzpAJTzTezSUVJAST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9L8Bd68lPIg+0z9hy5M0u3rOvhCpvi7wtAdr.hgJmyMlY1ZS7AtYQWBJCVByaWv7LTmQS.ZpBDBKxvL34LbpEMy4zriq3MNceBXM1OHvBLVguKCCG3DPhxNLTOosTvlpfuG1W7BUZMo5kyOc0KSi7Jr14G8i52g3yuiwXtoScOkWy4ERzQ4hp6.K94v.HIUyiNt0DnYSsZwbYd8XtzLS5Oj.UD51kjIVpPC5NbNVbTjIP9zlOj3PvAJoa+llh2uDreqnSKdl7EFSuuXRyW+Rco5hD0CPeXb7Sy8SxieZ5yPgRlu+LS+Kzgx3lnnoaz++muOO5O37PF8wV9ruxRdi1hBFWNBBX2tQ+WkYA8VhmQitOdc850pKtAK5WYYIhoqB9mhowbFnowLPy5y.MaLCzb8YflaLCzbyIRiXE+6Lfy5Ki+A.s2I5cInTIYSOQoBZ+OFXoC2C
I'm sure the way it is written could be improved but it's a starting point.
-
@Matt_SF oh this is fabulous! Thank you :)
Just curious why the labels do show negative values now.
Edit: I guess the values have to be connected like here?!@MikeB said in Community plugin project:
in principle like this
HiseSnippet 1194.3oc4XstaaaCElxNLK1YtXcnEa+THX+vAnKvNq2.FFpabR5BZbhQbZ69QAJnkniIhDofDUZLJ5yvd.1Ky1avdDF1SvdC1NjTxRJQy0S6Rw17uDO2324vysjggBGZTjHDY03zYATj0GhGMiKm1eJgwQGrKx5F3AjHIMz1PZmYAjnHpKxxp9STDrZrBR+6WdzNDOB2glQBgdtf4POj4yjYTG16oLOu8ItzSY94j9t8NvQv6K7Dw.dpi6fBHNmSNidDQIVMLxZ08bYRQ3HIQRiPVqrivc1nohWyMx+bVDarGUcnKZDXHC48EdtJDq9F0eJyycXpeGgPV3gYQg5lnvsvCXtr4zyhFejlgclF4iGV0VD75VQ3YkCdqXf2MwibBYAxLNJrsN9.N7PMg.OA4gkQVTsmUC2W.Rvka4SNmteHbXtFsuemN2w9dc5r4W1pYqlvCQjz9BRn8S4hwcs+J6TUOiJ6K7CDb3P6Mzb2PoSlF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yCWnNpI9ONVJ7M4+.gg6o+KkrrLa.oKEP+FPyzpOz
-
@UD-AUDIO Oh damn, I was focused on the knobs values and didn't take the labels into account... Guess I have to work on the math again
-
@Matt_SF said in Community plugin project:
Guess I have to work on the math again
Actually the thing is : if you want the values to be 0% in the full middle for each knob, the values have to be negative when you're going past that middle.
BTW, which parameters do you want to control with the XY Pad ?
Wouldn't be better to have something like this ? : -
@Matt_SF Just saying but the knbCtrlValue middlePosition should be -1 instead 0.5 I guess.
The knobs are exactly like I want them to be. I will add this to the actual synth later.
Do you have an idea how to connect the knobs to other knobs in the final plugin?
Maybe I should have a look at macros or something.
With that the pad would be more flexible. -
@UD-AUDIO you could change the middlePosition so the knob appears to be at 12 o'clock but it wouldn't help because most of the parameters (like the 'Mix' in this snippet) don't have negative values.
The corner knobs are just a representation of the pad value. Instead of writing :
grpValKnob[i].setValue(posVal[i]);
you can write something like :
waveForm1.setAttribute(waveForm1.Mix, posVal[0]); //whatever parameter you want
No matter the negative value : when the Mix parameter of the synth will reach 0, it won't go below 0.
-
@UD-AUDIO I didn't thought of it but you could just use an if statement to get rid of the neg values and use them on each opposite knobs with Math.abs().
I'm AFK right know but i'll post a snippet later -
@Matt_SF I was AFK too, but I'm back now!
Macros added but it doesn't make sense to connect them directly :D
This would probably be an additional task. Macros to control the knob
and the pad would only mix between them. This would be optional
so you have to activate it with a button.Cleaned up snippet:
HiseSnippet 3012.3oc6b08baabDGTRvwhwxItIooSdo2nosCUzWDfT1NMsSnr9vVSjrXMkSrGOdx.Abj7pAwgBbThLIZZZesOz+E5+I0uzoul+D5y8ozG6St6cG93.DoDkhkpksnmHRr2d6961a2816.PpGPswggz.sBStSeerVgqo2nuGq8JssHdZarpVgqp+nGipa4ncm99VggXGsBEF+t7VKL4DZhO+vmcGKWKOabJIMsufRrwaR5PXoTqW6yIttqa4f2gzQg6p01vl5sB0k1EPx35k07srelUK78s3rMltVgqrlCgQCZvrX3PsBSbGpS+Fso66I4+KHgjccw7KLzZ.BR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5QxT05CvPbZqV3.UnOvwyxLlE+wuHsv1GfcwPMroj9E03u8.VAaIdXYNUlBiQ2TbTSW+LcIbQ7nTzkaT80+MpdMcYVv70jO1qdyxvhUh7xuh.0OPB02VmuoSwplBT9A5C30o978H311lAPXm.KuPeZH1PUx4ZyL68Kf6IXbXRY3hO7VGFdFpGKPLQSUh0s7xHL35LRZKRO0GtO4J+xUY2NzFFrbaWl8920MDKNwZC0NlR1Tk78rBbxeZCmMqUekKWq9xj9WfR5y8A6cwY48OTGRGXhDS2n++OeedrUsWWzQG9tp+Ja4qRBOU4UET.aqm3+i8bE9ICl7Vv7d5FUWnZ0pl2pxmT8127leR0J7GRbxWYayCglGlNFP2SdAXz0KuP4QnCUNocn5InCioeQfY9ZPK2kQ6Hij.B0WSdV4ERNy8Biq8+fINwFn
-
was only meant as an example - if you connect it to the right module it should work.
If you hide it for the time being you can continue working.//WaveformGenerator1.setAttribute(WaveformGenerator1.Mix,posVal[0]);