addConnection GlobalModulators (solved)
-
When adding modulators dynamical, for Global Modulators it would be nice to have the function
setConnection("Global Modulator Container:LFO Global");
activated, just as
setIntensity() or setBypassed()
I compared 2 xml files from the same project, one with the connection set and one without the connection and found this:
@Christoph-Hart Would it be possible?
-
@ulrik I found the function
connectToGlobalModulator()
in GlobalModulators.cpp & .h
is it this function? -
@ulrik or is it possible to, via script, edit the module xml?
-
@ulrik Got a snippet?
-
HiseSnippet 1793.3oc6Z07baTCEe23nRr6WIkV9ZFlYwCGbFJIwogBLYB0MehGxGt0oovjoSGkcks0DsRlckSafIyzqbh+E3OE3+.twU3Jm3FGKOsZsWsNNtlzjRZo9faz6Coeumd58dRtUBDtjvPQfkc1M2uIwx9Bnp6ykMVnAlxsJunk8UPqI7ZwvRQfyBMDgj.q42uINLj3YYamYEkb1YG1J5yecq4wLL2kjPxxZKA0krJ0mJSnVozWQYrkwdjMo9FROSoxtB9BBlnEfoLnorZhc2EWmrNVI1PHK6ysjGE.SUIVRBsrGddg29UaHdDWK+VzP5NLhZPQqpvDoIurf4oPrhp0BMnLuJss8PKXRqj3Ixn8DWEsF0i1gdhGYzHFNIZX5OrGJM7xjBdEMg2TFvqGPx1.RCqgzXnptAzlxDNJ7bdTYtjDTCCtcSnnk0ZnKOLZAAHAWNgOdWxxAvfNZT3lSM00cfuFe1bfmOT5rGNvYYJC3WzYNmnngIpSjKUqFwUVHeLq7ojeElXGLqSfhZ4.uUWyPjIFMpPdsBNFgVcTIYlWc4MhkatidETybBY0lTghvLDPp21JVNf7sfDylK2jSpVwU2gEu.5Avr21+nPovuofCCJjWyVgmbTNCVMmZs3tRpf6H3.S8wAktABVA21JdcvkvZQFO22mKKS3Bv2W3EBqx14WGDH+0cxCVl5eTwQwpyHAJJUnR2F2uAgvTizFs5DxV3.JlmXn4e..przZNEngKRpAXyqPZyc7wykE.PjLo4nrxxdEF24ClKBYaGA2G.xGoPV8FV.wWrGoyB18rOqRxzz.KrE2SCFE6C.Ixk8fbY0.U6TTj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3q2amYyXuY2t3bSbvFtgNb2Ci4d1C1dNe7.Q7v3oSAHdrEolehJRMyw6zWvZ1.k6p5qgyoaS0Ibn0Hxs6G2BpNDx.jHkLA1gq+b3YQ63Uvwli3LYjYvSfOYLqgi8yXVa.yin.4gdxlyAq17hfyhmqYVUCbZedFxKD0.+4254ubNgO2osS3ylGhK6UReMRSk3fdcURdn8ABLfnDI60BFyYNOuQ6Zv6G9u+k52wcaGb4NGxVt9c5SE4d5ue+K7OtQVWH+buLvSof6BSXnxaRJT55j3pUOCM3kkWbr2hDQ8XE3oh8OKksK0.NTf8ga+aE1Pz1UEzhEjFVxLuFhme0wcUk+jSOnyL2xjeTGCRCN0jZ52Pxh+MsLc5A2mibmeYA12vB1Whf2KvzFgAmuAYv8DBtEChNwUwy4KSuSnFfvtITYZOUJqlqkGg2pt7Vmo6KKJtkTAovk2lvxyQtyVe.wUcI1jJKXLXbAKsM24Y19wqauOVKFrZh1IMDVrlrItWOquHkce74wp4pXN4UcI+IzjnQuP3Iy6LblesGqYeiBmmzhG2Sv1.JPHT.E6Oo55r1z9B8.pEOZssRprsV3toeWFbohNcXEhkNxEzMzZZ3Ccenf6xDLZpyws2s9VPQGZRwFMNopGOt8q2lXga.lOH3Eidi++za+NwmPgTlmd1oeKBjFe0.y1cv+62ued7DCunLGwzvD0WEZ+w9vjRm0PA7sRy+MIkHaiiCpM3W3iPVY4U7hgRaeUXHdt4OB6AGsNqNE57dSgNWdJz48mBctxTnyGLE57giUGrqhazWqhsmw.BM2vdUJ+gOzs+7d+DXEhmiJ
-
@d-healey Haha...you're fantastic, beautiful done!
Now I have to study it and try to understand. :)