Global Mod LFO in ScriptNode
-
Hi gang, I have made a basic lfo in scriptnode to use as a Global Modulator (thanks Dave ). I can't figure out how to use the intensity and pma control to affect the actual signal being processed. Any ideas welcome!!
HiseSnippet 1543.3ocyXEsaaaCEkx1zINMsXEsXOLrA3GSA5BrbRbRwdXMNItyX0oF0oA6s.FIlXBKQpIQmTug8usOg8Mruf8Grconjkjikqrm6vb.BD48xKO7dO7PJ02WXQCBD9HiZWLwihL1FOXBWN7jgDFG08Tjwl3AmW+scdGp8DORP.0FYXT9MJqF0pfB+8WeeahCgaQS5BgtTvrnuk4xjI81+0+HywoCwldAyMk26+5tVB9IBGwX.IkwMPdDqQjaomSTtUBiLpdlMSJ7GHIRZ.xnRag8jACE2y09eIKfcsCU0vDM.Bjt6NBGaEhU8hNYHywte7JN.gLv8SV+k0q+mi6wrYS6OIO7EgFpmLhz4CiRYgW4LvyLM7ZjBdyARFofTEMjdJdfkOySlXQgmGg6xkT+aHPZOMTz9hL9c7IBvAtbWWxHZGenwzArSqFMdYc3eu36tYL2RxD75B94BI8c7cdwV+5V01521p9rlt4l4ZSMM9BGGp+bMqpz9KZf6vG6dM0+k0ui3LlN0QX4mMmhyOmltjaoW0obTv6xYx24Q44QDPQoJ3oOz8ThjnJDQ8A94Q8kLEDLNkdGvp0kkZ3SoAijBOfW+fZFvVD1icHxrTH09lHCPNHScSUb3AL4jz6qlkWUoX7pES6KJbeJtOSZMb93szbvKj09bi2ncoOFe1M2PsjIfsBtyOsvsjqcnroFJeE9MNhqINIIPf2.nhp2l9MQlqO0d8oNXt.M0+nnZpdEVS0nbgyHKgFZk+2ogVT98ydPoIX42QtdT5qpg4WGozqpjWR7YDtbJ1BgbU7fYOJdtnrMyS3P7SedvehSzd87odDe5Eh9NjI6DPb8bnuGVOurt94f9T+1NBqQOT11SC5Pq6b8XXWnetGXr1OK4SchAtv0FyEyfRNO3bp7dg+nvBVzyPYPUK1.tXjpXbI0OPINBczXW3OzwNNh6OQ35whjMgpPXe8ENS7FJ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XD+JX.SG8O.4c4v+A
-
@DanH Oh wait, the actual Global Mod has an Intensity - of course! All good :)
-
@DanH ok sooooooo..... It works BUT when you play a note on the keyboard the rate reacts, and it sets itself to a totally new time. Perhaps I need a midi ignorer node in there too? Could someone have a look and double check I'm not going mad please?
putting it in a modchain doesn't work either - you get no signal at all
HiseSnippet 2238.3oc4ZstaabbEdVQMzhxptNINMoEs.KDJPU.bD3RIKam7CSc0lHlRzhzxs+xXztiDGnc2Y6tKkDqQ.5OyKRdOxiPA5KPQeBxaP5YlYWtyRw6gVsNkBPfyYt8ctNmyLrQH2lFEwCQFkZ0MfhLVA2rqeb6caSX9nZ6gLVB27PyWdvQnc5FPhhnNHCiBOWzqQoEQxO+3y1g3R7soYjPnS3La5KYdr3LpMp9MLW2CHNzVLOsQuY0Z1b+c4t7N.RJfKiBH1WPNmdHQLrEvHih66vh4gMiIwzHjAdGtS2ls4W4qF+IrH1otTQCKTSXgTjOf65HPr36GcIM7RF8JcZncaybcZjJEhPvF0HSlTPISd.tNyg0idlr49xNLylgtLxXg7PtPNHaoC4xZPd.PxPCRKpfzGgaZGxBhy5Qfm6hq4GSCOi.pBcnnFKx3Gv6xgA3GutG4B5AgPidSXssJW9glv+9hu9rN91wLtuI2+PdL8H+09hke2xkV9aW1r+tN6rA1mXaB4ttzvA1sP6GNpItleGuSogOz7RhaGZuABr+nLCrFlYfshq0FH2ulOK9n.ZR6aJ0QIhJP9WHAUv2hkR+6kH8a5xbngHFHjKhOd6V6ij3MyvdopnIXt2A27Ea23FSNACiYxfN+vV6eXyZs9K8u.+3yPut1djXhvFJgc.VLfFFyDROi8nWBNoJKpR38nQWDyC.g7tbu.tuf4MJEm3Bn13Cb4jXl+4sXfTVr8+ZrNIKz0fRw3cvl2U7kuOSNp1EX3LWvhaOVTfKoK5zyS85KUbiM13mDvlES8xn9Svm7TqjP9uKHKYOiuA+tkMMWsm9qlypek4ppsxZ0GJ5qluC8Zf5WZIaBQAb4W8Fd3EQPrFJzwYD2H5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roGsIcyynmqjkpAToxidT40u+FUpr15O7AO79I2+bldtWEzLHpfr.hCE1hy3nBEgZphoCdQGSKyFsIQ8nQl3Uonr7tdgx.BVTBGwNshG2IuY9svffu8po8MQ13yMabO6QHL.7WDGPImkG72T4iJ6XhP97yNuy7.tOQ.6Yz5hr4zc6TLo7BYyjdY0WkIAytN3l84hS0c9xn1yTucU83xCKLsVdI8jyf5rcTurP5c7Nd7vsmdd.M17vfNpIIrHZZxyaKN+LOhL46o5gSlI2aag21aIb7KVc5uq1oe6Oj2Q7XQ0IwgrKDoT2wqI3QamVWRTZIIIsKm5q2j56HaHdHnjNsDsMR5zJsScV7iUr3Mwuj7Zp7UrkL3GKaeBOzy7ITnThqdChW62NxA1w.DZER7iB3QTK8Utm9pn22Nz3N94GthTtQIXu8.1yR+sHSIVQmXChetECZmakpyzdWme5wpzmaRAtw4fLePMW5Fcbinuj4D21RehYjqnS9ojPG4qhoaresbwQWaOr+6zqk7s+IplM2fToTL1jIN0cWnjDWH.oDieDDQ7DBTBWJ07tV0497zqkHSoeHEhHb5ozb1R8kg1LNlXeVFk6V8PpKUj5UWReZ0mw7ojv7uMyDIKrl3eSF8Ue8IXEbUOawuOdZwB+N5oEstF7PgPlu+no+SXHLdESo517We886h7CdWrGdD6P9qRtxFQ.iEjT.91W96WqDttnsoU5OZGUoRh6y7U11oEkz+4TYJlyZSwbVeJly8mh4rwTLmGLEy4gCcNhS7StzBg8OPnwtpWE1H8NCAWAz+GnTIYCH
-
@Matt_SF that's twice it's been staring me in the face
If I want the lfo to sync to track position like the Hise ones do is there another node I need to stick in somewhere? Bare in mind this is for an FX plugin
-
@DanH try a
ppq
node connected to the phase of the Oscillator (and the Tempo and Multiplier set to the same source as the tempo sync). -
@Christoph-Hart comme รงa?
-
@Christoph-Hart so I've just Exported this to VST2 and VST3 and the VST3 lfo rate is double that of the VST2
Is there any chance you can have a look at this pls?
-
@DanH Seems like they used the version number of the SDK as tempo multiplier.
LOL I have no idea what could be the case but is this happening with any other tempo-based module too (eg. Arpeggiator, delay)?
-
@Christoph-Hart I will test today
-
@Christoph-Hart Results are in:
In instruments the Windows VST2/VST3 is fine in all cases (Arp / Delay / Global Mod / LFO etc)
In FX Plugins the Windows VST2 is ok. It seems only the VST3 that has an issue and the issue is only with Global Modulators. Normal LFOs (like those available in Filters etc) are fine.
So - Global Modulators in VST3 FX Plugins on Windows do not modulate at the correct time.
-
@DanH And you have enabled the
EnableSoundGenerators
flag in both options? And which host did you test? -
@Christoph-Hart yes that option has always been checked and Ableton, Bitwig and Reaper all do different things regarding the tempo of the Global Mod - Ableton seems exactly double the rate it should be but the others are random
-
@Christoph-Hart just had another test, VST2 (and VST3) in FL Studio was affected by the tempo change too, so it looks like it could be a more general issue than just VST3. VST2 ok in Ableton and BitWigbut I couldn't get Reaper to see it (is there a way to rescan plugins?)
-
@Christoph-Hart is there anything else I can test?
Here's the original snippet from the bug report that show's the example in exported VST2/3
HiseSnippet 2407.3oc6Zs0aabbEdojFWKFGm6sIEs.CDJpkZbjEWcI1In0KEuHSXRtTZosrQ.pwncGRNPK2gc2gxlIv.9w9Ver+V5a4mPA5S8s9SHn+AZOydg6rRjRLJ1QxFlOPvYly4remKy4blYYKetMMHf6qkaw1iFP0xcMj0HOQuR8HLOsZk0x8YncZfqW0D2thUa753ll3xOnQiGaos8nAjf.piVtbyuij7bKtfV3me3taSbId1zzozzdHmYSqy5yDoy1x39LW2pDGZaVeEp2vnlM2qD2kODf17n0zFPrOjzk1jHIaNjVtqTwgI39VBhfFnkags4Nir5wepWD8OjEvNvkJGTPyBDTzzU4tNRDKmUqTOlqSqDSPfFHzVoFj4iLHeLpAygMd9TCy6Gt.NkCU6Qt4xBu4y.uBpvaME3MAHkSARKDAoO.YY6yFHRWQhm2AUySP86P.ytJThnUatpHTINPgmX09jCoU8gAi4X4sVasahguV4qym+V25V312qxdUtgEtH9Fgt6afqVqd6J6gsLw6WAWpXSrUkJ38uWw1.U6XVq4NXyl3ZMkbhePsUWc0PAAhx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EjiyEuXgjEUUwOIREeGjbSZ3a3NTA+DTxlV7NTnZ1IyS8Juhlos.fPaehWv.d.sfpjO1Z5pqUlJF5kk7nozO9QNpBpmBcW0HYRc0IaQ7xHLXbFI0fobst+m6FkbzhBZiiYfMnrgWtiZtxgtAz8kW3aAUFSmVWc56Q7cxlcV6UTw9q7Zaw9KvaqNSk9ESvnEq+.WZEuintbXFIF+PTYZGxPWQxrY2N0f6witHDUG8dTHKP2tzLwOSTgJJDD6CUqTuG0kBEkUeKC0gFSI9YuVjeT1hB+n+GxMQ+0mhhfazsb956aY3M7RQy7tOHE3kau3uBAoh0wgtR7Eiu7mi55+b7L5Sr84OwN5+RjbS+UCmAzauv+QvKhZHGiKj7OHBgVa00j+SaXOw1VFu9EP0mIyi94fm0OG7rw4fmMOG7r04fmu7bvysOUdjUpKNDNGVTLOLQqJQm.K23Sxkads+OgNPYIA
-
@Christoph-Hart said in Global Mod LFO in ScriptNode:
@DanH try a
ppq
node connected to the phase of the Oscillator (and the Tempo and Multiplier set to the same source as the tempo sync).like this?
HiseSnippet 2426.3oc6as0aaajEdnrFYKGmrsqK19pdzEHQfj5FE1GZ8EoFgtxQ0x0H6SFSnFYQXJNzjT1Vcw999yp+j5+ftyvKhCoHknnkS2MvL.AZtet7cNyYNy3AVDUrsMwBHT9x4lXfvAvgyMblb5DjlAn2Y.g2.6ircvVU7p5j4lHaa7HffvN+HqBgxEAte+92eBRGYnhCqB.thnoh+GZS0bBqcvO7SZ55cQivWpMkq20+gdpDiSI5jYT5YGnHvDodK5F74HV2J.ABk5LRygXMzA4fso84Dxn4CmPdvvq+WoYq8IcLqfDXHch7pFb5DM8QCB3Ua.Pn3fPNeGON+af80Fosn9PIvW41PkvQvKCDJrJRRZCHIANRpnGI80vgpVZlNgsvnmWA6YPUHiQTQMOo30WfvuAOkP6fgS0onawcsnEVLfiZJJ91Jz+6696imYn5nQLpPLNm3f+fwQe29+q8Ku++d+JwaZ73DaisLVDccrUhMyztVqZfGYLa5mvV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gzAdlrds7DxIwygQ5Sl4SG1Gg1eEu90ykP2K57yfsykgrH6vsjjaWUoAcqMQ2rITOiG1KAShkOUiOkytriUI8Y2lgeAFwRg3xMZVSrkRMwlsa1b82nRbRNyOKJFksIOGpz6eJOCJ2AviB8rDGz43epxOdbuyAY3hdVbkKuiJ3ZWugXcoFh0ZK1TtlrTFUWIyNKc37EPs9e3rNf0E+UJotxybJqvnkzI9QvsjTCBGdUWv5rhizX1ngnuOqXd4W38YI5ojqVLqDzekgaUn3ZIwZMjnVhMxH0E6QijYxiFB16OdXmmCAVr6sNyjDD1u2GyJAw890yHB2Omcq0mjuMXuyury4C6c4+L6hnriqSM1I9cgSvt6hiubUprTNr4hd2HABbmTNMLWxvhIx7N0JHM+9l28DGPjiutjPXW3v2e7f068IUgP10RomRfENgxwF7mPH2NE49Rxy2eIHeNd26SQpVjq8Cg1M63t0PgKFt+4RUF1mUthD3ddkvTsQZWqpFDBexiQNGioVNFS8bLlF4XLMywXZkiwnrxwv9qHyOtcFJlVwfNdudFgfLnJHrC3+B7Ean8.
If so it doesn't sync with the normal Hise LFOs in my tests so far.
-
@DanH it seems 100% opposite actually, and won't reset when playing the DAW
-
Can anyone give me some advice please. I'd like the LFO I've made in scriptnode to keep in time with the stock Hise LFOs, which seem to follow the DAW playhead / track position. @Christoph-Hart suggested using a PPQ node (as above) but the LFO doesn't reset when beginning the track from 0 bars (for example). I see that people have been using the clock-ramp. Perhaps that might be helpful - I've never used it...
HiseSnippet 2300.3oc2ZstaabbEdVQMThxJtJINooEs.KDBPU.bD3RIKam9CSc0lHlRzhzxs+IFi1cn3.t6Na1cokUCBP+YeL5iheDJPeAB5SPdCROyL6xcVJRQJZZKmHCXn4L29N2OmYUiPtMMJhGhLJ05h.JxXYbyK7i6raGByGUaOjwh3lGZ9zCNBsyEAjnHpCxvnviEyZTZdj7me9Q6PbI91zLRHzIblM8oLOVbF0FU+Vlq6ADGZKlm1p2rZMat+tbWdO.IEvkQAD6tjynGRDKaNLxn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YmqJZbQ1GX0iJZcQESJer7Yef6A15JU0y2Dk7MkFV5GsZOGH8iJK.Zn6Sk57saC4BuiFTRk9L+SlnZkoWTgtjn55loNITLZZZYXGNuqGQ1G2T8sylIOiegeS+L9ni48Deuv5j3PF3hiOrmWSHvgcZKtQoc2lLtbZHklTeG4.w2BLYRKwXijIsRmTmE+LEKdK7KHuhJ+CYPxfelbbadnm4ioPWoW9glem+PaGYGCPnUHwOJfGQszO4Alqh9b6Qi64me4JR4Vkf8N.XOK8OGcJwJ5DaP7ycXv3bmTcl1m16mdjpSrlTfabNJyGTyktQO2H5KXNwcrz2XF4J5jeBIzQ9gQ0M1em7FjE+U6aPdC9kIG1mcaEbSlHg99PGstPPQIF+DHJXaBjCIkZd2o5bed5qZkonOlBQAN6LZ9tMFFCscbLwtaFk6T8XpKUThWeReY0mx7ojv7e1tqkrv5Z+mhyP0WeAVAW0Wz5WueQ4eimJZh89fPfeXqE+8XHTbESopz7lQW99Hu96i6viXGxeYxCOIb5WTRA3ae4e5gkv0EiMsR+6sR0Ik3IseoscZOKCeOUlh8rwTrmMmh8buoXOaME649SwddvUtGQl5jV6E17.gF6q9n+FoOaLX9i9+zIhOgF
-
@DanH You need this for the Clockramp to sync to playhead, works great.
// 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 amazing thanks, where does the clock ramp sit in the chain normally?