2 Macro questions
-
@ulrik I realise the
addToMacroControl(index)
means when to control a macro knob with a gui knob, so that is not what I meant
I mean how do I add a gui knob to be controlled by a macro knob, if you know what I mean :)
and how do I release it from the macro knob (by scripting) -
@ulrik if any one is confused over what I mean, this is what I want to do but by scripting
"In order to assign macro controls, you just need to click on the edit icon next to the name (eg. Macro 1 ). The green outline around the macro indicates that now it is in edit mode so you can change the name by double clicking on it and connect controls to it: as soon as you touch and change a control, it will be deactivated and assigned to this macro control which is indicated like this:"
https://docs.hise.audio/images/custom/macro_controlled_parameter.png -
@ulrik Can you assign it from the property editor?
-
@d-healey Then you set the gui component to control the macro knob as I understand it, I want the opposite
-
@ulrik The macro will control the GUI knob
HiseSnippet 837.3ocsUstSSDDEdFfArHRDiO.6OgDjrEQvD+gU5ESCBz3BD8WMC6LKcRmclM6NKP0XhOA9JIOR9FnmY2ssKRkKMw9ildtMmuykuS6Dq84II5XDtxQCh3H7RDuAJSu58nBEpcCDdYx9zDCO1IW0tChnIIbFBim88VE3Jygx97q2tKURU97wpPnSzBe9GDgByXscpsmPJaQY7iDgk7dqZs80p5ZoNEvyrDWTD0uO8L9ATqayPP34axDFcrmgZ3IfO6pYC75ouPk6+IhDwoRtUnJxCdnb0n58DRVmg0ZBBgmqy3Je17J+4j8ELwH8i6.OMyfy3HJ2CvybaPp5C.R3RPZtbHsBwyOVDYFawhmGSZqfAR.EZ0kgRtuH7Uj5ZvAkYiPZedqXPXT.qtsq65NvWq8lfTkuQnUNZ0AZC+P0pqs3WWrxheaQm+1TPvDsYSSrVJ4wSzrc5FeaAtpJM7Td75NmSko7QNBk+06oye+5o94UcIG0p1Jg4vHdgbKsjY6U1eeyI.pnsYmEEHDb0jMIVtXR3IELdLR.OxBj8T5Sqhx.+ns3u+4Znia2fZnCeF3EgrDwiMBawfavOG3D4C3JjF7j9FcTlugQZkM+3ktyjdIBSvqfQnA1e7CHwIlA1Vx7YNfBELlj2QmHrs7RjzeBb4HOwW.WIjpa3BdpJSXCoWNR7pt0RRCBDWlQ9BDxvDCfm1g.mDgeF43DtCiGPSkFmj9v6HEp9b1Q5L+Q2beFXRZVpjZtN8xdGovfErk2osKtJnHFT9NyCfy4dqbt6KDWgzQX76MYLNyDvHL6+efwhKUOgzLHf6aFCv4Hs9zzdV5NR+G0oFg5r8ovn2t0cPZnGbf1mCYWo3xD6B3LV1StrqU11A73JVlvugOEFqZkwEFqNzHrz4Gq65my4r2BeTlF.SprS+Uf+CBjcFQ1VfT0cyrkWlnquusA7B34v9CuHw5FQigXgydP3VlS4qlkrk+2LEhcyS2PRVF0fPbsIxRKfrt4NffTewP88Dm0arAg5bflmegwEEyoLsRNn3dyjKoMGVRE44ZEz+HlWNEwr0TDyqlhX1dJhYmoHlWeqwX+C62kZzg4rUPQmlY2jw3lJJr3mQRP+AvffIVD
-
@d-healey Yes but I need it connected/released via script
-
IIRC I posted about this a few months ago and never found a solution
Edit: https://forum.hise.audio/topic/4490/addtomacrocontrol
tried a bunch of ways and none of them worked, I delved into the source code a little bit but didn't really know what to look for
-
@iamlamprey thank you!
Yes, I've tried a couple of ways too but got no solution. -
@ulrik You can set a control's properties using .set()
-
@d-healey I don't think you understood my question, maybe I'm bad in explaining, or maybe I don't understand your answer :)
look at this example.
I've solved it another way, (cumbersome way), but you can see in this example that I want a macro modulator to control a parameter in, for instance an effect.
Yes, I know you can attach a modulator directly to the effect, this is only an example, the parameters I want modulate is not available for modulation in this project, this is not scriptnode.
HiseSnippet 3765.3oc6ck7aabcFenjFmPFukEzTDjBLUv.kpxlgyvUEWGSIJIKYIYRqQVxpFtNCG9n3HObFlYFRIpBCjSE8PA5sBja4R+CnG6M8GfODfdp.8Ptzy0+Gj9VlUtLbjHoDkhHPXza666221adKeCcQMUQfttpFUnva0pNfJz0o4aoXTMeUAIEpUWjJzMn2PPTSkYKftAG0BspKnqCJSEJzjOB0kPgmhB+4cObAAYAEQfSUTTaqJIBVWpljgSsEysljr7xBkAaIUyUuSlaUQUk7pxpMfvYR53T0EDesvdfm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d8KcuDalqtQxeFmZAmE7.+Su6qDIovCxO88w0.kaE7+PFPRxNyeCQ9X53wRlNU1rIxjfMaRt3IYQu7cRuRTDoruGjrgDsxFnxuptfFjFF3HTxuIBN+9+6pMx+3IXV7UD1592QD7KGHMj0wovuZczzrv+TV8.qZqJsWUqpkrOUZDY0.BkUUjaYNutWQC+FvaKYrboiMG7S54RlkKIG6bCEIi0GIiaDJYEcIYoxDiMU73wYSwkJalryMbrYb9HYIFYRF9B+rty.SIzjMCAYJgOxTxQlLYcpVlhy6QmfMVlTCEAJoOBTpQl.caZ78AwX+L9gtgJkOxU5QlbEA8OOI5FBvEbNzknz9HQYFgRj0gD3LcQ1jw3hGGNQXh4xNGWpLYGJxWFejurCQ4Csz64aXnVirfDXEEWhbwjgrSz5PSR8+gljhR.
-
@ulrik Ok I found the answer to my second question "
@ulrik said in 2 Macro questions:
Is it possible to dynamically attach/remove a modulator in
the Macro Modulation Source module?
I can't get it to work using the addModulator() functionYes it's possible to use the functions to add different kind of modulators using the chain index from 4 to 11
// to add modulator to Macro 1-8 use the chain index 4 - 11 MacroModulationSource1.addModulator(var chainIndex, var typeName, var modName)
One step closer :)
-
@ulrik further deep diving
When I set 2 knobs to be controlled by 2 mods in the macro modulation source module like this:
It works great, I am able to change type of modulator and the knobs will update but as soon as I compile again, the connections breaks with this message:
Interface: Index mismatch: Removed Macro Control for Macro1Knb Interface: Index mismatch: Removed Macro Control for Macro2Knb
Anybody knows why, is there something wrong with what I'm doing?
Any help will be appreciated!
this is a minimal snippet showing the problem
HiseSnippet 1732.3oc6Zs7aaTDFe23LsIoMoOEf3zpndHUDhrcCIohCYyyVqlzXxl1RUEDMY2w1ixtyrr63jZPHw+AbgKv+Ibqm4Dm3L+CfDmPbClGq8Nahi6lHmRbo6AKOu9ley2q46aloZD0EEGSiLLGcmVgHCyqBbZQXMVoADSLprpg43fMgtQTqcPwrYMVtUHLNF4YXZV3AhtXN5vFxu+bwkg9PhKJsJCimRwtnMvAXVZsUseD12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y3afpymH8Z1Aw280oEwUW6wIfRYMvj5Ycrba6Mnzv0HPNavSmHUa.iEIHxy3TmLqzLlQCZiEYV+N7MUkgva9BvbyNC+q1GI989qv+4da0eJaz+RdenbpmcKojriHSFOwEamJJD2QeZ..wsskKeQvV9ZJfdYvRObUmsSbSK+u0ZjCP97zRyZNuIkPCaPI3LVZaiXQ350QQ5nuqKokXLn69qzL5fLAFvylB15X0p5rdHApZ1.wgldGeHeEqmXijbowUGY6vsgyDdh.y9Ht8tN0WyUD.DpWhfytMHHm5GiCTKRKoWqK15xSzFqJIxEavdUfTsXPfudMPhB6.AicBPhszf.qss626MffyYGPv4mLffy4FPv47CH3bg+qv41zlLdr8aB4gdHNM0G2LPcpDbLRHHe9DALGRD+tpbQQYYZAHhmrv+v+RZrjnrYRikZ2nwwy54J.GLAIuORIa38jksDYGX8.DAEc7LfN2OWjsbY7oemHHINjFmgvNn.7NThfqmV4ShQh.l2VjDdlDcnvnt1DOgM9hrqiwAxZFIyleo.ZSRlDmN540.xWrSYOTCs92aEByge2g575BQsX9ui2QaiQGbPnOpc1.RLdSdjT0fM8Ymm4Hnmv9whU+N1av0HgQmegqalS40GnGtt06NLtKZGF2YLw3Q57zSjp+OHMVWUEVhZ5kedQNs9vLLvmk89bdtcW1InB2hJhUk5CiNJ6uuc52CmacDwRZvQmV3VhyxGj.rTkXvAvWWb+kW.f6ahX+daYNBDgouqq5sqHL+GQVCm2RjOhsjGXPxqT4lfRybu6Wb9RkmqzBKTd9EJKtwX7tttB2veLmrltsepTd6FBi3zfI2SW8fORe6WZsod3bIE2UMs5OTE4EzC.EEWOs31quLnT444E7oG1t9F35MRa.K8R11UdDB5QI9sRTWxt7TWOexpKYN5CKnRmzBp748BZHPuVMu82YQf6K0jQCTdf3UTcM0cwX14NcLKX7u.qGg3A.
-
@ulrik Ok, I must have typed some stupid code in the last example but now it seems to work the way I want :)
So my first question don't need to be answered, but if there is a way I really would appreciate to know how to do it.
I solved it in an other way, I have macro controlled knobs all the time and instead I attach/remove modulators to the MacroModulationSource module at the chains connected to those knobs like this
HiseSnippet 2351.3oc6a8taabbD+NIcNhm+SbZBRKBRAtRjOPBKSSRIqjXCEQ8WC0HYwHxXm.AWik2sjbguaWl6NJa0BCz2f947s9Zzu0Gg9HzGA+FzN6t2eVJejhRQhlVvDPBb2c1c9MyNyryr2w59LabP.yWSOWyi6g0zugQiiogc2nKhP01YSM8aZrGx1mY0DGDtj15G2CEDfczz0m8QbRzyMml3yaVccjKhZiS6RS6ILhMdWhGILs2509dhq61HGbShmB0KUaGaFcClKqO.mYMJq0CY+BTG7iQbxlwPS+Za4PBY9MBQg3.M84Vm4bbitrWRkz+DR.okKl2nhVCXgjcuMy0giXduZazk35TOVrCzzz+n5oJgYkJgOyXOhCIo+TkwsECXkNCU8g9LCBuYG.dUTgWYE3kAjzUfzbRH8IFMr8I8BSGgimqarCMD62FApcUnHoUal4l2XCFPAMrjG5E3s8gFIynvRkKufUkkJW7gllaQ6Pn3RA3PAQXpiXaOnvg446y7+xufk360Qz7OiOGX6JHz5Hjukf18XN8cQgDFsArEZiqXshkvXpTGbnPHEsJjWZPkRtUD84SWzG4xZgbARBfE4vjUIZNL+B42c68qDQV9hKXli+YHzUcLoawwgt8d53PU8Tpd1.ZpFXWrcH1Y2VtBQKd6gqhXd8XTnQg7wTUAHiyGqg94zmeEIDt28xI06eOk0JvZi0ysx3+wjPcAyCq18o1hcLFkuLU3b2m4VvNl0K.BoaebQy+lYt6cu0bbrNF1asr6GDx7rbYcH1Vcw93RkJY9Z.UYCewZmuH2ZLhCafbcaAgCJLHi4FLYCspWhPq5nfVUEnIz5x8Bvw92tNOdoFsdOPXIVPzwcqrf0R.TFt.krlCSnNISyVmGSU0yDzt+XAspmFzFTmKU5gVItiI3L24PqqB4Err4GEHDEWlMx0xyi6Emc3uGZli6w6IChkDkXMW2DjETH+C1Ku0crJHV36tXQPDxYliz1RxQqUVwpbQyb.CyoF53PI8K8LthoP9P7qB4gmeLn43QQyAqQt1f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lzkJs+et027sRS7C57K82Wz4O49ytKKM4wMW79hwKcTYx58kt.sgNWVNe43evkXp2kvLAkPhko24UzCzJoPryjuwOFfaJKmN0DbG5QX+PUq0jaFBX2iE2Ul5xIs7GzrmTaSbaTe2vmbxKY5ByNKi5StgrZsm1EiciTK0uTUKYK5WJh34tJ0YuZWk5Ar9gPT28Pg9D98X.1mxmi.vcJE6xu2V8Y3lvx1k4sE6cXpinw+C9DMXEda8nAqDOXFVZ+diLe1EBg8KLF1Cp8pPMv23xpF34FOSfQCuI2UOMQg6EfC9ENdO+N6STUWtHuwJWnawUtzvY0I.NO0WdlnnbeYzsFwiz7DjOAQSeWMhbiTpS8A6MFXO8jUNAwmnBFS7NkY4Bo7BoaPw1xmERwQcqhOPsN4I94tw6YKNkG9HFmK8dBNu+6I3b42Sv4W+dBN+l2U3bBmD4sj5hqaz.BhIdsLDpgOWz1hW7u0ivP3Mj3wSNQSZbe6Pf8M8QzfdrfAV3FXORSFkq0S6DhmyqM9.dVICVvHxOygdypaCBYlyoAJruuH8l07X8oCbuHe3A5L07rSGHSgbwXrAwqmKdK3HcWVOYgP+NinKAHt2Ask2iQY85xnjAtGsCvfOXmNCdECYJPqEFhreg5Usc.1EiTMZ+pZ6BFaHePOgOm5hJm4W43L2u9CFR3Zwc.sd+8Yde091DxJI3aDYZ+nX1eqnNr38LpvyZZahcQCnnd5IeCWxH.tLs3576h5jp4YunLamarsE3hzzs8JOLCnlm1AoXqe5Fj21nN5c0l8jHErqJ7vims7ysk2IO2cddQOftkJ9M+XZD+aOI90q7ZFKuXo6q4AYv7baadHz6BKmtc705677dHeXtghyckudYo+DYTFS96KJp4ykrK9spziG7yvnboxZx2oLiJvWcYuLt2tjNci6ljT7OeI8wHGF083nL0FTbxYD8ymIVZh3wEfvTYHBS0KMgYFiQIEW8IlmD8Z8CYdxHLPG02RduO5IOkT8Y09+znLOi.
-
@ulrik said in 2 Macro questions:
@ulrik Ok, I must have typed some stupid code in the last example but now it seems to work the way I want :)
So my first question don't need to be answered, but if there is a way I really would appreciate to know how to do it.
I solved it in an other way, I have macro controlled knobs all the time and instead I attach/remove modulators to the MacroModulationSource module at the chains connected to those knobs like this
HiseSnippet 2351.3oc6a8taabbD+NIcNhm+SbZBRKBRAtRjOPBKSSRIqjXCEQ8WC0HYwHxXm.AWik2sjbguaWl6NJa0BCz2f947s9Zzu0Gg9HzGA+FzN6t2eVJejhRQhlVvDPBb2c1c9MyNyryr2w59LabP.yWSOWyi6g0zugQiiogc2nKhP01YSM8aZrGx1mY0DGDtj15G2CEDfczz0m8QbRzyMml3yaVccjKhZiS6RS6ILhMdWhGILs2509dhq61HGbShmB0KUaGaFcClKqO.mYMJq0CY+BTG7iQbxlwPS+Za4PBY9MBQg3.M84Vm4bbitrWRkz+DR.okKl2nhVCXgjcuMy0giXduZazk35TOVrCzzz+n5oJgYkJgOyXOhCIo+TkwsECXkNCU8g9LCBuYG.dUTgWYE3kAjzUfzbRH8IFMr8I8BSGgimqarCMD62FApcUnHoUal4l2XCFPAMrjG5E3s8gFIynvRkKufUkkJW7gllaQ6Pn3RA3PAQXpiXaOnvg446y7+xufk360Qz7OiOGX6JHz5Hjukf18XN8cQgDFsArEZiqXshkvXpTGbnPHEsJjWZPkRtUD84SWzG4xZgbARBfE4vjUIZNL+B42c68qDQV9hKXli+YHzUcLoawwgt8d53PU8Tpd1.ZpFXWrcH1Y2VtBQKd6gqhXd8XTnQg7wTUAHiyGqg94zmeEIDt28xI06eOk0JvZi0ysx3+wjPcAyCq18o1hcLFkuLU3b2m4VvNl0K.BoaebQy+lYt6cu0bbrNF1asr6GDx7rbYcH1Vcw93RkJY9Z.UYCewZmuH2ZLhCafbcaAgCJLHi4FLYCspWhPq5nfVUEnIz5x8Bvw92tNOdoFsdOPXIVPzwcqrf0R.TFt.krlCSnNISyVmGSU0yDzt+XAspmFzFTmKU5gVItiI3L24PqqB4Err4GEHDEWlMx0xyi6Emc3uGZli6w6IChkDkXMW2DjETH+C1Ku0crJHV36tXQP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ulrik, A Quick Question,
How to Place both Destinations On Same Macro.Here you used Macro 1 & Macro 2, and CMB Box 1 & 2 attached To Those Macros.
I Just Need to Add both Destination On Macro 1,
Any Tips?
Thanks Legend -
@Natan said in 2 Macro questions:
@ulrik said in 2 Macro questions:
@ulrik Ok, I must have typed some stupid code in the last example but now it seems to work the way I want :)
So my first question don't need to be answered, but if there is a way I really would appreciate to know how to do it.
I solved it in an other way, I have macro controlled knobs all the time and instead I attach/remove modulators to the MacroModulationSource module at the chains connected to those knobs like this
HiseSnippet 2351.3oc6a8taabbD+NIcNhm+SbZBRKBRAtRjOPBKSSRIqjXCEQ8WC0HYwHxXm.AWik2sjbguaWl6NJa0BCz2f947s9Zzu0Gg9HzGA+FzN6t2eVJejhRQhlVvDPBb2c1c9MyNyryr2w59LabP.yWSOWyi6g0zugQiiogc2nKhP01YSM8aZrGx1mY0DGDtj15G2CEDfczz0m8QbRzyMml3yaVccjKhZiS6RS6ILhMdWhGILs2509dhq61HGbShmB0KUaGaFcClKqO.mYMJq0CY+BTG7iQbxlwPS+Za4PBY9MBQg3.M84Vm4bbitrWRkz+DR.okKl2nhVCXgjcuMy0giXduZazk35TOVrCzzz+n5oJgYkJgOyXOhCIo+TkwsECXkNCU8g9LCBuYG.dUTgWYE3kAjzUfzbRH8IFMr8I8BSGgimqarCMD62FApcUnHoUal4l2XCFPAMrjG5E3s8gFIynvRkKufUkkJW7gllaQ6Pn3RA3PAQXpiXaOnvg446y7+xufk360Qz7OiOGX6JHz5Hjukf18XN8cQgDFsArEZiqXshkvXpTGbnPHEsJjWZPkRtUD84SWzG4xZgbARBfE4vjUIZNL+B42c68qDQV9hKXli+YHzUcLoawwgt8d53PU8Tpd1.ZpFXWrcH1Y2VtBQKd6gqhXd8XTnQg7wTUAHiyGqg94zmeEIDt28xI06eOk0JvZi0ysx3+wjPcAyCq18o1hcLFkuLU3b2m4VvNl0K.BoaebQy+lYt6cu0bbrNF1asr6GDx7rbYcH1Vcw93RkJY9Z.UYCewZm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90q7ZFKuXo6q4AYv7baadHz6BKmtc705677dHeXtghyckudYo+DYTFS96KJp4ykrK9spziG7yvnboxZx2oLiJvWcYuLt2tjNci6ljT7OeI8wHGF083nL0FTbxYD8ymIVZh3wEfvTYHBS0KMgYFiQIEW8IlmD8Z8CYdxHLPG02RduO5IOkT8Y09+znLOi.
Ulrik, A Quick Question,
How to Place both Destinations On Same Macro.Here you used Macro 1 & Macro 2, and CMB Box 1 & 2 attached To Those Macros.
I Just Need to Add both Destination On Macro 1,
Any Tips?
Thanks LegendDo you mean having 2 modulators on the same macro slot?
If so, no problems, just place them in the same chain -
@ulrik I Tried for a Few hours with the script, Can't Make it work as independently.
This not scripted to that.Do you have a few minutes to take a look, and Do the changes :folded_hands:
-
@ulrik
It wont help Here :|
It puts both Modulators in the same Chain, but, Combobox wont work as expected// Selectors CB =========================================== inline function onSelector1Control(component, value) { setMod(value-1, 4); // ?? This }; Content.getComponent("Selector1").setControlCallback(onSelector1Control); inline function onSelector2Control(component, value) { setMod(value-1, 5); // ?? This }; Content.getComponent("Selector2").setControlCallback(onSelector2Control);
-
@Natan what are you trying to do?
-
@ulrik I Want to assign 2 Destinations Per Macros.
And I Want to Use both 2 Combo boxes on Same Macro chain.
Macro 1 = 2 Lfo.
-
@Natan sorry but I don't understand