Global Mod LFO in ScriptNode
-
Here the clock ramp is controlling a table.
Tempo sync is used for retriggering a tempo synced table.
Input toggle is used for switching between, clocksync and temposynced or free running, retriggerable table. -
@lalalandsynth Thank you this is super helpful! Forgive me if I'm being stupid but I'm confused as to where I should send the clock ramp's modulation (it's target). In my example I mean
-
@DanH You mean to sync an LFO, good question ! :)
I just used a Global MOD LFO with a global mod Node into scriptnode as I could not figure out how to sync an lfo/Osc.Maybe the clockramp cannot be used for the LFO, in which case I wonder how the osc can be clocksynced ?
-
@DanH Here is how I ended up doing a clocksynced lfo controlling a filter in scriptnode.
-
@lalalandsynth are you on OSX?
-
@DanH no
-
@lalalandsynth have you tested the global modulator in scriptnode on an exported plugin yet? Because it doesn’t seem to keep the right time on windows. Which is why I’m trying to make an lfo in scriptnode
-
You can just waveshape the clock ramp into any LFO waveform you want, no?
-
@Christoph-Hart how do I do that? And is there zero chance of this global mod bug being fixed?
-
@DanH good point, no i havent.
-
Took a look at this and I could in fact reproduce the issue with our most beloved DAW (who shall not be named).
Turns out that if you throw random buffer sizes at it, the global modulator containers still got the full buffer size for each call which explains why it's calculating the LFO faster than it should be.
It should be fixed now.
Now for the other question: in order to transform the ramp to any shape, just use the
expr
node with a formula for each shaper.HiseSnippet 1968.3oc4Y0saaajEdnrF4XU21Tz.r2r.kW5rIUfT1VwtEXsisi2UXicDpbC5cFiHGYQHRNrjCis1hdeeA5E8hhceM5c8EnuK8MX2yLCk3PIJEI07yEUAHVyumu4b9NeyOpSLygljvhQFac0nHJxXab2Qg7AmNf3EhZeFx3ivWPR3zXSUUmLJhjjPcQFFa7ODUXrUUj7yuezIDeRnCMuJD5kLOG5y8B7340143+kmu+4DW5UdAZ8duia6vBOk4yRA7rA1BEQbFRtgdIQzsJXjQsm45wYwc4DNMA5yIL2QcGvtMT0+W5k30ymJJXi5BSjpZzoC77c6LdslfPFU6jux2Psxe.9BOWuI0m6AturAy7Qn6CLprHHYuBPxPCRUUP5Svcch8h34sHvyGfaGBAj9DvUq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mrFi4fENFwOPel1qfLCUz4YRxkgwyBI87UmOC8+AI5p9E
BTW, If you compile this network, it will create a modulation output so you can reuse it on a higher level.
-
@Christoph-Hart Oh NICE ! Look at that switcher !
Can I somehow add that to a project without using the softbypass template?
Or is the softbypass module needed to use this for routing ?What if I want to use this switcher to route stuff that is not in that container ?
-
@lalalandsynth If you want to use the switcher for bypassing something, you need to add a soft_bypass container and connect it to its power button.
But you could also connect it to any
math.mul
node in order to silence all signals except for one.And they don't have to be in this container.
-
@Christoph-Hart I see for a moment I thought it was a multiplex style router.
-
@Christoph-Hart amazing! testing new build now
-
@Christoph-Hart seems solid!! Thanks so much for fixing this, massively appreciated