Global modulators on FX plugins - how?
-
Alright, please pull, recompile and try now with this snippet:
HiseSnippet 1025.3oc6X80aiTCD2No9TSAN3fSH.AR6i8DkpDtR4eOPnoMmhn+IkzqfDObxcWmFq50dwq2BQHdm23qDeDPhuH7M.FudytaZhRSCgqkSrOrJy3Yr+4Y9Mi8ltZkOKNVoQ3ZmLLhgvuLo2PoYPqATtD0YWD99jCnwFl1yoZmgQz3XV.Biq9DqBbsUPoO+4WrCUPk9rBUHzoJtOaedH2Tn0q4WwEh1z.1I7vRVuUyN9JYKkPk.3oJoNJh5eA8b1gTqYUHH781KfaT5dFpgEC1riJXXuApeP5r+TdL+LAyJz.0ClHmZTqAbQP2Q60XDBS5Vryq514Ojb.OfmquHB7ZoC3U3Q4X.txrfTia.jvkfzJNH8.ROeMOxTLhEOuDoiDRH8oPntLTb1hv+FokBLPZ1LjdAqsFDxcX8sqWeCO30i979IReCWI8TxCUF1Qx0ezZ+zZ0V6mWy6pC0u+TGytLZkPvzScXa1UOKGWWlDdFSug2kTQBK2PX6OdL8dyWL02sqKYnR1QxMGEwxjaqDA1Xk82SlAPYgM3WOsytTC0lTxzA1EwzFtEN3cYWBrZWJpFYWV7EFUDBMY9CXNpfDA0LNcxV2jM.DOFKGZSTxXtYX45pa.Gq97ywV0gw2k7Dg5LpvlsNkp4ToIGzo30Ky.OqEdYl3kaSiqG+OMlcBMEfVCtDhiNiSUlFnsE2PjVxRYHH7FiVy7kwylHf3FS23y1u8QkW+kVI37lAe.oK23OX5ovJSIDfPKsTHZxFWuBYu98gHWA.Wgz9aWztT2.FT1QFuNoqRLLZfRx8ayEPmlTPTi3DZLiyLPn1Z12mvj9EQqe4OZdbY1CDlKcHwa073Dp3JQ2c3QJAU+OMxeMMnWYNoGuIIeS48+k4+WtL2RVucRgyKFeaRF22yx4tai06SN91GfYkCuSFyq.li3coP88lEwbF8y98k+cfwU+2n+0yq67tbXNuwDoi3aq1oupClDBzcJKRck9TWKvxpXsiO4oenUaZYEcJHUM+0leC8RVekNL6Jm4yz9ryg0rrlSXgQJ3K37KS.6EpTlAb44iy0dXy8Upn8j11yAkmjtCnw1K8GyLkmlVIwFU3Hrj1LumgE45r+cjs2ZS3o+6ae+osfWO9nki7R7H7JyMgylTyyd1z6cvFpNTN1kMtChxYda4puPeaYzWqRLPc2ATil+iPWiCSB6Ac18YvpCWCR.SNAWwVa4jqakSKYYxfTg+BdxFrgUFmMXiQC9bYMBo9Z0y7ce1tsPZ0TMv9Vl9eyTibfU1qAJ8S4s8GquYcTHbFxy78sg3O.9h6o6yGt.973EvmsV.e9nEvmsW.e93EvmOYl9XO99KSf90tRNPQ28bcpw4c7wUQ+MjVBgwO
-
@christoph-hart I just tried it and it works perfectly in HISE (thank you!) but not on a compiled plugin.
-
bump bump
-
@Christoph-Hart - in case you missed it among new posts
-
@tomekslesicki Should work now.
-
@Christoph-Hart hey Christoph, so I just had a chance to test it and still, it works great in HISE but doesn't on exported plugins. Could you please take another look at this? I'm on the latest Develop build.
-
@tomekslesicki works for me in compiled fx plugins, but the lfo speed on Windows has a bug I think
-
@DanH ok, my bad, I didn't have it enabled in the preferences, lol
There's one bug, though - when oversampling is implemented with this call:
if(value) Engine.setMinimumSampleRate(100000); else Engine.setMinimumSampleRate(40000);
The LFO rate changes when not synced to host tempo @Christoph-Hart
-
@Christoph-Hart and just one more thing on the topic - the frequency isn't changed it HISE, it only happens in compiled plugins.
-
@tomekslesicki I get some strange stuff happening with oversampling this way. I have to use a script to toggle is on/off to get it working
-
@dustbro I have this in a button callback. Do you have a better way you could share? :-)
-
@dustbro ?
-
@tomekslesicki I found that oversampling using the setMunimumSampleRate method needs to be "kickstarted" to work, so this is my workaround. I see a visual change in FFT display and EQ when OS is enabled, so that will probably affect other modules as well (like LFO)
This function just flip flops the OS stateconst var osflipTimer = Engine.createTimerObject(); osflipTimer.startTimer(250); osflipTimer.setTimerCallback(function() { Engine.setMinimumSampleRate(96000); Engine.setMinimumSampleRate(44100); OSinitial(); }); inline function OSinitial() { local oscombo = OversamplingCombo.getValue() -1; OversamplingCombo.setValue((1-oscombo)+1); counter = counter + 1; if(counter>=2) { osflipTimer.stopTimer(); } OversamplingCombo.changed(); };
-