HISE Logo Forum
    • Categories
    • Register
    • Login

    Once compiled, can Hardcoded module still access specific node/node's value?

    Scheduled Pinned Locked Moved Bug Reports
    7 Posts 3 Posters 128 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.
    • ustkU
      ustk
      last edited by ustk

      Because once compiled I get -> "! Unknown function 'get'"

      const var bottomNetwork = Engine.getDspNetworkReference("BottomFX", "BottomFxNetwork");
      const var bottomNetworkCompReductionNode = bottomNetwork.get("CompReductionAddNode"); // ! Unknown function 'get'
      const var bottomNetworkCompReductionNodeValue = bottomNetworkCompReductionNode.getParameter("Value");
      

      So is the error mine?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @ustk
        last edited by

        Bump ☺
        I am unable to push my plugin in testing phase without this. Totally stuck 😕

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @ustk
          last edited by

          @ustk It's no longer a network once it's compiled, so I would assume you can't access the individual nodes.

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

          ustkU 2 Replies Last reply Reply Quote 0
          • ustkU
            ustk @d.healey
            last edited by ustk

            @d-healey Thanks for your response Dave!
            That is what I assume too, but nodes must have been translated to something still accessible or there would be no point in having an API for that, since DSPs are meant to be compiled... @Christoph-Hart ?

            How one reads a simple value? I could get a display buffer, but calling an entire buffer just to grab the last value doesn't seem right... right?

            1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @d.healey
              last edited by

              @d-healey @Christoph-Hart In fact in the DspNetworks/Binaries/Source folder there are the header files with the entire DSP structure using the node IDs, so in the end there should be a translation to still have the script access, making me think that it's more a bug/lack of implementation rather than an impossibility

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

                @ustk nope once compiled they are a blackbox.

                You don‘t need to compile nodes it just makes them faster especially when doing complex stuff and if you need to access them through the API then it‘s definitely a case of leaving them in the interpreted state.

                ustkU 1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk @Christoph Hart
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  14

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.6k

                  Posts