[Scriptnode] control gain via knob using only 0.5 to 1.0 range
-
if you've compiled the networks you can replace all the script FX with the hardcoded counterparts and get rid of the scriptnode overhead altogether so that error message is actually a good advice however it's a bit misleading so now it says:
-
This post is deleted! -
@Christoph-Hart Thank you
-
The compilation worked when using hardcoded effects. However one of my networks works fine as a ScriptFX until I try and use the compiled version, then it no longer functions and I don't know why. It's a very simple network.
HiseSnippet 1464.3oc6XssbaaCDET1P9RbZSlzO.8nyLIZHkk7koOzDeqUSqbzX45l27.SBYgHR.NjPwVsSeueV8Sp+As6RPJQJKKKqFmIOD4Y7vEXA1C18rKtzNR4xiiUQDq0NaXHmXsAsyPot2A8XBIo4gDqug1hEq4QULMs+vPVbL2iXYszOhMXs1xjje+yOrOymIc4iahPNWIb4+hHPnG2Z627yBe+iYd7yDA4zt9aZ5pjGn7UC.7rD0lDxb6ytheBCUqDkXU9HOgVE0Qyz7XPm8UdC6zScszn+4hXwk9bTvgzAlHSyjC5I78ZmsViIDqkaOdkujYk+czVBOwn1G6AdVRGUFOh79.qRyBRNO.HYkCRKafzyocbiDg5w8f34IzlRHfzkAt57PwnKw5uoGn.Ej5pAr97ii.gQCXyssseUE3eu766NP5pEJYEk7Dkl+N4lub8+X80V+OWuxjc0s6T6CMSjx2mGM0twnazrF3lxAAWxidUkOx7GvGoHr7K5SKOe9TWypNmhJYSoP+tPdp7wJeOzWgee6H.I0sAe8qMOjoYXPIsMPuPdjVfvw5P9GAVsIDsF8PdbesJD302J9ALGk2.eltHcByaR6.7GEhgXfRFKzCymW8.3X1yjiMuP74z1BsauoiwRSAifm5w.ioYlOkdT2tbW8X.tL832unog1O3zv0SSCAahFeiTwJG+dmol.9Wzwj8vHdHKhelpsOa3lwrfPe9o.FeUkK8Ut86H9c9syPBMPXeTiMc6wjRte7hjHU9STwIxopAZg7pVLcj3FhE8jAAcfxzt7CRQGzlUILGxHaixHunCW5kH7uvuzNcPYqzNcx5LW52Ib80pn9IgizuIVqXp80ApjwUfaibNOJF4lVqPsqB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-
@d-healey If you create public parameters at the FX level (the upmost top level bar) and connect them to the Delay Time and Pans parameters, it works.
After doing some tests it seems that they both don't retain their values if not controlled bymainpublic parameters. -
@Matt_SF I dont quite understand, could you post a snippet please?
-
@d-healey sure :
HiseSnippet 1742.3oc6YszaaaDDdokV4GwIMoMnnG0gdvAHQPTV9E5g3mJ0nQ1BRNN4lwFpUVLhZWVxU1Qsn26Oq9Sn+Tx+f1Y3RZRJSaIK+3PPjAL3rulucluY1kCa3Is399ROhw7GMzkSLVj1ZnP0cmtLaAY+cIFOgVm4q3dE0Ms8PWluOuMwvH2avFLlOOI32Wd81LGlvhG2Dgbrz1h+V691p3Var4uY63Ti0lejc+Dit5l6aIE6HcjC.7jiVl3xr5wNke.CG1LThQg8ZaqjdsTLE2mXjeaY6gs5JOWnG+w191ezgiBljVvBoatlzoMhX7YxNcscZ2HZe6SHFzFwVgbZqvyo0saaeQ6wVimFzQw3YjzdXLSZ3kKE7LuJ3kAjLR.o7ZH8LZKKOaWUbOHddDceA3b5v.ydRnnGKw3en6HgAHTk5y5wq4ABWLgkVsb4WVD92K9kNCDVJaonnTbfTwOTrzKV3OWX9E9qEJNZWc5jYenZ7jNNbuL6F8zdW2DWRLn+G4dur3YLmA7KFHr8SaSKLY1TK8tNw.kh8E1pCc4gxwjByL7.jPyF7z61eWlhgNkv1fw4x8T1HbL1keFvv0tn4o6x86ojt.G+R9Of4HaOvgoRSmvXnvN.6QJeH5nD91pgIiwFkik+psGkyLDHyc6DB2mQaXqr5lMdmIC7BVs6a7FFw9X5dc5vsTwfMOs1Gt1vy7SFUZLYOxHTcgvPUP+HPVLTrXsOXlYP5eSiCHb83tLO9QxFNrgK4y565vaB38kE+nizpWK6+fe4nHWMD1FGwRVcYBA2weZB1JbGk.izTNPYKNsNS4Y+YHE6AC52BRqaw2IDcPaFyfwYZ4xnLxWZwEsCD9O3WXmlnrQXmlQclHD8.t5boWu.2Q3yDiY0AXBs7I3YXbIYKGG446H66ZGxf0aLtmefvrzx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cMXSl4bZwTC7BpIUTskRTE0bSUoKSWb4DiOi5Xl+95qf7fVg5aeA0yMYvcLUBd9HL1xFqf6dhy3NPPR.F+dHpnCafiJp0zj75RgLppiwLflbkm8omh4YhwdlansTJlUu3Vd9lM4NbVR17OuothZAUYa5rE27OfUl9qehpgaQLxr3WGeHjbeE8gPtAP4gnj+OD5nOyxSdRXcvQt7bAs.6aQv2gddZcTtnI4rjGv2GxHdhkEZteEXexdNUlh4r7TLmpSwbVYJlypSwbVaJly5W6bvCiBeYHLTDZnwdAWQwvXOACXxArdx+SOlmpL
-
@d-healey You did it with the mix parameter. Sorry, I'm the one being unclear
-
Wow that's weird, if the delay node isn't connected to a parameter, it will in fact be initialised with a zero delay time (because the sample rate isn't known yet) if used in a compiled node.
It's fixed now, but weird that I haven't encountered this yet, it's rather basic as you said :)
-
BTW you can optimize the wet path like this:
- Use a multi container, this will automatically split up the stereo channels into LR (the
mul
node does nothing and the jdelay delays the right channel only. - If you don't modulate the delay time you can set the limit to the exact value of the delay time parameter - this will save some memory because the delay won't allocate as much (in this case it's 1-2MB of memory).
- Use a multi container, this will automatically split up the stereo channels into LR (the