DLL build error..
-
@d-healey I cant see anything, I've cleaned up the old unused xml - for nodes not included any more - like all the test nodes - and I'm slowly adding in nodes an compiling to see which is the problem child...
-
@Lindon -- OK found the culprit - its Merge2
-- which in your video you didnt compile - but I cant see any external dependencies...
- so what would they be? Any pointers?
-
@Lindon Oh yeah that one gave me an error, so I decided not to compile it for "educational purposes" I remember there was a multi node in there that was showing up red but I didn't investigate further.
-
This is a compile error from a send / receive node where the channel count doesn't match (or is unused).
Try removing all send / receive nodes until you find the culprit.
-
Oh yeah that one gave me an error, so I decided not to compile it for "educational purposes" I remember there was a multi node in there that was showing up red but I didn't investigate further.
Ah yes that explains it. If you have a multinode that has more child elements than channels, it will not be able to figure out a sane channel distribution and one child node ends up with zero channels, which then messes the send / receive connections.
Bottom line: If it's red, it's an error :)
-
@Christoph-Hart - its not red here...
heres the xml for the node(there are 5 stereo channels being passed in):
<?xml version="1.0" encoding="UTF-8"?> <Network ID="Merge2" Version="0.0.0"> <Node FactoryPath="container.chain" ID="Merge2" Bypassed="0" ShowParameters="1"> <Nodes> <Node ID="xfader" FactoryPath="control.xfader" Bypassed="0"> <Properties> <Property ID="NumParameters" Value="2"/> <Property ID="Mode" Value="RMS"/> </Properties> <SwitchTargets> <SwitchTarget> <Connections> <Connection NodeId="gain" ParameterId="Gain"/> </Connections> </SwitchTarget> <SwitchTarget> <Connections> <Connection NodeId="gain2" ParameterId="Gain"/> </Connections> </SwitchTarget> </SwitchTargets> <Parameters> <Parameter MinValue="0.0" MaxValue="1.0" ID="Value" Automated="1"/> </Parameters> </Node> <Node ID="multi" FactoryPath="container.multi" Bypassed="0" Folded="1"> <Nodes> <Node ID="DryChannel" FactoryPath="container.chain" Bypassed="0"> <Nodes> <Node ID="gain" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="-3.599998563528075"/> </Parameters> </Node> <Node ID="receive" FactoryPath="routing.receive" Bypassed="0"> <Parameters> <Parameter MinValue="0.0" MaxValue="1.0" ID="Feedback" Value="1.0"/> </Parameters> </Node> </Nodes> <Parameters/> </Node> <Node ID="Lo_and_combined" FactoryPath="container.chain" Bypassed="0"> <Nodes> <Node ID="gain1" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> <Node ID="receive1" FactoryPath="routing.receive" Bypassed="0"> <Parameters> <Parameter MinValue="0.0" MaxValue="1.0" ID="Feedback" Value="1.0"/> </Parameters> </Node> <Node ID="receive3" FactoryPath="routing.receive" Bypassed="0"> <Parameters> <Parameter MinValue="0.0" MaxValue="1.0" ID="Feedback" Value="1.0"/> </Parameters> </Node> <Node ID="receive4" FactoryPath="routing.receive" Bypassed="0"> <Parameters> <Parameter MinValue="0.0" MaxValue="1.0" ID="Feedback" Value="1.0"/> </Parameters> </Node> <Node ID="gain2" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> <Node ID="send" FactoryPath="routing.send" Bypassed="0"> <Properties> <Property ID="Connection" Value="receive"/> </Properties> <Parameters/> </Node> <Node ID="gain3" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Value="-100.0"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> </Nodes> <Parameters/> </Node> <Node ID="LoMidChannel" FactoryPath="container.chain" Bypassed="0"> <Nodes> <Node ID="gain4" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> <Node ID="send4" FactoryPath="routing.send" Bypassed="0"> <Properties> <Property ID="Connection" Value="receive4"/> </Properties> <Parameters/> </Node> <Node ID="gain5" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Value="-100.0"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> </Nodes> <Parameters/> </Node> <Node ID="HiMidChannel" FactoryPath="container.chain" Bypassed="0"> <Nodes> <Node ID="gain6" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> <Node ID="send2" FactoryPath="routing.send" Bypassed="0"> <Properties> <Property ID="Connection" Value="receive1"/> </Properties> <Parameters/> </Node> <Node ID="gain7" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Value="-100.0"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> </Nodes> <Parameters/> </Node> <Node ID="HiChannel" FactoryPath="container.chain" Bypassed="0"> <Nodes> <Node ID="gain8" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Automated="1"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> <Node ID="send3" FactoryPath="routing.send" Bypassed="0"> <Properties> <Property ID="Connection" Value="receive3"/> </Properties> <Parameters/> </Node> <Node ID="gain9" FactoryPath="core.gain" Bypassed="0"> <Parameters> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="Gain" Value="-100.0"/> <Parameter MinValue="0.0" MaxValue="1000.0" StepSize="0.1000000014901161" SkewFactor="0.3010300099849701" ID="Smoothing" Value="20.0"/> <Parameter MinValue="-100.0" MaxValue="0.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" ID="ResetValue" Value="0.0"/> </Parameters> </Node> </Nodes> <Parameters/> </Node> </Nodes> <Parameters/> </Node> </Nodes> <Parameters> <Parameter ID="LoGain" MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" Value="1.490116105173911e-6"> <Connections> <Connection NodeId="gain1" ParameterId="Gain"/> </Connections> </Parameter> <Parameter ID="LoMidGain" MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" Value="2.20000152289866"> <Connections> <Connection NodeId="gain4" ParameterId="Gain"/> </Connections> </Parameter> <Parameter ID="HiMidGain" MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" Value="-100.0"> <Connections> <Connection NodeId="gain6" ParameterId="Gain"/> </Connections> </Parameter> <Parameter ID="HiGain" MinValue="-100.0" MaxValue="24.0" StepSize="0.1000000014901161" SkewFactor="5.422270774841309" Value="-100.0"> <Connections> <Connection NodeId="gain8" ParameterId="Gain"/> </Connections> </Parameter> <Parameter ID="DryWetMix" MinValue="0.0" MaxValue="1.0" Value="0.5"> <Connections> <Connection NodeId="xfader" ParameterId="Value"/> </Connections> </Parameter> </Parameters> </Node> </Network>
-
@Lindon Then you need to set the
CompileChannelAmount
to 10 (5*2) (where you set theAllowCompilation
flag) before exporting.A compiled network has a static amount of channels (and the hardcoded FX module you'll load this into also needs to have 10 active channels or it will throw an error).
-
@Lindon you're using a
container.multi
somewhere. Maybe this one is the culprit : if you merge a 'one channel send' into a '2 channels receive' you'll get an error. You probably wanted to you use acontainer.split
instead. -
@Christoph-Hart Well this is becoming more frustrating than poking yourself in the eye with a stick... so now I have replaced all the Script FX nodes that have been compiled with their HardCodedMasterFx versions, and it all works fine in HISE, but when I come to compile my project I get this error:
..and DryLWR is most assuredly compiled, and working....as a HardCodedMasterFX, but its called something different in the HardCodedMasterFX where in the drop down its called "just" LWR
so how do I sort out this mis-match?
-
@Lindon Check if there is a mismatch between the XML filename and the root container's ID.
-
@Christoph-Hart - yep checked that is the same, also changed the node ID to the same as well>
<?xml version="1.0" encoding="UTF-8"?> <Network ID="DryLWR" Version="0.0.0" AllowCompilation="1"> <Node FactoryPath="container.chain" ID="DryLWR" Bypassed="0" ShowParameters="1"> <Nodes> <Node ID="FilterA" FactoryPath="filters.linkwitzriley" Bypassed="0"> <ComplexData> ...etc...
still the same problem...I may have to completely recompile all this stuff...
-
@Lindon --- yeah that fixed it... clearly a lesson for those building ScriptFX projects :
- Dont rename your primary node - the name you give it at the start should stay that name for ever...
-
@Lindon Yeah, I think I'll add an error message when you try to rename the root node. Then you can still go into the XML and rename the file manually.