Scripnode 101
-
@christoph-hart I think that works the same as I posted above.
I've added another node to your example. It seems that all nodes can only be controlled by control callbacks.HiseSnippet 1432.3oc0X0raaaDDdoroarZbfSQd.H7IY.WCI2zzBDTXE+iBDRkiPjiQtYrlbk0BQtKK2UwhInmZOzWgbqm6gdumZu0S8TeB5aPt2CsyrjRbokRhfPS.JOXvc1Y39MyNy2LxcSj9LkRlPbV+zzXFw4lt8RE5AGNfxEj1GQbtkaGpRyR7xDcPZLUoXADGmUdHJvY8UIlmWu+AzPpvmUHhPNSx8YeMOhqKj1s4i3ggsnArS4QVZe2ls8khCkgxQ.dVwsNIl5OjdI6DJpVEWhyZGGv0xjdZploHNqdfLHs2.4UhL8Oiq3WDxvEMH8fOTl3Vxv.DwnTxgC3gAcm32JB7U5VDEVIKJbG2N7.9T4EQiMMa3UXgc7voRY3sRI30vFd0sf2bfjiEjVMCR21smeBOVWrChmO1ss.tb5SgvtMTxzk37atGJAED5cinCYsRfESMn18pWeGO3Oae+9iD9ZtT3IEmH0rGKpsc0WVc8peaUuquU+9ycO7XRjggrj4tMdSm71LrlXTzErjc7dNMbDaphf6WNl59lio1W49YdskhRQaAW+3Xl3MkHPxCUP7uRNp.U0ln+sxi98B4ArDBGBxej6iDxKZPL.1NmmrvFu2bL9osOhpoXNPNb.HFyRzbz6cNh8bnfJKiXc2iXpgZYrAuQwRABdma8NQ7XHL572vYkhu7SvKJcJFCWyn.IhGDDx5JUb7NxpB+WAhf3d7WXP7KuyO+v+5Ee+9Q1j.DRDcrMmfZT+97wlp297vHkFvT6Hnnl37ItOUw7BX8oiB0dpgv2IjKFxBNUZzOdxcS6.Cujwc7Z8rF.uPBPI.ow3N2vsSpA1DqfvFuyHeAJaJalV.YQy+mELHyxU.rTxfQgTcYpKjuNeCzUr4KPRAA3ho1v8+L9rEEh21sKW6OX9XrxbvHVp9d.i4cA1v8398Y95B.tpaqm8gixuZ90Lbl3gW5VeNj8U9cGWf2SoANzDu.Ur2W4cr3RtfsqeBCv2Qp3SX5qjICqskxXy48G2Xqsue0pE1gVA1t6kLcYsPIcmT3UaqouZrGsPwzsjIWQSBxI.UmJmpkpVeZnhg5ZcXXEFbdS5QQCBPI01Jqhdqc7fFT0Qa3BnZfY22vnn+jJd69FFjbFtDFkwuV1F22zOoJZEtcNBOjFFdALjQsrumUiv3DFvxv.OHjlVSQihCYOAhg63cQnzeHV2Oa2r7hzCPMp4OfJDrP0xzzasENqpwaOo9IxQZt3xNTfpAo8OYTTOX7Je1g4nC6.TA6YkstNtFqq5wDAlE+C7juYCbsS9lMlroUaSmEny2T55Ya8kmbZpFxeGpExR8KxDIOHLTdEx0yyIIfR.irtxvz3ARA2GEkowDG8AQxQXigLu0oxIx.jiuE0Ghyoco5AH8CN1.TqyR10eZMeoyFMaxDpYAJ3XhLsb.R5REkv0UQ1Oxe4rhUq7rBdbEPmUI6bZqNC20mFRNKK3.fEOQUAhcQUq5dAvSlLRMfTxA1vs+3cmt0hiUmJ1HiXAaDlSVA8N6vEmU9Zaylcniulr5M6Y0ZDD7iu5U+x98FxtJCs18XxbmC35iXwfKLyW5AizxHnJHXZvHOFrga7.phcd.CJPKGF1DCC169AIRb2YiD+vetXQhleWzere137sRXeyHlvO85ghzqEJJAsJVPasrOTgjYgJgL6k1q2+ZP07L+KsY9blJeAyPuoJuLOyEGawJssq8DbV2+jq6H2rvQ168um.y7rPdR4juRNi8UH4.obXD0PosbC16XMSq66lSc7j76zIunJGJZhCo9AoqPD0OQdte9j.faeCiDn0fv7y4W2sCt1a5Ofx0s9t0wws4m66iiZ8oMHj4aydKgMe1RXycWBa97kvl6sD17EKgMe4a0F7+rQNGClsCB5drIk0w4XAEl2vvPR9W.jKz6uC
My prototype dsp network has about 100 parameters and I'm too lazy to write 100 callbacks :)
-
I guess a more direct question is: how do I bypass the oversampling from the Main Interface in this example?
HiseSnippet 1246.3ocuW0raaaDDdorV2Zk3.mhdnG0QG.WCoTmzBzCVVxVsBIVVHzUH2bWQtJZgH2kgbksXJJPA5k7FT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BTG81XIcbfa4AL9IY6p+W6b.Y7Ly89c5NsiZAbk6i5NjdVTTV2HzpfyaoiyZWS.UKqonbIifWcL+4.4nkdNo1s3CSk8uANZClaq2cjT3B5R1SY0wj4YBKYnzelVUodR9Byry8+qnyHCNEIuKfd2wYw4mqgyLVcIJAux.5FXuAj.5o1TnGzrRD8GWQe0KA9xoiuKNuBqdg3b7J3coyvqd2ae6usyb7p5+h6erSzGhl97yY3VSpmkaoCsrCxDjz4SWsjt7WkjNsrUsq8j4ZyKR7AOYd94O.0ZPa1M5pm2M21sTc9bo8izSJcNuOqBM6kY83d.nKuxb3C5Vnl7bNsz6vMRtCSegQF3mHte025X+wvKmCBhBjPrtgPLzkD9lvU5SuuVdAqKwxWbZ7itTwx0CmARG7veQwh3CTiMm9KRfwUqTE95Ya1oVVp91eI7IQK1m6tB97UqfO2aE749qfOOXE74qWAe9lk5i5GWMtYghpASzY+PxkgQ7uwfRcD8u.ZSmJoA
Not sure why but
(value)
for the comboBox doesn't work with the xFader, probably because they go in steps of .5 or something /shrug -
@iamlamprey That's definitely one way to do it. The issue is I have about 10 areas that need oversampling (each containing 1-3 nodes). It might not be the most economical way to handle a dsp network that is already pushing 100 nodes.
What I really need is a way to access this parameter on the main interface: -
@matt_sf said in Scripnode 101:
With latest versions you can compile a dll with the workbench, then just compile your plugin with HISE and the dll network will be embedded into your plugin.
Can you give some more info on this? I've already created a network in HISE. Do I need to open this network in workbench and export a .dll? How do I do this? I don't see that option:
Is it this one:?
if so, that just makes Workbench crash
-
@dustbro said in Scripnode 101:
Is it this one:?
Yes.
@dustbro said in Scripnode 101:
if so, that just makes Workbench crash
@crd Has been having the same issue. Did you compile the latest version of the Workbench?
-
@d-healey said in Scripnode 101:
Did you compile the latest version of the Workbench?
I'm using the version from Nov29
Lemme see if there's an update -
-
@d-healey yes
-
@dustbro the last develop build fixed the crash for me when compiling wrapped nodes.
-
@crd said in Scripnode 101:
last develop build
I just compiled the latest develop branch. Workbench is still crashing when I Compile DSP networks
-
@dustbro said in Scripnode 101:
when I Compile DSP networks
Did you try a test network with just a core.osc?
-
@d-healey Here's the minimal test I'm doing:
-
@Christoph-Hart
debug workbench -
@dustbro wrap the node before you compile it. Christoph explains the process in this thread
-
@crd said in Scripnode 101:
wrap the node before you compile it
Did you say "wrap" or "crash"? Cause I can get ONE of those to happen :beaming_face_with_smiling_eyes: :beaming_face_with_smiling_eyes:
-
@dustbro ha :) sorry that does seem like the right steps.
-
Through trial and error, I'm able to wrap a node in HISE by closing and reopening between each step.
-
This post is deleted! -
now when I compile the dsp network, I get these errors in VS2017:
1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\chain.h(38): error C2923: 'scriptnode::container::chain': 'NV' is not a valid template type argument for parameter 'ParameterClass' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\chain.h(35): note: see declaration of 'NV' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\chain.h(36): error C2955: 'scriptnode::container::chain': use of class template requires template argument list (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\documents\github\hise\hi_dsp_library\node_api\nodes\container_chain.h(127): note: see declaration of 'scriptnode::container::chain' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\chain.h(43): error C2955: 'scriptnode::container::chain': use of class template requires template argument list (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\documents\github\hise\hi_dsp_library\node_api\nodes\container_chain.h(127): note: see declaration of 'scriptnode::container::chain' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\dspnetwork.h(23): error C2923: 'scriptnode::container::chain': 'NV' is not a valid template type argument for parameter 'ParameterClass' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\dspnetwork.h(20): note: see declaration of 'NV' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\dspnetwork.h(21): error C2955: 'scriptnode::container::chain': use of class template requires template argument list (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\documents\github\hise\hi_dsp_library\node_api\nodes\container_chain.h(127): note: see declaration of 'scriptnode::container::chain' (compiling source file ..\..\Source\Main.cpp) 1>c:\users\dan\desktop\wrap 3\dspnetworks\binaries\source\dspnetwork.h(28): error C2955: 'scriptnode::container::chain': use of class template requires template argument list (compiling source file ..\..\Source\Main.cpp)