HISE Logo Forum
    • Categories
    • Register
    • Login

    DLL build error..

    Scheduled Pinned Locked Moved General Questions
    17 Posts 4 Posters 443 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @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.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        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.

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Christoph Hart
          last edited by

          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 :)

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @Christoph Hart
            last edited by Lindon

            @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>
            
            

            HISE Development for hire.
            www.channelrobot.com

            Christoph HartC Matt_SFM 2 Replies Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @Lindon
              last edited by Christoph Hart

              @Lindon Then you need to set the CompileChannelAmount to 10 (5*2) (where you set the AllowCompilation 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).

              LindonL 1 Reply Last reply Reply Quote 0
              • Matt_SFM
                Matt_SF @Lindon
                last edited by

                @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 a container.split instead.

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

                1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Christoph Hart
                  last edited by

                  @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:

                  43f31344-20fd-4b73-b0f1-e1f435536087-image.png

                  ..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?

                  HISE Development for hire.
                  www.channelrobot.com

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @Lindon
                    last edited by

                    @Lindon Check if there is a mismatch between the XML filename and the root container's ID.

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Christoph Hart
                      last edited by

                      @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...

                      HISE Development for hire.
                      www.channelrobot.com

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Lindon
                        last edited by

                        @Lindon --- yeah that fixed it... clearly a lesson for those building ScriptFX projects :

                        1. Dont rename your primary node - the name you give it at the start should stay that name for ever...

                        HISE Development for hire.
                        www.channelrobot.com

                        Christoph HartC 1 Reply Last reply Reply Quote 2
                        • Christoph HartC
                          Christoph Hart @Lindon
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post

                          49

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts