Anyone have trouble exporting dll with switches?
-
@bfaudio It would be better if you share a simplified snippet to understand what’s going on. Maybe one other node causing this…
-
@orange sure, this is one of the networks I don't seem to be able to export.
HiseSnippet 1797.3oc6Zs0TaaDEdEvZ.WZaxjLsu5GIcR8nqVVSenIbwsdZg3FSYxaLKRqwZPRqijLfam9d+Y0eR8eP6YkjsjrE9hBzlIiEy.Zub18aOmy22tBoN9LSZP.yGIT8rQCnHg8vcG4E1+v9DaOT6iPBeA9DRPH0uVbUGLZ.IHfZgDD17G3UHr6Vnnq+96Of3P7LooUgPmyrMo+rsqcXZscd0OY63zhXQOy1MSuUeUaSl2gLG1P.OahEQCHlWSthdJg2sMvnejDzGI7MXCMMIhUO8dRJRFWZ0yjpnK1PUWln0rWOcQIUEK8dp.HqbrkcHyuaHIjF.C5ALqQc6yt0KdBN2Nv9RGJufDpKLywUiNrusiUmwNm.DRXqNotpMicUOGehsk8j5ScYOIpgZoVj0oIrw7fjzJ.IgLPZqXH8TbWSe6Agosvwymga6AQvdDH1jEJw8EI7W3CYPG7Bq6Rtl1xGJLwf8aHJ9xZvudw20anmYnMyqFy6TVH8Md6+hp+d0cq9GUqMcS85UXa7owm43P8KrYd5f+7LbeugtWR8eYsaHNCoS5Hr7y6Sqrb9Ty3UclNx7Z6YG9lAzjxsXNVbeE+9Yi.nD2Fb2u19HRHgGTRpC52.penMGNBGQuAnAwgncwGQCtNjM.HByD+fLGl0PGRX9zINQKoAvejKFxCTdA1gixRDWgbLw4lisrP7o3N1gl8KFiaT.FAO0iAFSXleN93d8nlgo.bKbq2UVZn3JSCqlPCg4jO46kTrVq2IUHA7OwoI6C7oCH9zyXcbHi1Of3Nvg9V.iur1kNLyq6Z+azYYHChgvA7druYehmG0InLDoJOPhSn2xFFZ6c0IjPe66PB3SG51Ez0MoGlfNnNgM3bn3xh7x77htTOqnB+CbkznDurPRiRiaLC86TZ3sL+qiBGI2iD1l662EeFyidwM.1o9A7LSgswh0gePu1wgc6gL2A1I4rPpZTccXNi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fyZAtOce.mDAN80BbKq.28VH2RatAOk6I3M4ESNUZ9x853x75Uy8N4F6.Qq7atZpktvVYicYRgWTXLWgkawT3aCO2xJ8s3NKphzJVBkkjRQhWZMTUZHqCxdMZpKZLCNqTHNm7P94vVBBPEZR56TX0sQtD1nTBaTKgMZEaSVRw3MDdT20YNi7GRLki6UJftXCjWUCTVUCTWUCzJvfo4Wfn9GBiuT5PGvXW6Rh9hhJ2212+Ee+StDSe1EIeIL7E2NQ0.tQujyTdBubMIzMImpaxWemqsk8Ell4GpYLTtrFpTVCUKqgZk0vFk0P8xZXyEaH+6GNYSYNuAgNoywQIgBBiOuE+yS4eQeEQ99
-
@bfaudio Why don't you modulate the Switcher directly? I think there is no need to put another knob in between here.
Also, if you are going to use that knob, you need to fix Range Mismatch. I've seen a crash before because of this.
-
@bfaudio I would also recommend a fixed stepSize, this may be causing your compilation issue.
HiseSnippet 1772.3oc6Zs0bZaDEVxvhuT21jIYZekGclI0itBnoOjDegVlV6PCtdxadVKVLZrjVhjv1zN889yp+jx+f1yJsfVABCnDmlICJyDq8x4re64x2YERsCn1jvPZfj71mMZ.QRdWTmQ9Q8OrO1wWp0QRxeC5DbXDInZRWGLZ.NLjzURVtzOw5Pd6xRwWu+EGfcw91jztjjNm5XS9UGOmnzda+xeww0sItK4LGOgYa7xV1T+Cotzg.dJgTjFfsuFeE4TLaZafjjqbbWmHZPmHbDITRt7Azti5zmdqex7O2Iz4RWBqgpTGPQIc2j51kgXVuRG12wsa6w66PIPKsSsBkRrBOEchSWmI8mZMdT7.USkPzdHuQV3UJC7TEgmh.7xARxBPpbBjdLpicfyfnzQX34qPs7AmSOLX1EgRxbkj+GzgTXB9Q66gulzL.ZLQf8pon77pv+8rer2Pe6HGpeUp+ozHxq826Y67m6r8N+0NUmdnd8xcL1xDPccIA4NLySGbeBtm+PuKIAOu5MX2gjISD19Yson4aSEc41I6ZgIR8a46D85AD+4EHHwMUvc+dqivQXlif2GLuAjfHGFDjOhbCDUm3V1FcD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ligSWQUgsgsrZXXUWQka353QoQ8gCbL1v8cLsoXkbUudMiFZlMzV901fs1S3JRvxrz9Hj978MyYCkiR2FcrOFNWUWoLSURLoVjjYadTt55LDH.TybcBxmuIHZ+ejfrIp6POuQYSO1AA13966MzclBWVFV0pqYYNmBWIJKS5wFy8nHkWzFLmCVj21YAGUchCM92DiqmxP5zLmTMup+vgVD2.RSU+W6An9eETDvarDk+Gytoslcac8+00+um5+5qyP9ru9OOcHcMGmwrt9+CWBxVIkrMWe.fBd..8GfC.fPtzau+e1uLraFEfcKU10zaqq++EN8Vs0zaEjdy3A44a56bU+Ufey7Cfeyb8C3rlf6K2GvgSvUeMA2xRvcOMV02LzTpVtrfsohPHxx9J2lYRoQHUX4mly4EvsbuwvIuj3LuzvwtmLI0BYrKQ9MuULEhYMC8ZZ0AxmZMpqXMyKyrxbfFmIOCz3HPJWQR+k8WcYzJfL5EPFiBHiY9xHxqLlV9Ak6+dz7GhOkg6UxgtXAzVUAzWUALVUALyQfoyu.p0EQelowTV8BwVc.kdsGN9y+oXeHdeJ9Xk7v1AzK3e5JrM2Vw8.lQe9I6Ng0tppzMSyW54z04Ba6rpZFA0Jpf5EUPihJnYQErVQErdQErwhEj8A9xOAHKuAJB1933fPY4wm5QVtjz+AzR+y9A
-
@orange @HISEnberg Thanks for input, unfortunately the error doesn't seem to be related to any of those tips.
The list of errors seems to pertain to the DspNetworks/Binaries/Source/ folder for each network.
example errors are:
"DspNetworks/Binaries/Source/Tone_v1.h:128:8: expected unqualified-id
using = parameter::empty;"
"DspNetworks/Binaries/Source/Tone_v1.h:137:59: no member named 'Tone_v1_t_plist' in namespace 'Tone_v1_impl::Tone_v1_t_parameters'
using Tone_v1_t_ = container::chain<Tone_v1_t_parameters::Tone_v1_t_plist<NV>, "
and on and on.
Still only happening with networks with switches.
Chris.
-
@bfaudio Ah, did you by any chance rename the containers or xfader nodes? Possibly try removing them, adding them back in and resaving the network. Same with the macro knobs. Sorry if its not the most useful advice but it sounds like there is a naming discrepancy in your .xml file.
-
@HISEnberg Yeah I renamed containers so I could more clearly see what's happening.
Ill try remove/add and see.Thanks!
Chris
-
@HISEnberg That seems to have fixed it! right, I know for future don't rename things inside script node templates.
-
sorry to awaken this but now I keep getting this error when trying to export dll's:
"hi_dsp_library/node_api/nodes/Container_Chain.h:97:15: non-const lvalue reference to type 'ProcessData<NumChannels aka 0>' cannot bind to a value of unrelated type 'ProcessData<1>'
obj.process(d);"
Can anyone point me in the right direction for this?
Thanks,
Chris
-
@bfaudio a channel mismatch perhaps? Can you post a snippet?
-
@HISEnberg Sorry took a minute to get back to this, snippet below:
HiseSnippet 2321.3oc6as0TiajEVBn49LaRkjJuxijJSboa9VsOjfAbFGvfwlPAOQIK01VfjZORx.dRkZec+Ys+j1+A61s5VVR1RXaYyLY1Empx3VceZc5y478cNc6lFNHMnqKxgieqKG1GxwuKn0PaudG1S0vlq1Qb7uETW00C5rG8QUF1W00Epywyu5uRd.+Vqw4+4e+yUTMUs0fgOhi6JjgF7TCKCuvm13WNwvzrppN7RCqHiV4WpogrODYhFf0mUABb8U0tWsK7LUxvVAvwu9w5FdHmVdpdPW7XpfzG1pG5Qa53uxv0nsIjzPjqEdhnOl6vdFl5MBVqtbb7q0HbkuJck+sf5F5FiddnE3q76XuPIhZC3W44TIw4Pk3inRqQUouFzRywnuWXOD8YGPMarCoiJ1TGUUniki+eANDgGfsWNK06gUcvMFIv9EDDd2d3+2O726LvVyy.YuGx9LjG7b68+gs+is2Z6+b68FuqNcRrOxqwAYZBcRrah2044Dbe6AVsgNuauGTMG.GMP7xOtMc8YylpQW0QFHxtlsg248gr1UQl5DaE46S5A3XlM7298ZGo5oRbJrmgGWenimAQc3OB9.Npl5h1BbDz8dOTebb8D9ObjCRefopW7vIBtg0A1dDyGRbT1tFdCihqliXLgmMFaVUwuFzvvSqWx53JIniXK0KgNxPluAbbmNPMuPEbMP0qyJLTXtggayfg32I4kuKq4dUuVLQ.3+DDFr22A1W0AdIpgo5v8cUs5aBah0w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Eq2Y6VFF49iF6dgD3.3FW61gdecI2sFtkyEhI9TLapc7aLTLMezcqIStlJHz8Vp9W45r8mMwm3qVNocpWs7fNCuZ4VpZNnaY2qXhYYS+mfA11rpBqSZisdOv7ii9ShvxP23VMs3S0DBJkUAkypfJYUv7YUvBYUvhYUvRSWPxeTWrepdBTgiqdii8Ce44O1VssI62u++BPyRVmE
I've created (attempted) a splitter that splits the signal between stereo, Freq split, MS and dual mono.
This is the last thing that has issues, and although I can export the whole plugin with this in it as a script fx, it crashes every daw I've got, which im assuming is linked to the error I get when trying to export as dll.
Chris
-
@bfaudio You have to specify the number of channels you want to use when building HISE in the preprocessor definitions if you intend to use more than 2 channels (NUM_CHANNELS = 4) or something along those lines. Someone may need to correct me though as I haven't used multiple channels in this way in quite some time.
Search the forum for working with multichannel, and check out the multi channel FX project from the tutorial: https://github.com/christophhart/hise_tutorial
-
@HISEnberg ahhh right thanks, I’ll try it when I get home. Very much still learning :)