ScriptNode: problems when compiling network to dll
-
Heyhey,
I've been working on this tape machine style delay in ScriptNode. It's become kind of a messy project because I've been trying out new things. Within ScriptNode, everything works fine. When I try to compile as dll, HISE crashes. I tried removing some of the containers, to figure out which ones are causing problems. There are some combinations with which HISE compiles the dll (for example by removing the bottom EQ/ToneControl), but when I open it in the HardcodedMasterFX, it crashes again. After a crash, HISE wont let me open that project again and I have to create a brand new one.
Can someone help me understand why this is happening?
HiseSnippet 3870.3oc6cs7ibbTFumccM6CuNNI1FhDbX.4CNhjQ8iY5tGgfc8tq23Uwq83cbrCmLsmtlc6r8zcmt6YWuAAH3DGxk.RfP4BRHNfDH3e.D9u.H4.hCPfHdbgS4BRvInp9Y08z8L0zyic2XOVxZ6pptpe02q5qpupptosYaniioMSokt2wVPlRq.Zcrg69aruhlAy1axT5BfMg5JG2z1z0TfY8isTbbfpLkJM+qgKRokNGi2uOY00UzULZCiShg49lZsg2RqqlabpMW600z02RQEdOstDkt1Za21zXCScydH3LOfkwRo8AJ6AusBtXyAXJU9FpZtl1sbUbgNLkN25lpG2ZeyiL7K+80bzdjND+.GSKTE4m7Vl5pXDiSkYi80zUaF1scXXJAZFSDl2mHbYvNZpZQoGSLdduLpD+FjziRykDdym.dbjvik.dY.oRDP5b9P5E.sZaqY4FmCFOmGrsgKztiBhrSBE+xxT5IfMLQEvvsZWkCfaYidH5EtlHK6qTA8eu7WtSOi1tZlFULMtsoK7NFW6kW9ar7RK+MWtR5r5zIy7vMisotNzNyrwbZ6A8hWynW2GAsekJGpn2CFUPT2OIMEjOMkjk21uWSTPSisMzbuiEzHOAAl.RE5udis2TwUAyHBRCUNKnsqFFBk1DdHRp1msrDR6v4.WSKjbce7LjzhoZOcE2jhPX8lfLPzfD7MLywvQy8XR8pIlbEsP7E.M0baue1XbtLvHhRMMvXf13E.2nSGXa2X.dNvVu4rS0a4.UOTaha7UBdrxVuIWlJceOPr.tkMzRwFdOylHanWyQoqkNbWDFekJOR2r8AszdGX+ZEV9PXcbItV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qJNR7m4+yPmgqR
I'm using the most recent develop branch.
Thanks
-
@alhug I think you can have max 16 parameters, it's 17 in yours
maybe that's why it crashes? -
@ulrik unfortunately, that didn't work either.
-
@alhug sorry to hear, I think someone more familiar with scriptnode than me, should take a look at this, sorry I couldn't help
-
@ulrik I think I've lifted the max parameter limit - if you exceed 16, then it will dynamically allocate more parameters.
It seems to be a quite complex patch and I noticed two issues:
- The last container (Tone) has a recursive parameter connection (xfader to the container parameters). This causes an endless loop at code generation, which is why it crashed on you. I've added a failsafe to detect that on both the UI level (trying to connect a modulation output to a parent container's parameter will show a invalid icon) as well as the codegen stage (will abort compilation and show the error message with the parameter that has the recursive connection). In order to solve that, just connect the eq gain parameters directly to the fader without going through their parent parameter.
- If you do this, the compilation goes through but it crashes because you have a slider bank with an unconnected slider at index 1. The compiled node expects all sliders to be connected, however that is not coherent with the scriptnode version, so I've changed that. There's a small performance overhead when modulating a slider bank, but now it's consistent with the scriptnode behaviour.
I've pushed the fixes for this and I can compile and load your network now. Attached is the updated snippet with the recursive connection removed.
HiseSnippet 3738.3oc6c0sbaiaElxNP9m3r6llrs6E8BcQuH6zDMDf+O8hMI1waxz3DuVoI6cYXjfr4ZJRsjT1wamdeer5iPeD5iPeCZO.jTBjhRlT+X4jXmYxHB.BbvAmy24.b..OLvuMMLzOPp1Vu4h9ToZ6fZcgWzI6dhsimzK1Sp1WgNvNLhFzHNomdQe6vPZGoZ0V+GYITaqaIw+6+9CO0101qMcTRRRu02oM8kN8bhFk5gO9u535tucG5ab5ITZ0G+h19d6565O.nm0QxR8saep8wzWYyJ1ZHoZ0eVGmH+fVQ1QzPnLO0uyEsNw+bu3x+VmPmO3RYOfkZAUTbxR6dhiamCS6qgRR0PGNpmudbO+9nCb53LL8QbfugmQiQugHOn1ZSijvUfjpIPR2JljtKpU6.m9QixgQO2F8BOX.oqMvpEIk3xJU6eg10GJfWTyd1mR2O.dX3K7.cY4G1.9uu+uzcfW6HGeuF9duxOh9ZuG78a+22dqs+Ga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DZ7o62+i0+r96+Q409.7vq2ih+ADfKSZvGJarZFKuJ9rgbUzF8raG3+9jsK.SoeSdJP+1i+soZKvkK34FXoyD8bpGXt38samdSZT76Plg2QYFdG0Y3czlg2QeFdGiY3cLm56vrTmrh+LYdHgCeVb.UpktN2f3uz+G.8WMz1
-
@Christoph-Hart said in ScriptNode: problems when compiling network to dll:
@ulrik I think I've lifted the max parameter limit - if you exceed 16, then it will dynamically allocate more parameters.
Ok, I was not aware of that. Great!
-
@Christoph-Hart fantastic. For some reason I had to recompile HISE. But now everything's working perfectly. Thanks.
-
@alhug said in ScriptNode: problems when compiling network to dll:
For some reason I had to recompile HISE
Well if you don't recompile it, you don't get the changes I made :)
-
@Christoph-Hart ohh I see. you made the changes to the develop branch. Well, thank you sir, it's highly appreciated.
-
@ulrik said in ScriptNode: problems when compiling network to dll:
@Christoph-Hart said in ScriptNode: problems when compiling network to dll:
@ulrik I think I've lifted the max parameter limit - if you exceed 16, then it will dynamically allocate more parameters.
Ok, I was not aware of that. Great!
@Christoph-Hart are you sure it's working with more than 16 parameters?
I have a network with more than 20 parameters, I can compile the network to a dll but when loading Hise again it will crash, I have to delete the compiled dll, then Hise will open the project without crashing. So there is something strange with more than 16 parameters... -
@ulrik Can you make a minimal example with more than 16 parameters and check if it works? If not, please upload it then I'll take a look. The limitation is lifted, but it might be a problem at some other point in the process, however I'm pretty sure I've build and loaded an effect with more than 16 parameters recently.
-
@Christoph-Hart ok, I'll do that
-
@Christoph-Hart said in ScriptNode: problems when compiling network to dll:
@ulrik Can you make a minimal example with more than 16 parameters and check if it works? If not, please upload it then I'll take a look. The limitation is lifted, but it might be a problem at some other point in the process, however I'm pretty sure I've build and loaded an effect with more than 16 parameters recently.
I think you're right, I have successfully built an effect with 17 parameters and everything is working.
What I was referring to before, was a project I had with more than 20 parameters, but my project seems to be badly built and crashed Hise every time I tried to load the dsp.
So I removed a lot of parameters and found other solutions to reduce the amount of parameters, but the compiled network still crashes Hise, my bad...This is the project I'm talking about https://forum.hise.audio/topic/8258/what-s-wrong-with-my-network