Animation not working in exported plugin
-
Bump Bump Bump
-
@SteveRiggs I found out that it works if you read the level of the gain modulation instead of the modulator itself:
HiseSnippet 1541.3oc2X8zbSbCEWqs2BwTSAJSGt0cX3fYfZrS3OkoSG1DmXFOj+3IqSnc5APYWYa0rVZqVYCAFlgC8d6Wi9sfO.bnm6o168P+Fz9j10q203lXbCTf8fG+9mzO8zSu2Spkf6RBC4BjwBsOHffL9XSmCXxd06goLTyUQFWxrMITZ0fKrVwe.wZcJC9owVVN9TOhvZYFsOZkCBvggDOjgQ96przXgBH82ecmUv9XlKYLKDZWN0krNsOUNlaK66Q88af8Hso8So80sa5xY0497A.JyaVEEfc2G2krIVoVNSjwGslGUxENRrjDhLJrB26.md7GwhzeWZHcOehhnFxAFnH1M39dJDq3hp2i560Zj2HDgLLaM12jOx2bdyMndzD9i8QmQKvZrEo8GF4NL3U6ngW0oAOiTvqPD7NqoiqfFHGKQgsSY1jIIhNXXKHMrhzEk6yyYVmCZvjU5i2mzP.DIVT9lUqdUqaTs5k+pREKU7ZWC1822ZahmdaGVOdQwCwwBRt0tbeczwFbuREgMNHzYHVXoBJ.VC7wRJmY80V5nrJcIxXtbQ4KpTxZrVWLZRGOH2iw2qFX6H7BVWm2Ofy.hxWTKM1lzVIAKVi0EfYEWAAvrJ9Rr0deOwUVdj5xJgDoVPcru+dPDV4NCXtJXT9xkJ9zREsfO0vMDFtrqFMNFHD.JVmLj3qGTk5ZDoF3cwvImxCU7el5GX1jXQz7UdIsyczrYwYaxkjsfos3SKtPwmUzZRQc5LUYJuhf66CC4zDGMYGhgkYC5uGQbUXUBnMQQH7Ja7q4rE+5FsIkRQNqIiJ2Jfv92Nzgh2Yg36bwnBTUpitOcbzcTnFhBAwmvT6gQZ.Gmw34+R8e6NnDiKDYboXiaiUHUY6IM0+Oqw5OOrDiLHl2ZwJY+Ft0p6zp1sSQ6Dt2xWQ82aWWS+Xw10SSuYyAjzzvOctRmZ6zqVDMBsSyUUSGbfLdoCti.hPRUdZiUICgD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xK
But for some reason, it doesn't work with the modulator itself...
Maybe @Christoph-Hart can enlight us on that
I'm pushing on my bug list... ;) -
@ustk Awwwesome!!! Thanks man! That has been driving me mental for months!! It was my third workaround as well after 2 other methods were failed attempts, so I was starting to think it wouldn't work at all. Seems it does though. Thank you mate. You definitely deserve a pint :) :beer_mug:
-
@ustk Ah, I celebrated way too early there :( It works great on the cut-down snippet, but in the main project, I have more than one Gain Modulation. How do I tell the code to point it to the right one for my "VolumeDuckingMain" module? , as they can't be re-named
-
@SteveRiggs Ok I found a solution, but let's grab the pint before!
-
@ustk Haha. I'll get you 2 pints if you can fix it! :beer_mug: :beer_mug:
-
@SteveRiggs You can gather the modulations with
.getModulatorChain(0);
:const var SimpleGain1 = Synth.getEffect("SimpleGain1"); const var SimpleGain1GainMod = SimpleGain1.getModulatorChain(0); const var Knob1 = Content.getComponent("Knob1"); const var t = Engine.createTimerObject(); t.setTimerCallback(function() { var v = SimpleGain1GainMod.getCurrentLevel(); Knob1.setValue(v); }); t.startTimer(30);
-
@ustk Ahhh! That makes sense! I never would have found that though! Thanks dude. Huge help! I'll try and export now and hopefully, it works. I owe you 2 pints! :beer_mug: :beer_mug:
-
@SteveRiggs Slurpp!
-
@ustk Haha
The first export has worked perfect mate! Thanks. Gonna try the main project now. I'm pretty sure thats got it though now