Effects and Global Modulators
-
I added a global modulator (an LFO for my filter freq) but it seems not to work in my FX when compiled...is there some secret I should know or do Global Modulators NOT work in FX plugins?
-
Did you enable the FX Generators on Preferences?
-
@Natan oh no I didnt - I will give that a go - thanks.
-
@Lindon
Good luck mate
-
@Lindon I had issues with the compiled fx plugin on Windows. The Global Mod in scriptnode went randomly out of time with compared to it outside scriptnode. Interested if you get the same. Had to shelve my plans for the plugin.
-
@DanH ok will report back.
-
@Lindon I would have linked my thread on it from a few months back but its disappeared!
-
@Lindon found it!
https://forum.hise.audio/topic/5298/global-time-variant-modulator-scriptnode/10
Maybe it needs to be in a certain container or something
-
@DanH I didn't try it but Christoph added a
core.clock_ramp
node recently. Maybe it would be the solution here. -
@Matt_SF Any idea how to use a clock ramp to drive an lfo ?
-
@lalalandsynth Ifor this I don't use the
clock.ramp
but thetempo_sync
node :HiseSnippet 1776.3oc2Y0raaaDDdokVkJGmfjlfhbT.oGb.RMrbRSKPOD4+TpQibTsbbyM2MjqrVHxcYIWYakhBTf1C4VOmSsuF8Vd.RABPdB5aP5SP6LjThjRzxRxVt.wAHP6r+8MyNeyLb25dJStuuxiXTb2ttbhwBzFck5Vq2hIjjs1fXbUZMlul6UJTzZccY99bKhgQtGgBLJlmD726e3ZLalzjGKhP1SIL4OV3HzwRqW4aD11UYV7cENIF88qrkoRttxV0AvSN5xDWlYa1A7sY3vliRLJrokPq7ZnYZtOwH+ZJqtMZoNRFN98D9hmaywFkIMfEJTbUksEhX72j0aIrsp2Su8IDCZ8XqPtPqvMo0DVh9xisFWKniRwyHo8vXtzvKWJ3U9jfWFPxHAjxGBoqSaX5Ib0w8f34xzsjvgSSFX1SBkvwRLdMccEL.odIGVadUOnQ+Ir3CVd46VB9u67UM6HM0BkrjRtsRyehbw6L+ONew4+o4KMXWMalYe313ors4dY1MdR6MpItnriyy4d2szgL6N79CDT+z1zBimM0LTqSLPkbKoP+DWdT6XmhxYbBPhLavud5VavzL7PIRFLNWtmVfvwXC9gfGd3QTQ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l+zJRZVGGKciDJIk5eXyz53UnME13HWB657Jxb0v0L9miVGf0ahBDmQzvW9tJikWQkew4uNkngPYKihHV4d26cCF.70u4M2d71exs+m2Fr+4ne6DG7YkWOdE9N4A.lkwd99arw6hL4MbTJcK36cSs+U96W7qSSb2YQt2BW3EYm1yOWRrDB5fZgO+K3dnolrD0QUwZhOcLUEqCT8NYPMYd7FyMGesYh9ltgVtyp1z6CDICefD3Ec9mqZnodVUgXmNxZJUaGVvM+blum1qF1IvlERdvifDbSMeRP6ReG6PdoGwkbOrV+xi3cPd639NHti86f7DSMr865wj9tJ+z1btiXWkD0wXgO0miYABqBMg70ULuL658OrJnjYNmFLcGufD88tIrDNi4lpaTM8cdmX7Yb8p4mUONyE5Eme1um+biGbOkKntXOL1PfE1ro7PtMPRBv3GCrhlrN15dRS6jWSIU8tizXOfc3ZOwAGvSmYHKEZUslY1NVxMqrC2lyR5M+oUdL3Ex7BBDMc1hI+c0x775VzP3VBYlk9v38Yx8Az6yLAP4h3kHtH1CGlomZ+nq8C8k+n.IfdKCdd7hzZX6RkIGFlvkhOKAwAhHtuoIZt+Lv9j8bVYJly8lh4b+oXNe9TLmGLEy4Klh47kibNXxnn6eBohff5aF9ggF8JfA75I+GUvfoo
I don't know, the clock.ramp seems to do nothing...?
-
Any idea how to use a clock ramp to drive an lfo ?
Set
AddToSignal
to true, then use a wave shaper function to transform the ramp into the waveform you want.A sine wave would be something like
output = Math.sin(Math.PI * 2.0 * input)
-
@Matt_SF you need this in the scriptnode oninit to run the clock ramp
// Create a transport handler const var transportHandler = Engine.createTransportHandler(); transportHandler.setEnableGrid(true, 8); transportHandler.setSyncMode(transportHandler.PreferExternal); transportHandler.startInternalClock(0); // The grid callback needs to be enabled for the LFO // to sync itself to the clock. // The clock will now prefer the external clock source. This // means that as long as the external clock isn't running // (the DAW playback is stopped) it will use the internal clock // and as soon as the DAW playback is started it will resync // itself to match the DAW position // Start the internal clock. This will cause the LFO to run // even if the DAW playback is stopped. (if you omit this line // the LFO will not move unless the DAW playback is started).
-
@lalalandsynth @Christoph-Hart ah, got it. Thank you both!
-
@Christoph-Hart Excellent , that works ! Any suggestions on how to switch between waveforms ?
-
use the templates with the soft_bypass setups.