Global pitch modulator problem
-
I have a bit of a brain tickler here. If I use an LFO on the pitch parameter of a sound generator and set it to say 1 semi-tone, when the intensity of the LFO is set to minimum the pitch will be completely unaffected, as it should be. However if I try and do the same with a global LFO the pitch isn't unaffected when the intensity is at minimum, instead it will play everything at +1 semi-tone. I can somewhat overcome this by tinkering with the table but this creates a different effect which I don't want.
How can I solve this? Or do I need to avoid the global modulator for pitch LFO?
Here's a demo of the issue
HiseSnippet 1040.3oc6X0saaaCElz1bqYoqaEqCXXX.yWrcUwBrcS694l4Dm3ffD2XD4jMfcQKiDsMQkH8nnbm2KwdZ16wdT1av1gRxVTMptVoIYCogWIdnNhe776GUekzkEFJUH75ClMggv2k3LSnG2YLkKP6uCBeOROZnlopmHZ6YSnggLODFWcOi.7Z0Pwi+9G2l5SEtrLQHzoRtK6Pd.WmIse6C399codrA7.q2dy166JEcj9xH.OUIMPSntufNh8Tp40pPPS4rWFhvMHOp0FpWz7reeqMrGCe3FcNPs4NwSNHSNxMRoXB8of5HLA+Ov.S10iqkJGMUyfuYsskdybFKeoHYqOkGxOymYlzD4.XJQbWoum4vadF0YL22q+bSXHBgeu9YFzpIFzGP5w83KjmYX+33EpmogsoEWYYvqoM7ZTH7ZV.7PVnqVB5.PH8h7o57Hy3YSWfKy6z2WnYhPtdlsm++T3deRet1cbw3sRA3EbTW03M04+gjcGNj4py.aMR2e950SemDn74j87kmQ8yLfRgFPESEiquHc45KVud1K75S5+qUMo+4qbROtZdCR0WuAwNyrfrwZ2HxF+jy4YBuTSHKQ4MrEjuaBjIjC6dTpEDdJCjsdyfrqh8qQLgqcpYaSHx9YQXs+i1+DcJanTEjrgYpeHaDrQ1RFvBlHg9Wt1BcBjR8XtXT9.uGztSTnVFL+qiveMo0lajeL8nj1Jv366DOG4nYS1gpoH7uPdxq99WViyUf5hmDTYkCyLtuE9Iii7+CgYoP9CHP0nPMUniA65Kl1p7f7BaKQkxTtH59R2TdM2Bs56lsPOVFogpF8nZE+2fBcOMJvAZR4x.jHDL+PCUxJHipwyaXlarLNLgWi47LSWroYNNcwlyWz93duji65DGnkaLG73C6mFOutoJU88XPyXii65sg7QtZX2GnnhvIxvbeXGV.efTXL5YBOIjYh8O1DHYKuijpJbInS.bFKTGGpNREGQtUfLRnyEAV8BQgOO2VqvjarLHd64yWc0f6anV9ZywnCOXhOaWwTluDjjTAZG1PZjudgTaP1SJjSFKEbW6.fiYPp4nQLkMzK77rkVCWkzt4+wLeF0NX9qZeHDDRUfYhckz8nn1ZE5t9LRBbqaRLqey3ZXu08PJA8gJKik5Gkmk5xup3Im7m2RR8VRpWPRpVSuki5pUe48SP77eFgIY3TphClvrLVC5+x42INtDY5qTbV84NIO2jUCbTFPigJzW27PR1xpkcAtUAvH0ThC+vk7eS9gW4BwWIN42EnIecrGATWk7Y.0WsR5aRvuSrD3bKh+8yqQ5YlWuIZJ0OJ0JE.L9dlqqwX+Mf0oXMZUZMdTo0XyRqwiKsFOozZ7skViuaIZXnWuUDzMLgcAB8urAYzEF
-
Not sure what you're trying to achieve here ;)
Why don't you just change the intensity of the receiving modulator? The intensity of the original LFO will actually be ignored / sent to Nirvana since you want to control it on the receiving part anyway.
-
My goal is to simulate vibrato by modulating the gain and pitch with an LFO, I was hoping that by using a single global LFO instead of two individual ones I would save a little CPU.
-
Well this is exactly what the Global Modulator system is made for, but why can't you use the intensity of the receiving pitch modulator?
-
-
The thingy that says 1.00st :)
-
But I want that to be set to 1st so the LFO goes up to 1 st, and then I want to use a CC to change the intensity of the LFO but I don't want to change the pitch variation.
-
-
I want that but as a global modulator, which I can do already, but when I reduce the intensity of the global LFO I want it to reduce the effect of the receiving parameter, in my case pitch. Which it doesn't, so for this purpose I can't see it being very useful unless I'm missing something... I guess I could write a script to do the job
-
this is a global modulator; but, infortunaly, pitch shift is already linked to sampler/waveform generator (maybe possible in global ?).
So yes i think you must script to link one knob (or else) to the LFO & Pitch function together. And if i say well when you'll increase/decrease the value of your knob (or else) you will do the same thing for LFO intensity and Pitch shift.
But LFO and pitch shift (pitch is in ST) have not the same values/interval.why not a knob for LFO (invisible), a knob for Pitch (invisible) and a global knob (visible) linked to the two by script ?
-
No that's not a global modulator :) global modulators go in a global modulator container. That's a gain modulator at the top level of the chain. Take a look at the snippet I posted in the first post.
-
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?
-
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.WNysjFhPp3hpJ92UwEfdQt0tUBeiGOZU3ri3BRGV0ULdjwhFO13o4zq23XkrYbIAiiqzlDLA0pxh7Ni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1Xl03ylYM1bl0XqYViOeBZHKtuSDbuLUBMfP28UQvZitBmVYzeCntIiLB
-
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.3oc4Y0sSbaDEdL65jvlrjllToppJUKTakIkf1kPf1FEwFLPJJ7mXARk5EoC1yt6HrmYq8rTnQ4YH20qyE8Mnu.Q8InOB8QHW2aZOiG60igkkcSH8mDqDD97yLemely4LlMC4tjnHdHxXzsOpMAYbEy5GwDsbZgoLzJKhLFybMbjfDZoHsvQswQQDOjgQgGHIXLZQT7yKmeArOl4RxHgP6xotjUoATQF0Mq8Ppu+xXOx1z.Momo1JtblC2m2AvSAyJn1X28wMIqikhMhIx3BK4QE7v5BrfDgLJt.26n5s3+HSI+tzH5d9D4KUQ0gERQdYtumDwRpHmVTeuMSs6HDrnal4EJn7B2vbMpGsK8Luw6EyvJSCc+gwH8CdUOa3UoWvyPCdEUv6Zl0cCosEYbjX65ITyP2z4fmhKZjmUzzgyDDlXpHh3QTOQK6YqTYh6VtjF8ugPa1RXemX5kKEmULkGoAIzA66uGDYhrEgcHJ1PfKRXc.NzZ0k2v5dVJwaRDqw853iAmh83RNcecbodYZEv8NEsdfOeOrukLUwZWbHEyDGaUzWm8Y6sIU31BVrTaA648PFeO6wS4M9jVUf+IUMkjzfsGWPNT.LGWI0I4GP877IaxinBJmMdOVisvrlD6aUc5Isj+uxTUp1CDthDXvhbzofxt7gsn5czvZWF4wal78RN4NDx8SiZ157cVnGvyw4TvkiCra2thFfbbxiDPhbbT9iJRuwbvON9lI1y2oS3Aj7621X3PBrlILg0cltNgxknLeJiX0nCyUFErxaN1tJqcRX88gjyxkdR4RVvCj7IATWQsU7uqhKj9kma2fJjLtqTR6ItYhFkdZ28lyVmKHavrmnzSJMZomV53bZznWrRhH9jPI2xkFk1vxdM3DKTqStgY7WuSvdRort28TQFM7LgB5I1m743Qdkfo9QopwtVE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wNf3C2ELonyhpajzkpNHWiy3sawYzbsR2h.mFa1jDl6qTm0Puml18EBr695Md2h3Sv5oxeZsUgTPbH3wHu4mgoeQtOzTAW02G8siKC8Z2A4U7iqm7W.I8NFROZxGbNabQI3+Dy99Mo6qo786rCQOCDp9otVbrrGPBEJ8hIt3Y7YTlSL65ykLOGbMHFwUco+a1maI804G+8bKi8csdw+SrGAX2P9iS9h1xr0KESAraV7eQrQMWS9tU0zu9lz2D.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.