Global pitch modulator problem
-
Or add a intensity modulation to the receiving modulator which might be even cleaner...
-
Ya that's what I need, thanks :)
-
Just ran into this issue again so time for a bump :)
-
Is there be some scriptable work-around for this?
-
Well I came up with a quick kind of solution that works via a knob on the GUI. It's not ideal though as the pitch value changes with the intensity but really I just want to be changing intensity and leaving the actual pitch alone.
HiseSnippet 1372.3oc4X81aaSDF+bRMZ0PJLsgDBgDVUfT5XT0zUZAlPMsoMUQqoIptqfDuX5p8kjS09Ni84.cS6c7d9Rv2.9hvGA3c7x8ZdC7b9risWyxRx5fAyppJ2yet628bO+6ttAbaRXHO.os3IW3SPZukt0ELwfFCvTFp0dHskzaiCEj.SEocuvGGFRbPZZkOPRPawEPweOY6cwtXlMIiDBcJmZSNj5QEYT6V+dTW2lXGxITubRuQ8V1bVCtKOBvSY80P9X6yw8IGgkhURGo8F66PE7.KAVPBQZKrK24BqA7umoj+TZH8LWhbPMjELQJxM4tNRDK+Mpw.pqS2z8cHBlztYVgxJqvM0aScninmYMdmXFlYZj2dnUZRvq1bBOsbvaAE7tttkc.0WjwQhsajPMCcqW.dJtnR+glNXmCElCwAlmyNqKUXOv7qLavYBBSrJ1w4dL9YUWNk2x21bM3uUtaEiJFYpdXyNfVwtKq1mHZychbwv1u5xRNiFtrTuLs73NOCsNvkeF10T5TXdJNfhYhmZVpXjBoUCIBIdC3tMvttmANJUS40XWkrTlKkQL6EwrETNyLieUakp2FPjaDYkJFOphgI7A.WNysjFhPp3hpJ92UwEfdQt0tUBeiGOZU3ri3BRGV0ULdjwhFO13o4zq23XkrYbIAiiqzlDLA0pxh7NiDjteRjC7WJ5PZLcNj1JGgbBxYsXTQGexnwpMYJk0Pi1b4IksoxSMdyLFwxHc4n.ThyoLdHQbPTQbzvRI98VtTGR.hBN6F5oG1nXKR9TRn62ZOr.mNSvjBKjOIPPklHs8HCgTVp3rE02iDdtf6GKqmOmIgfl9zrt+.Hmlb4tH8GPVTeK5CSAS8e+g+31nKGbCoXRc5ym2QlrMgAbzWHvdjCY9jwyPxn0FaxnZi6XXJg600iMBiGukFCdgSiW13MI0dE8860iXKx.6B5M+l4MO97Akqofx6qqR4kY.A+Q.UDU97OHgcVRPyLAd10g+0osNr+TWGVqbQCR4oKOxXJlsv+B0ZWapq0Nst223RmLgWoAjyY2AKofrtNTFKFmusdgJwOOLhP6R84t3.I+lAjuKhvryw2rtzYoUluV8ep9WiGR5wC7RRXNZ2dHoOrj4obBARfB08syufVdbtX.k0unK3MqeHm6uOCCFDm7SRinPA2KcQQZer95arZwugcf+06Sj+7KZDOFYAYdiy4q8s5aFKeN92oyUy3KkAa9iRJM09gxy2QmjxS5WwKLnP7Heq+Cf3IVJq7qmkxNlGIfX11XQ.U1myQQdVPwBaBfDFi3FJa4ojrqM030RaAxhvbhG7WvWByZxwZILqkxDc47ZuotET5K9lCwa12MdroLYf4ADnn3kxwkqv3u8m+7ub0WXris.V8SBvrPedXgI1h3QOAZXLLOw6GRj99GKcjxSuAGGLVVOY6lvdbr5XgEQAwdj63wiXhBdfkmqZME6wLm7uhTIu1Udz8Kde0kmtHpmSoaiTLZQ87cI6yFRbgKkjjAZORObjqXD07frMmw8GvYzB0UOl.gl86SBJ79LYU2G6VaGg.tGc9pvGSbI3790eT8CA+Qb.XwHyoUo1zaUlzI26oqfq58B9+wMidgKmLmMNl71eoW3PZQSd.lrdGkf+C0m3azLS8WBoBOAGCaorCg6eqzKlnpYsmcycaI17nsRZtCtSDiD+dHHsaMgqL8kE6E9khU80shz+SrFdX6.9CRdwNom60ho.6aV76Bunda4XyZoO0iz13A0adfsszX+of0Y7Zr9LqwclYM1Xl03ylYM1bl0XqYViOeBZHKtuSDbuLUBMfP28UQvZitBmVYzeCntIiLB
-
I've modified my previous script to be more useful now. It can set a CC to control the "intensity" and has a table to shape the CC response curve. The only thing I don't know how to do is add a smoothing value, I don't know if it's necessary though anyway.
HiseSnippet 1753.3oc4Y0sSbaDEdL65jvlrjllToppJUKTakIkf1kPf1FEwFLPJJ7mXARk5EoC1yt6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S9h1xr0KESAraV7eQrQMWS9tU0zu9lz2D.8XdrqqzYeqpHTu0X5gViaOzZLyPqwcFZMlcn0XtgViurOZHane+Nv0uTEw.Batj5TqQ2apYT.82.olE8fA
I did some more testing too and discovered this issue isn't just with the global modulators. It happens even when just applying and LFO directly to a sound generator's pitch parameter. :(
-
@Christoph-Hart your suggested solution, using an inverted modulator, seems to have solved the issue :)
HiseSnippet 969.3oc6W0saaaCElz1ZnAcqqsKEXWpK5tZXCwoo+cUbhicgwbZLhbxFvFPKqzw1DkhTihJc9on2tWjc8dk5Sv5HEssnVzbsac5FFltvP7PdH+z46b9NzCjhPHMUHQ3sFNMAP3O0KXJWMo8DBki5cDBeCuiIoJP5aMc3zDRZJDgv35OwX.uUCT9ya1+PBivCgBSHz4BZHzmFSUEVGz56nLVWRDLjF6r58Z0KTvaKXhLMdp6sCJgD9RxX3oDyxp4gveRmHpRHCTDEjhvMNTDMMXh3Ub65OmlReACLCZhBzaj0bWAKxfXy6n1SnrnAy+tSQHr2fhnPcaTXauioQzE1KhF2LeB+BObiG3ZKCdMcg2NUBulU.OjC5ZXQmFDhnLFQUFYF5X1DTQYlpGWA7TpZpKc8OJbuk2.pJbR03sVE3USTW03cF4+YdcFMBBUEfsgW2e3iKSeCKTttW.kC4Uj4.4N4i8+dxEf+S.NHMA0+tZxme.9WW0ZxjUtl7jPk9zGJI7zDQZoMN.hoCEbS.ov3YoPWI7ymZHYW6sEDYkS8l86p+Fqzm.hJSlmsbPrHiqJkcTekoDWsgxEMNquBghF+uPQNbquZvshHHdvkZ3bScJcbBC5vu.XBsEq5vQvHRFSsvpKHOVvEISDbZnaBvofRRGOFjtPuxumCTJcikBKa25TfAD2j461puNIjH0gI38LTzb0CEKit9ROKb8MEl9+2Peu9Gp99Zzcu1kUU87528jbT94l27W.+khwme1Y+19GRSDLhzLuQgJC3gym2+md8eruQAsWwkhZ85VFs5QBYr8nKXm9vX8Q5ZYHDmHzZ8kxpChEB0DJebYc4sa0WHR5vI5.Rj6lzNKUIhmenH7W4s6dea4mKNQ+ynu175iamOFEnfjiHJBB+idOHe8NyeuS1LiQathmZqXV3WjyuKXRCSuQqaVi7vJk9L8HZK3JofwzBWFHeaaiiBq69tQrtG6PRNjJRb5oUNkJ2jCSO24a5SyheQYkRahV4rLZqYxvmSXYvFsV8CQawxpKp+13r56mZ30WBodq+Jo9NUZ9cGklKSulFaWkzawNkevVogxRIyjNVTpOSZ4pQE+eS2R+TQlRqGeLQecieQ2LQGqCz2NNDzHgyAl9f7v0LAQ63cLisWOlGkO3s5mYS1zLFOaxlym7ixYDSBkhmEZYZiB00xsn+t44+e6sz+we8X+lnKroGlXSrNM9Ygglf82niNU6wtqsG2as8Xu01i6u1d7f01iGt1d7nk3gQy3fLc6b6EnzFFzwVJhWz4GWG8m.+GNYQ
-
@Christoph-Hart Seems there is still a problem here (maybe fixed in the develop branch?).
Using the last snippet I posted if I have the mod-wheel at 0 and play a note it gives one pitch, if I move the mod-wheel to 127 and play the same note it gives a different pitch.
-
This issue is still there in the develop branch. Here is a video comparing the behaviour in Kontakt and HISE, with accompanying project files so you can test it yourself.
https://www.youtube.com/watch?v=c4I1XZYKbpg
HISE snippet:
HiseSnippet 1149.3oc6X8zaaTDEe1XOzDZaZQzJPHPZufDRPqrcSK+4h2DG6DKrarx5jhDGZmt633Qrdlkcm0fOw2B9lvY3C.G3i.G3C.W3L7lYWu63TSv0xIMAXOX44MuY2eu++dSuHgGMNVDgr1n+jPJx5FX2Ib4vFCILNp8tHq0w8hnwTIZmIgj3XpOxxpzdpcs1nLBdBe+uu9Nj.B2iNkj54XAyi1gMhIKn1y4yYAAsH9z9rQFbukSaOAugHPj.HoDtBJj38UjSnOlnXaMLx50Z5yjhHWIQRiQVk2Q3Owcn3a3o7eLKl87.pZQUjK7hRI2RD3qPrhJpwPVfeuoRbLBdo8Jj+Rox+cvcY9rb5E5gaq2vt3Dl5Cq0NK3U0DdUVX3gLPW4TzAfP3mDPjyhLk4HaClfOCxZykTdLSNoP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o9+.gdMSyDZke+WVkP+k4R85Z
Kontakt Monolith: lfoTest.nki.zip
-
So we partly solved this using a scriptnode LFO. However that only works if the pitch mod ranges is set to -1...1 when it's set to 0...1 the problem is still there, that is when the intensity is at 0 the pitch shift is applied almost as if it's a constant pitch modulator.
Here's a snippet, using a scriptnode LFO, that demonstrates the issue. I think the pitch lfo used in this context (which is a common context) needs some special handling implementing in HISE.
HiseSnippet 2684.3oc6astaaibElRxirksSxtqSCJJRATA5O7hlHPRcus.Iw2BL55D0Huo6+LFSMxhvTbXIobraQe25iPQeBJ5Svh9BzdlY3kgTTxTJxd2ro9GFhy0u4b+b3vdtTChmG0UoPkSuwgnTXaT+ar8Gs+HrosxwGnT3gnSvd9D2phl16FGrmGYfRgBkdMqgBUVSg+22+h8vVXaCRbSJJumZZP9Fywl9ws16k+ASKqivCHmZNVZzMd4wFT68oVzI.dJgTUbvFWhuf7FLaXEQJEJe3.SepaeerOwCFydzA2zeD8C1hw+dSOyysHrGzT5CKjnYk8GYZMnW3Y0SAVndwm7RhS9iQmXNvLp8XJvWv6nZ7LjoAEJNOHos.PpfDjVS.ouD02v0zwOtGFd1BcrMvPFhARsLTDiUoveGsOEFfsesw3KIG4BODMgcaop9rpv+95e2vI1F9lT6pT62P8Iu0d2udy+5lU17usY0zcMbXl8w1FWpkEwMytYbW24MwcsmL9bh6ypdE1ZBIZfvwOIMsb9noFhSsz.o1Gaa5+VGRvyGQsFvnUreOMGPIfrA+5aO9.rOlwTBZCFmCw02jAmBGPtBjpErnJnCHdW5Sc.45o3efjCcvDKreRwIldSPG.8HAOjwnr8L8uQVuZAjwTmqLVdg3Wh5Y5aLJaLVLCLBTp6BLFnY9.zgCGRL7iA3Zni9tkUML+a+Fhs+WfdsE8brULgBjI.jPDpi+xftqF0e0nAnMG6k+i7ZuzI21KKTZUYLZse.rOtZjc2YJ1g28nFVBq3HALeZfUbF268XWSrseD13PtZv.pxFQ0fgDiesaG+gl9+2nXyrNtDGrK4TZOK7M65gG6XQ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t3HSS.5bs25qn.mTxDaIBrdQA2JKPpkx7zdT5kiw7Km3c50Ret246R+z9Ne+N5DeHmwSv9tlWyh9Xx39feXivKwoWXlPAOqF5gtOwd.+g+K7WPmZrmKDzoVXmxGwGJNhP1pPrl7O2F9A7I7mq9mvWQp9ZBDE5zW9267aP9aM7gs+TWrsmC0KwB2mL17TpMiRG2325QX1rEEsVp88oX2L656ewQvgLy4zG6OwkK5EdoYkD0Rcy1WKe252jeoERi+mTW48e.+hRRbe2qDhw9bisGFTwBNF+JvfzPLDdPXqIErOgZSCuB0wb82Q.ExKtf4EKF6YdfBLhG0xieYX9pQM8qeo357xKT2xQKV7ufqL4W+7.eNh66+mteIP4yqvZ4CiweaV4UN6oAeoGy46pH3SAYI+tJ9WuXOSGpElk+WIvR2oXNtYi8JvqqXd7FiJajbzG+948gA8aukO4iUlT4mC9VuO1iwXCW5YA2KFlD4F7VfysM+ySsBj+B7bUMkqjCijcG.NyvHrxAYOG8kXN0Wh4zXIlSykXNsVh4zdIlSm4NGlK5fRmxzGgF5cnPQsPT0iJTR4+AIsLDK
-
@d-healey Even with the pitch mod set to -1 to 1, I still don't see how you would use your scriptnode global lfo to manipulate more than one modulation target. The only way to control the amount of the modulator going to the pitch modulation is with your value knob which effects all the destinations of your global lfo.
It would be great to have a intensity value and a pitch amount value for the pitch modulators. Right now I am just changing the pitch amount which is not the same as controlling the lfo intensity.
-
@crd I can control multiple targets, that's not the issue.
-
@d-healey I see the issue you are having. I think I think the pitch modulator was intended by cut on and off at the modulator's pitch amount which is not the same as changing the lfo amount being sent to the modulator which I would love to see implemented... I think this was how it was intended to be used (?) :
HiseSnippet 2853.3oc6assaaibFlRxirksSxtwtAEEaATA5EYQSDHoN2Vfj3SAF65DsQNt6cFzTirHLIGVRpDqcQuq2zWl9Jz9HTz2f1mfE8En8elgGFJQIQoHYroY8EFhyo+u4e9OSNcbI5XOOhqTtRmOxAKkaWT2Q19CNbflgszoGIk69nyz77wtk4McvHGMOObOob4J7RZC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O2Uy1yg3kXg6hsLNmXS45wM9VOL0VNuX1BseHQyM0t9gmcBrIScNc07G5xDIC+XZEDA+ouD903kToP1f6b9L3KEhwtLavGGTHCFFeHXmhcQeBaMob8YDaR3WVc7g9avf930WSctEi8T2PA11iZY+mGlFaTS+5my+JeY0uasek.l040OOvUD+Z.7+GWtnr43X0vaKEdcK3W.jYbcKlycFat3+.CGhoFMsv7fgty0XXkN12ANi4yi0XT0jDCJ42Oq6QzucN2DjUFm6SM2r2EzvRS2kbYvmNCU5bKVKv91lcaiKAo3.OWN59cxizj9YBbotdXwEReNpKwbptDyo1RLm5KwbZrDyo4RLmVybNTW2AUWkpaBMz4XtRatnBLkqfz+SqUEX1
-
This is the problem that keeps on giving :p
To summarize, using a global LFO connected to pitch results in the pitch being set to its maximum specified value when the modulator's intensity is at 0. This prevents it being used for anything where you will want to vary the LFO's intensity.
A workaround using a scriptnode LFO partly solves the problem but it has two drawbacks.
- It will only work with pitch if the modulator is bi-polar.
- It won't work when applied to other parameters such as gain or group xfade because when the LFO's gain value is set to 0 it sets these parameters to their minimum specified value instead of 1.
I've made a video demonstration explaining this in more detail. I've also provided the snippet I'm using in the video so you can test for yourself.
My proposal is that we "fix" the problem properly by treating pitch modulators (perhaps there are others too) as a special case where the intensity value from the global LFO affects the pitch modulator not from one end of its range but from the centre value. It should also work in unipolar mode as well of course.
https://www.dropbox.com/s/hs4kmwbly6gjqpj/lfo-issue.mp4?dl=0
HiseSnippet 2131.3oc4ZssaiiaFlxNzSblo61cmfEEEaA7E8hrXm0vx4vLYaARlbZfQyAi3roEsWDvHSGKDIQsRT4PKJPun22Wo9DTzGgh1Wf4Mn8mj5.kOJ60yry1UWDXR9Spu+y++Toc.yhFFxBPFUu3QeJx3Y3NO5w6ueehsGp0Av7XmdLNMji16QeRXHsKxvn7aDKaTcIj74s6rGwg3YQylBgtjYaQO110lmMa6c+M1NNGQ5Ruv1Ui5M1skEyaelCKBfRYbCjOw5VxMzSIBxJgQFUNrqMmEzgS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HUTGupLd8qlkQBF4Rucmi.lbj6oCgGEHMIStiFMSvxEVuqeES4+pYZz++seZhu6eovxECtS4xrqlfwNxlMNLt2CIF+THnUORjCOY17F4mv7XI2dWlEv4Tv47laDYCxv9HYn3hd09rBIkalN0ubW0cII6Td9jEy9Wlej5qeVbM5pKZ9Cpuv6xI2Ut5icMg6JO9qgMO2U9tqu9+YGHJxEDIVEDbGjoSQrbxzNpzyZ+qmzGG8qmxc2uvzx+PKmaNqxpuOTuvy+Zm8r8YNDw0dURSSW5GpZ5eLTsx6i2gKwJfcUbioBqykky.7sm7edqpP2Ov3Zln6zq1VbYvWYYkb4oidOMmi8r9brmMli8r4brmsli87x4XOuZh6QTzSbSyBeSXh1GpbZMR6m2nL5+AQwsss.
-
Why don't you leave the intensity of the source LFO at 1.0 and then adjust the intensity of the global target pitch modulator, then you get the desired behaviour?
-
adjust the intensity of the global target pitch modulator,
That was your first response in this thread in 2017 :p
Then you said
Now I get it. I think I need to change the way how the intensity modulation affects the intensity. Right now it just "modulates" the intensity and for Global Modulators this has no effect so in this case I need to apply this directly on the actual modulation signal. Does that make sense?
Then we get to today :)
-
You missed the part where I get it :)Lol forget it, it's the same thread, I think I can scroll upwards myself... -
@Christoph-Hart said in Global pitch modulator problem:
Or add a intensity modulation to the receiving modulator which might be even cleaner...
I think that is the cleanest and least intrusive solution so before I implement this, please tell me this would fix your problem.
-
@Christoph-Hart said in Global pitch modulator problem:
please tell me this would fix your problem.
I'll try now, but I'm sure I attempted this and found a reason against it.
-
How did you attempt this? It's a rather complicated addition that requires a hefty redesign of the time variant global modulator.