assign FX to Effect slot
-
@toxonic for me it worked after deleting and re adding the fx
-
@Straticah What do you mean with that? Did you delete the FX Slots in the Module Tree? Or do you mean to delete the FX in the Interface, via the Panels context menue "remove all"?
None of these worked for me... :-(
Also, Hise crashes often, when i try to tweak on that snippet... -
HiseSnippet 2222.3oc6Y01baabDFTRHS.ZbaxLYxmOiOjBVSQSpWhyXWMQT7kH1H9xHREaOttZf.NRbUf.n.GkDmF8Op+A525Oo9Kno6dG.AHEkrpZbF+ASaIy61cu6Ye41a2y8iBrowwAQJEzFNKjpT3yTGLym6V20h4qztgRgemZKVTLmTiyoSB4JGLKzJNl5nTnv5eOxTAsMTDe92e2AVdV91zroTT9w.lM8H1DFOa196+CLOuVVNzgrI43dm8aaG3WOvKXJ.n0UqnDZYet0XZWKjs0TUJ7IMcX7fnAbKNMVovFGD3Lafavk9R9+QVL6LOJNnpx.XgjS2JvyAQLNqRcWlmS+TEOVAVk9Ylg0klguTsCygMe9LywmKHPxjHu8nvZKBu0W.dUyCuJ4f2JfTgbPZCIj9B0A1QrPdFEDO+F019bZzHKvrmGJRdUV6+7H05A.G97xSrNm1JBFLWByuoRkRjcqTo3Kz0e5S05VqSSRuVjgG1jz5Ujg8Hs6Nn4wCIlM6ze3qI6Q5F.DJps4p9nCNOHP4BqHT38HuQ2nIDwLynjtQ8oQWPa92vuNfMIzidL8BZzYYiwPIbTCpmkPBQLCMRN23HHXQrNtAQSiwu020Jl15UhUvhOMxBr6Blm4aMgYK3YfqUHxi9ak5G.qAG0a3.xwMa073lcq2T61zfAdA7XgRHNOTdLkiS05UlFMGMhZyEbT0nXo6jgsdWLr86hgcdWLrKxPhB1uV2lGg9sFsGz+nZuN0SVu2Qmzo6McaZvGh3WK375a4S8.kOMxA135ASBC7gAlFIzMvfFbSG7xZ8wMo0IcqOrcutqJ5Pm46w7ojQS8s4r.eR7kVglLmqpVh.+dqh5+ccMu.aKOxnqpBasv9+FjAP0lSYq7T1BonqA7WVrZ.4hhYR.X4HZHDUwMg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xW8ypttdgqHEwc2M6fVMm+GmtIRAWBS476BbIbkwneTrC3AM4EEZPXqG0JJY+udEqk755muD7xK0pD.Ji+dIB3qODpsm7RYQOhpepUe3I0NBq9Ap5qWZQwXq.f.NzQVPhwkWbv1jXmxBIusJK0mGmD32MfS64aJhPzuVmrLoQiVIML9LJvyiFsRxXixQ2kfl9SmbFlP9BKuoz4LBcOtXKop2dKo46X1VV4eNFC7a6y38Bo92VezJIsK.e6j1MfraXerIyA7EBw7LDBEZPufYSkc0po1fFeNOHTvaROFJE9Ltf5iR64Es5JLGj+DefxUye3f+k29yxdEgg6eIVLc1D+k8cE2Emwez9Y0a.y9I+L7AI.g2AWldKeL91GPA9jrIVLGjRg+g5MNpqKO8pmcfQ+l7rXR.cQ7sdRKx546OVOq4XcQmw5IsEqmzSrtrgX8jtg0m2JrdZev5IMAqjUkJpxGd3gBUNsmEgY3epHlKiysvogY9Y461bi2j3yU6D3L0C2v7OQBh2DBPP5BuKA91C9wL9r7uazxuaxF2u2M4teVm6Kb+B09Xd7Ui20VAdgv5223M4UndjpLETFX2.B+uymbZi6246LnrxmeR8lX4SUku8f.F+V07OBxh.Z868afU89+FXqmlsH4t.AJ9x7nX2SEjd+fEE4q.LFpXLhAIdT6Ncx.37gMEbM9P1HLyZg0vbfxwUvwXnx.puiX.liIgXUbbgDhUSI9qxd7+hecqOH7q67Q+5uv90s+fvut8G8q+B6W24WA+pZpeMoZEAJ9pExZbZJo7nArMsXdPgKwoFgVsF1z2BPvG87+e6428ChSzU+3I5OP1iIV1QAmZK6LDcjepXFv15K9eRUSsCNlTUQzsHHmZkxUTlvbXmZaiUYtITg5pkYqGfLa+.jYmGfL69.j4ad.x7rGfLe6cJC9epbso7fIxNPfI52TzBcgB4xRp7eAvxVm2D
yes i tried right click/ delete all and added new fx to the panels, now it works on my HISE
-
@Straticah Mhh... i must be doing something wrong. I tried on 2 OS (Linux Mint 21 / Windows 10), added FX in each FXPanel "container" , removed them via richt click -> "remove all" and re-added new FX, but the "containers" snaps back to their old positions, each time i try to drag them to a new position.
-
@toxonic did you compile after each step?
-
@Straticah Yeah, i tried it, nothing changes.. :-(
-
@toxonic that is really old code, I wonder if it still works, maybe it needs tweaking a bit I guess :)
But I see @Straticah made it work, great!
-
@toxonic I think I have some more developed code for that project, I'll look at it when I'm at the computer
-
@ulrik i'd love to see that!
-
@toxonic Ok I fixed the old code so it should be working
This is only the swapFX functionHiseSnippet 2486.3oc6Z0siaabElxqURHSRSBfKPupcrtHfpVqrz9SRgcMrzJQYKD8GD0Z6Ea2tfK4HoYWJRERJuqPydYA5CRurOD4cHWlaJ5SPeCROmYHEIkzt1YgsgApWC3ky4mY9lyeyLG6ddtlTeeWOoLxClOkJk4yxpO2IXbswFLGol0kx7EYav77CHUCBnSlFHs27oF99TKoLY13InPYjusD+m+6i2yv1vwjFSRR5YtLSZK1DVPL0dU9NlscCCK5.1jDRuSklltN0bscmA.ZirkjlZXdlwHZGCTrakUJyGoYwBb8zCLBn9RYt8dtVy0G6dtiP9mw7YmXSwAkkzgIRPtgqsEhXjpTswLaqdQabeIXV5EaF1PXFtS11LK1B5wliujyfDqQR6QlakFdajBdkSBuRIf2ZfTlDP51BH8UY0M8XSCh4f34Sy1zIf5Mz.L6IghPVoa8yeQ1ZtfDNAEmXbFsgGLXgFpeSoREH6VpT9Gpnb+6K2oZaMR2FjAOUiz3EjAcIM6nq0e.QUqcuAGPdDoiKvHu7lq6GEv4AAJuzvCU9QjCUxoAQLyyUPIWsYdujp883m5rISso8ouj5cR7XLTBGUmZav0fGyP8DzF4AAK74Yrq2Le7qdiM7oMdAeFLBl4Y.1ctvycLlvL4xnO1XJJixQh8G.K8VcGnS5q0PquVmZZxW0NP21MvmuI34CEGQCPRMdgZNsgColAbIJmKegqUfsdUBr8qRfcdUBrKJP3FrW0NZsP+V8l58ZU8fHOYsts1ucmUcaxvOD9ekx40yvgZCa9nHGXgq4NYpqCLPMWH+bXPCtn5OuZObQZremZCZ1sy5hNTXN1LGJY3LGy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LahNjtZRgHHGn3HVnOysvRxhwkvwHHzoNV7AXIuPlkwwYBYVNh46j03WSn3VuCBE2H5PovKcrZv3NGyY81AK+eoec62K7q69A+5aX+5NuC7qebDHDWChCheaphFGGxI4gG8AHjrP+ySbewe72+2+4EGIjTHwYPenZ9anniceuHqe6Oj0+dxZLwvzy8XSwiYQG4mvo.1VG9+x9xYaiiIkk3OvEzKaohkjlvrXGaZhWXdS3MoqWmstA5r8MPmctA5r6MPmu4Fny2dCz4Ocs5f+mbn5r.2IhGPAD5owe0elLZNFPFBOaR5+M1CgpH
-
@ulrik I just found this, it's great :) How could we save the order of the FXs in the presets?
-
@bendurso Check out the
Engine.addModuleStateToUserPreset
: https://docs.hise.audio/scripting/scripting-api/engine/index.html -
@HISEnberg Yes, I tried someting like this:
for (i = 0; i < Slots.length; i++) { Engine.addModuleStateToUserPreset(Slots[i].getCurrentEffect().getId()); }
But the console says it can't store modules with child modules.
-
If it's only the order you want to store, so perhaps you could put this in an object and save it as a panel's value. If you search the forum for "variable persistence" you should find some results related to this concept.
-
@bendurso Do you have modulation targets in the script network? I had to remove them before it worked in my network, something like:
"RemovedChildElements": ["Modulator"]