Global Modulator within Containers
-
it's possible to add a Global Modulator within a Container? Only seems to work at root level
-
@hisefilo Yes of course. Do you have an example?
-
HiseSnippet 1409.3oc6Y07SbaDE2dgIIrsaZSapZUaTkUjpzhHAsdgEHJpBHKeDDAXCFP4Vxf8rvn3cFG6YorMJR8+fdr25wJ0i8Pkp5odqW6sdpR8P+CH+Gz9lw1qsCFX2DHIEgErxuOl0u48wu2a71vmaSBB39Z5CsQGOhl96hr5vD6VeWLkoszb.eDYebKOWh1c53gCBHNZ55CrnTr9PCpoo8M+v28WSeGrKlYShXot1hSsI2i1hJR31XlkottKfcHaPakR6wmYIaNqN2k2FLkAPUz7v1OFuCYUrTsBHM8KLuCUv8sDXAIPSev6vc5XsK+qXg5uEMftMXj.golE7EExdAtqizhk2qUeWpqSi3sbfllNpQhCXfPGvUQqPcnc4m3Hdek.ijUj1enW3nLOyi27Lyy7zSYdCFZdWAYY6S8DIRj11Ui3lXclSkw9BEqo+qnlsY1BJmYvYqxEj0XkGt3SMBuJUT94JvW.35GMfH1h3xsohNkMqN4v2t3yJ9hqtYS4xKNTVQ04LgO20k3mmTYn2+HVVYV6VaS7ugwdX21jX8.OPVWbwdyEC4UBBSjRQNaIFUrlGIJ0I1QDywTq6lKsRIapzbUalbTKg0AiqZ0CsI3tMWZNr.KC0Q7.87H9BpbGpOGYOnFJLvODZNRviEbOnJ5.YEPtI2osKVjMgUVkFI.7vYRHVR9zBfPaRQ3ymtOxhqzyYw8p4dETCpvd27s2B4XufW6z1divDJgluYShsHwXGDsvCN8A.RaJW5PvmeOjz036ggjFravggRaL1O9O8JJsWOgRWD0rYMbylSNAX9mFfyW3M.37IeZ84UgucVE9xYJWNzTdGjEkQTUhJCAgLCDGVo2i9yu82egRu+99+x2O8qVoWkpUf+0VyVf2irgOlE3wCxTZaQZQ2fyj9gDlaFPVvm7j0kw1z7qyw94J54Su.rUycMVXQaeURxrs3sYhLIEupPB4NPzfmVPBCzaIJuJyn8AGXFs7lPqv8zQPjNP.S+3aHhiqKy3aa7kFQCILJ1wQxo706F3u9MLp.+M7sKULyhjSwsNlsCo7MGepaXH+2TpToh4LHXohOsTwgRM+mTvppowJGycmLbG1XjrFoT9Vx41JOb3i4YkNCNzn4AFZrxqugFCmUDTGTUnR3tbTpkkK0g3qQcjHTIXBJWRRw40l4kZrSots7.7DYg9E6oG79.xnt7Q1I9l.Awyh90jz3Ks5hTBW282Zg2OE4LuUzmsOlZQ+fyr8YnEc4aicU.9vSyWz09Ul9mGI2PofgRCiDUN1MBfouAVYoRE1ChigJqXpBz5eAp53il8Zu0fOZNh71aUWQKSwXDUgU3Yt6cPRyiDj7DY3iA5ogONY.xuXba9kIcBQ5T12mfjk3gHMIAnZ25HMyGs4l+7zfxYx4kslREdHnIqFFUZXNo8Dggi0Wa1EGYzkqZEQWaowt6HiNeiEinmft78RKeGpy5ivFs1ChnCCu22oYDsFrYRdlE9oBnZlpmZpjfwV6b5y.zS9jEls1Yt82oCfza5SWrNusfx1YErvmJaXB3MVvT91DvR.3X3H8PuyBxA.BoqD2K0hvbTD+KbEIzTRqGIzLVXNuGgOMpmSBJLLH.ryiP5tVbKotxMRT3PNmCb8GmruhAo26nOHg4aaGj305g0+vCDkBdSM1Sgiu64Gma2ywOdK9XZd1ay1bdyuyoOu42KhtDUpVDE+K8npT+ntjI0oU6mygj.9mbdjDdyQroaSbyVVq8+xiabl6cc95XZjyJOiVXae9CsCeYLxlfWRwA7sL0Oa8PnUjzFlwuAFo+uEz75g11x.5MgHP9qnZeuhw56ULdeuhZ88JlnuWwj88Jl5HVgbRgYaK3sBKuAFMlObnA84YRnJUkj1+A7IEWRO
-
@hisefilo I see the problem. You have added the global modulation container below the place you want to use the modulators. You have to follow the chain from the top down.
I always put my global modulation container right at the top of the project then every module below it will have access to the modulators.
HiseSnippet 1415.3oc6Ys7aaTDFeW6LPiAWnPQf3kVUIjbTRsrchSRUEJObdTqjz3lMIp2Zmr63jQc8La2cbHlpJw+AbjabDINxAjPbhabkabBINve.8+.3a1G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qz6w+9W+quTo2e9fe5am6+VoWkZUf+U1zPfOjrsCl4ZycSTZqS5P2lyj9gHlvJOq3Pd5VxXab9M3XmTE8h4VAdUS0FcrnqiWRxBc3cYhDIE4G5HQFZIblcrjW8M4OzCL5cFXfQoMtnbqqhfHsqP6PrilHLttFium1mqELwhxXSSImR2pef+VSnUA9ar6VrPBijiTZKLaeRoaO0rSnI+upTohERYpTEK7rhEFM1vnjB7OsRoPt6mf6XZimDjR46JGhTow7eLOu3USv5zcBV9CtBTGTU3kvc8fTKcKpIbvRporCUTOAOWRTw4GO+qzLvj51wF5mHKze8g5AeT3Vd5EdiqfXqS+xDmWsS7ohbueoC9nXjyetXc1LzhJd+ffA7+QAigvqgO7zbD8wuGz+zvwT3oflmFQmrHKGrHezAKj5FdfBnWYVmG.jWvHd0X9+V.+O7DGmN8zOlA27AoN3l524Dg4i2YmeLCStgflole.pU0YLl1Oxr0lKr53kWqld.c8lSduwKubqUCnmlt15wkuO0bqwYkq+v.Z+H8CLaO8US94RF8LOckEpe0jeFpdSWFltvEkmQGrgC+QF9aJR1+9Zdb.eKy62xdTzFRZspg6DR5+6.8ZejggLfdaHBjtE0xrESlYKlJyVTOyVLclsXlLawrmfExE1Vnqf2weobfQqk8WiScYlbwGuJIk+Az32dxD
-
@d-healey that worked out!!! now I can't add an ADSR the same way! Any idea?
HiseSnippet 1597.3oc6Z8zSabDEeWallfaLooMUsp+SqhRqLhDKaCFRZTEPLFvBH33EP4VxvtiMix5Yb1crKtQQpeC5wdqGqTO1CUppmxsds25oJ0C8CP9FzNyN65cW7hwNATgDVgs12adyt+l2+l48LUsoFHGGpsh53a0sERQ8R.8tD1dk1ChIJUVhyGf1G1rkER4tcaAcbPlJppIWQLr53ionn7s+32+WyeWnEjXf7X4dsCEafVG2DyB3Vcg0vVVKCMQagaFR5YVnhAkThZQaygRRPNkVPiGCaftGTHVBfh5aU1Dyn15LHC4nnN1colc02i90Do76fcv6xAImHuhN+AIYuL0xTfXAWkR6gsLq5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iZh2hRD5g.l7iSurM5I0D11v7KQg1wNzKleY9RM14nCYssccRVrIsMgEwo3rUGVRNbNJuJ8A+c6qO3w0E7DqqB3VZGlVGnsFy2ttFgtq1Wo40H1rPSSAmLWqmg+Z2PKG+uIuS5TQljnS40fjFnL2blacCMwm7BgRmJllsmN0SSmZ7P8XWLfrYKY741HB2I0lJJHEiuin23YlT9ZdV5yaL+wai4k8imKNWTlqC2DdtV5VXSd4jXSQFpfbBtpjffyOYgWpV6KjsYKd9DQf9EFpW799G4oq+MNLTKc72DoZwlgKwb0m2DteHxENUrO6HjhJQ+mY6i85npaBe9ayl0C+tP+y763pq.ZtRDzijQoEIBA7aMBOA4n1NSty.A4FXonN8f5V+WFeSWOQZ1hmR7Zd3Q7rwFhHncf1XH4.5xuvG1R4bKtRySx+20oheq3SBUzIboaGOaNdHMv+CisA9Eu8.g4i1d6e4n5fOBLWAoUoZ94LlUZNps4hqLU10Jn6QWrxzqNU1xUWwidV7ZqGd7FXyZSQxV7AdzRy68MqO64+B.ugQO2SVdwhm+K.LTIjdSn2Lut7NZBMroOzPdjRQR6K5xgqaIt+CNMNXCAsVd+yQJz+M44ZenggvfdStEH9YTXjmwzi7LlYjmQwQdFyNxyXtQdF2Z.yPrw1hsYzlx8u4LpVVtGmZYhXyG2HIk+C+kZMHC
-
I think this might be an oversight @Christoph-Hart? Either envelopes aren't supposed to be used globally or the option to add a global envelope is missing from the
Create new processor >> Envelopes
menu. -
if i say well (not sure - Christoph will confirm) it's not possible to use envelopes as global modulator.
Instead of this i create many envelopes as i want, after that i link all AHDSR parts with the same slider (or knob) by script (and don't fill the processor ID for the slider/knob)
result: 1 Attack slider controls all attack enveloppes linked, 1 decay knob controls all decays, etc. ...; but it's invisible for the user. ;)for example i made a synth ala juno Roland: only 1 adsr enveloppes GUI but that control both VCF & VCA. i made VCF and VCA filter enveloppes, linked both, controlled by only one set of ADSR sliders on the GUI. Like the real hardware.
another case: when you want to create just an ADSR (instead of AHDSR) : you can link the Hold and decay for just 1 button slider.
-
@staiff will try that!!! Thanks. In fact I'm trying to do an oscillator bank.... The hard way
Maybe I need more scripting skills -
Yes, envelopes are not allowed in Global modulators because they have the ability to extend the lifetime of voices which leads to all kinds of weird edge cases. There's a blog entry about this subject where I explain it.