Global Time Variant Modulator + Scriptnode
-
@ulrik aha! Let me try :)
-
@ulrik hurrah! That worked, thanks!
-
-
Ok next problem
In HISE all is well - in the compiled FX Plugin not so much:
In my FX project I have a normal stock filter FX with an LFO modulating the frequency. This works perfectly.
I then have another Scriptnode filter FX which uses a Global Modulator LFO to modulate the frequency.
On my Mac both the stock LFO and the Global Modulator are perfectly in sync, tested in Logic and Ableton. :thumbs_up_light_skin_tone:
On my PC it's a different story. :thumbs_down_light_skin_tone: The Global Modulator is synced to a random time and totally out of sync with the stock LFO (which is correct). What's even more weird is that it's different in each DAW, FL Studio, Bitwig and Ableton. The rate changes depending on which DAW you're in :face_with_tears_of_joy:
Anyone else experienced this?
-
@DanH @Christoph-Hart any ideas? :folded_hands: I stuck it all in a Fix 8 container but it didn't make any difference...
-
@DanH can you make a small snippet ? A transport function could be a workaround...
-
@Matt_SF made a minimal project and tested the compiled plugin. It works. It's a much more simplifies version of what I had going on so I'll see if I can work out what was buggin it out...
-
@Matt_SF actually I take it back - it didn't work! Here's a snippet and a link to the .vst3 windows plugin file if anyone wants to see. The issue only appears in the compiled FX plugin on Windows (OSX fine).
It would seem as though the Global Modulator runs at 2 x the speed of the normal LFO in Ableton. In Bitwig it's something else, random. I do wonder if there's an issue with Global Modulators on Windows for FX Plugins.
I removed any scriptnode stuff, so it's just two filters, one with a normal LFO and the other connected to the GM LFO.
Would be grateful if anyone could look it over or confirm the issue :)
HiseSnippet 2407.3oc6Zs0aabbEdojFWKFGm6sIEs.CDJpkZbjEWcI1In0KEuHSXRtTZosrQ.pwncGRNPK2gc2gxlIv.9w9Ver+V5a4mPA5S8s9SHn+AZOydg6rRjRLJ1QxFlOPvYly4remKy4blYYKetMMHf6qkaw1iFP0xcMj0HOQuR8HLOsZk0x8YncZfqW0D2thUa753ll3xOnQiGaos8nAjf.piVtbyuij7bKtfV3me3taSbId1zzozzdHmYSqy5yDoy1x39LW2pDGZaVeEp2vnlM2qD2kODf17n0zFPrOjzk1jHIaNjVtqTw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.4kUEPEpxtzPnmv9IXILMoEbfznbleCZqMVE9z4ykeemRvWqa9xY7Kw.s4lw.sOJzSN1kI8oWBSUEgxLaItT1G5aKP8FWAp39090wsFkByjFiBg5oecdSu30+bVeqrCl42Jat4Os2Bagy4agcgKcuE1YO2wwcMAWT0QeuynN5LzTe7tW45yRIUi+lwrVR8Gt6aKo91RpuNc0Ny+F8U6nsGen7d4aPD9gumplC6aAY4sovSGNytq78blaN4dqnwqIGKs.VTOmvA+O3S7hEjiyEuXgjEUUwOIREeGjbSZ3a3NTA+DTxlV7NTnZ1IyS8Juhlos.fPaehWv.d.sfpjO1Z5pqUlJF5kk7nozO9QNpBpmBcW0HYRc0IaQ7xHLXbFI0fobst+m6FkbzhBZiiYfMnrgWtiZtxgtAz8kW3aAUFSmVWc56Q7cxlcV6UTw9q7Zaw9KvaqNSk9ESvnEq+.WZEuintbXFIF+PTYZGxPWQxrY2N0f6witHDUG8dTHKP2tzLwOSTgJJDD6CUqTuG0kBEkUeKC0gFSI9YuVjeT1hB+n+GxMQ+0mhhfazsb956aY3M7RQy7tOHE3kau3uBAoh0wgtR7Eiu7mi55+b7L5Sr84OwN5+RjbS+UCmAzauv+QvKhZHGiKj7OHBgVa00j+SaXOw1VFu9EP0mIyi94fm0OG7rw4fmMOG7r04fmu7bvysOUdjUpKNDNGVTLOLQqJQm.K23Sxkads+OgNPYIA
-
@DanH If anyone could see if they can recreate the issue I'd be hugely grateful. Vid below of what happens on windows
-
@DanH I can confirm the issue. Tested with Ableton & Reaper, the GM LFO seems about 4x faster... :face_without_mouth:
-
@Matt_SF Thanks so much, I make a bug request on GitHub asap
-
@DanH Issue reported on Github
-
@Christoph-Hart just coming back to this as I'd love to be able to use a global modulator in my FX plugin. I see the priority was set to low - is there any chance you can take a look at this in the near future please? It's been nearly six months :)
https://github.com/christophhart/HISE/issues/279
Have checked on recent commits and the issue is still there.... I have however discovered that the behaviour is different between VST2 and VST3. VST2 looks like it's ok at first but slowly the two LFO's will slip out of time with eachother.
VST3 - the Global Mod is about double the speed of the regular LFO, as first reported...
Windows only, mac fine
-
-
@d-healey thanks, I've had this ticked all the way through. Everything works, just not in time
-
@DanH -yeah this is true here too...
-
-
@DanH interesting , I am also using the global mod into scriptnode, was not aware of this problem.
-
@lalalandsynth have you exported it yet? It only affects the exported plugin afaik
-
@DanH no , not yet.
I am only using the global modulator because I dont know how to get a synced lfo in scriptnode, I would prefer using scriptnode for the whole thing.