Global pitch modulator problem
-
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.3oc4Y0sSbaDEdL65jvlrjllToppJUKTakIkf1kPf1FEwFLPJJ7mXARk5EoC1yt6HrmYq8rTnQ4YH20qyE8Mnu.Q8InOB8QHW2aZOiG60igkkcSH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X5gViaOzZLyPqwcFZMlcn0XtgViurOZHane+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+cvcY9rb5E5gaq2vt3Dl5Cq0NK3U0DdUVX3gLPW4TzAfP3mDPjyhLk4HaClfOCxZykTdLSNoPa+60ekB22.2iI8FNe7t1bvKXnNuwalw+l3lCFP8jEfsLt0WbwZ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-
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+2nXyrNtDGrK4TZOK7M65gG6XQdGb7dVUwu85Qb2yhZb4zVncDmAdu6d9DP4ycl9FV4tMtMmCn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ret246R+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+u4e9OSNcbI5XOOhqTtRmOxAKkaWT2Q19CNbflgszoGIk69nyz77wtk4McvHGMOObOob4J7RZC4JsgD6ue3YGnYpYqiiaRR5BhgN9qMrL7iasyy+JCSySz5gO2v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IScNc07G5xDIC+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.v.zrGq6ic5yt2SQ+k1g1W6PECLQcfCRMMZ+91NcamvlgH3f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+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.
-
I probably did something like this:
HiseSnippet 2423.3oc2ZkzaibbEtZJUThZjkimQvvHvAnw.efCrLAapkYjMBDGsMfvZgVTihA7AgRcWTrA6tKltaJIZCC3C4d9CDfbOGxobN4ZNleBI4Wv7OH4UUuUMWaxP6IdzAAUau56U0a46Usp6xzoddLWjRgK60ghTVE2nmieqCZQLcP0NDorF9ThmO0UMnq860g34QMPJJK7JdGJEVDI94M6sOwh3nSS5BgthYpSOwz1zOo25U+RSKqiIFzKMskl8VUq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ETKpjuEj9Y6vzOUpr41ZOeqJysv.oceGBqAYumBf2ysUrgRUR46rFF7caUJZroxqIWJ6.kYkoPeQgjCejJeZrOPJE3wwL1hGe5RvkQ1V4yFaK3ZIyrsF10KZ9blN1fxRmp4wzG5z2I5iBLIDCLk1CxQQyM.k2CjRduE9TgcmfxF+gpKZ5zoq+FpP1klpeVPcXgs9zvpxhUiHQtD9P5McuMRlhJulq1jKwCDr6Nyg7XiFVxa6jfXLakO+u72u6u9G+S6ks7GCstmoNSR4R6La599LVaahnh2Y5qDMWdq8Ed29s1uf00Gp7Abpb4eOGNikFfepdzaC3EwWIrc4HO3FTGCQi+C7S3fZ71JgCpEMHZv2i8Q3FPgLhuuqPA+PQaU96Vp9JJThyfunzO5ub+459v1eoKwwqCyKkfaPsMuj4vOoS570dTNe8.55xOAKi3NzgdydGCJ4PWSCheWWgoWzawHYpsPle.P4mRJ8W3RZ9uS8oFdK9k7R8P0EhvXCQgDGEVWg.iOFBHI9XnQ8l1v9TlCK5k4Rt0ufBNj2dKOReB1GpBERnU5SFDQkLtqOoZv6DIpBd1NKl9+aQF580GEx+N3Qjeq+EXWN5suC9fUi7suyzmkdhIMfHFWRDXjOg6frWASVzYbURxYh2XbeXyOuuuj0b617mC4MSYwUHiWip3w+uOzjw+9lcXVD9yUkS51L2OWtMeWkgwOE6gMQ2kccXQibKvkE8.5si3eHvBPkIPaUMzcxLg4OT6055QOr4vWSkYXMaNCqYqYXMaOCqYmYXMOeFVyKF6Z3DUBKnk6+AcT+n.GSk3ZsUV.8ekn1uAE
This sort of works for pitch but it's a bit fudgy because I have to set the knob range to cover the pitch value, 0 - 6 in this case, but once you get down to a lower value it's hard to hear any difference because it's linear. Really I want the knob to be 0 - 1 so I'd probably need to use a conversion function with a suitable skew to make it sound right at all values.
If I want to use the same modulator for other parameters, gain, xfade, etc. I'd have to script conversions functions for each of these too, or use separate knobs on the UI. I'd also have to hard code their intensity ranges. Using the global LFO intensity I could just set the gain mod's intensity slider to 0.5 and then changing the LFO intensity would stick in the range of 0 - 0.5 but doing it through scripting I have to hardcode the 0.5 upper value - or add additional UI controls to hold this value which I then reference in the script.
Another solution is to use multiple LFOs but then what's the point in having global LFOs.
I think we have enough workarounds to get a working result, but it's hacky.
-
Here's what I think is a workable but hacky solution. It includes a skew factor to make the pitch intensity behave in a more useful way.
HiseSnippet 1526.3oc0Y0saaaCEVxNrK1cqXcqXnXXCPqXW3rk4Zul18SQWbiSbPvRZLhRyFvtnfQh1lHRjZRToMXXOO6t8LzGgs2f9Hz2fsCknrnRbbT7RR67EAlmeH+N+vy4Pm9gbGRTDOzvr1tGEPLLeWj8QLwntivTlwFqBzQdC3BRjvXkiBvQQDWCSypqKYaVaNijOud4UvdXlCImjgwdbpCYSpOUjSsemej540C6R1k5qI8Rc1vgy5x83w.TphZYDfcN.Oj7DrTrJHCyqslKUvCsEX.LfLqvcOxdD+4rT42iFQ22iHWz1vF1nTxFcGQ8b6mYlQFvF0O2nqlZz2BsE0kNldtw+9ILrx0P2GXVYZPp84.RlZPZtTHcSjsSHMPjyQhmqi1fIHgCvfqVGJoxZTYspntbPBlnoO9.RuPXwXMZ7fVsVzB9yBOrdcvcGIrNDGZsYus2h6F6gASos0irRh+MGRDio13NfLV4BcGXCR0WlF.zOEsTbyEuOU3L5zkOisTg528tVGv1WtEJkUq.cyLQP6tb+.NCVz3NJ9ZJmre4ZmrbZpmHfl9ROGKhJNJeOFSZZ6yXgj6k95lQRQYhPtWWrm29PNdCNSWBEWIFnLOJiXMHl4Hnbl0DErgS1IuHDL8hIKT+2pUuVgXp7TGqWiDor9rGYISCpoBQEEQ4IkF1dRoarf0Wn1cPkrnzIzIgQQk1BCA4.9ySO0EsZ079KrvCqU+2A6qtlk8DnBy1rF.3qCLqacbVCFLQdJmfGIbhrk0XBmlhMXw96SByccoBBWBKdy9Zk6lsSZBglfb1FLpX6.hZcOtmq7Fq76mrNfgJiBpHTUgP3ahj5A2PUOv1i5RBMntRR5IDFI1fdAXiRrG0QYAt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