HISE Logo Forum
    • Categories
    • Register
    • Login

    GLOBAL CABLE not working in compiled vst

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 7 Posters 820 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.
    • G
      glek
      last edited by

      Windows 10, Hise develop branch, compiled yesterday

      I made a multiband compressor using ScriptNode.
      Then i compiled it into Hardcoded Master Fx.
      Connected the ui parameters.
      Everything works fine, except the Input Level and Gain Reduction meters which are connected using global_cable. They dont work in compiled vst. (but work in hise)

      Is there some step im missing?

      https://forum.hise.audio/topic/8636/ Here is a similar problem, but it wasnt really solved.
      When i export vst with uncompiled ScriptNode it errors in daw. (im not sure if thats ok)
      fl error.png

      I created a simpler project from scratch to test this, but problem remains.
      project files: https://drive.google.com/file/d/1yobcCpQLM9ViJJ4I53izSLr5Hc7-OGUy
      screen.gif

      I even tried compiling "Scriptnode Visualisation 101" snippet, problem remains.

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

        @glek I dont think you can use Global Cables (or Global send/receive nodes) inside a compiled ScriptNode ...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon but then why does it work inside hise...

          hise1.gif

          ShelestS StraticahS 2 Replies Last reply Reply Quote 0
          • ShelestS
            Shelest @glek
            last edited by

            @glek I would compile a scriptnode dll in a static position of the parameter range you need. And then in the code editor, I would affect them using the gain reduction of the dynamics module.

            1 Reply Last reply Reply Quote 0
            • StraticahS
              Straticah @glek
              last edited by Straticah

              @glek did you try exporting your plugin with the scriptnode inside, rather than compiling the node into a hardcoded FX?

              Works like a charm on my end. I export my nodes without doing the compilation manually and loading it into the hardcodedmasterFX container.

              building user interfaces in HISE :)
              web: www.vst-design.com

              G 1 Reply Last reply Reply Quote 0
              • G
                glek @Straticah
                last edited by

                @Straticah When i export vst with uncompiled ScriptNode it errors in daw.
                fl error.png

                But it anyway wont work because it doesnt when i compile "Scriptnode Visualisation 101" snippet
                Scriptnode Visualisation 101 1.png

                StraticahS 1 Reply Last reply Reply Quote 0
                • StraticahS
                  Straticah @glek
                  last edited by Straticah

                  @glek yeah the second one did not work on my end either.

                  but mapping the compressor to a knob that moves did work on my end.

                  Make sure your scriptnode is set to allow compilation and dont save it before compiling (and delete old ones from HISE Projects\project name\DspNetworks\Networks

                  building user interfaces in HISE :)
                  web: www.vst-design.com

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    glek @Straticah
                    last edited by

                    @Straticah said in GLOBAL CABLE not working in compiled vst:

                    dont save it before compiling

                    I don't understand this

                    if you don't save the scriptnode before compiling it will compile the wrong thing

                    No?

                    StraticahS 1 Reply Last reply Reply Quote 0
                    • StraticahS
                      Straticah @glek
                      last edited by Straticah

                      @glek its saved in the project, you just have to save the project as an xml file.

                      You only have to compile 3rd party dsp nodes inside of scriptnode.

                      here is an example, i can export this as a vst, no hardcode or dll compiling required

                      efe0f776-62c9-4f40-a5df-6c830f468241-image.png

                      building user interfaces in HISE :)
                      web: www.vst-design.com

                      G M 2 Replies Last reply Reply Quote 1
                      • G
                        glek @Straticah
                        last edited by

                        @Straticah ok, now i got it working, thank you.

                        but thats weird anyway

                        StraticahS 1 Reply Last reply Reply Quote 0
                        • StraticahS
                          Straticah @glek
                          last edited by

                          @glek no problem, i think its more intuitive than compiling stuff :)

                          building user interfaces in HISE :)
                          web: www.vst-design.com

                          1 Reply Last reply Reply Quote 0
                          • M
                            Mighty23 @Straticah
                            last edited by

                            @Straticah said in GLOBAL CABLE not working in compiled vst:

                            You only have to compile 3rd party dsp nodes inside of scriptnode.

                            Sorry I didn't understand this part of the workflow. I have a scriptnode with a FAUST node connected to two global cables, I can't compile the FX Script otherwise I don't have the global cables in my plugin but I have to compile the node because otherwise I can't use FAUST? So I'm stuck in this limbo?

                            Free Party, Free Tekno & Free Software too

                            StraticahS 1 Reply Last reply Reply Quote 0
                            • StraticahS
                              Straticah @Mighty23
                              last edited by

                              @Mighty23 i dont use FAUST that often but you could compile the faust node - then load it tinto the scriptnoded that has the global cable.

                              I assume if you export a FAUST project without compiking the node it gives an error?

                              building user interfaces in HISE :)
                              web: www.vst-design.com

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Mighty23 @Straticah
                                last edited by

                                @Straticah said in GLOBAL CABLE not working in compiled vst:

                                I assume if you export a FAUST project without compiking the node it gives an error?

                                Usually, I don't get errors if I just compile a Faust node instead of whole ScriptFX. But if the Faust node is linked to other nodes in ScriptFX, I would lose the use of those nodes in the Hardcoded master FX.
                                Example:

                                31c2cc9c-f70d-4402-bbef-b1986d3e9414-image.png

                                Free Party, Free Tekno & Free Software too

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

                                  @Mighty23 global cables should work in a compiled plugin, but it‘s rarely used so it might be broken. I‘ll check it real quick.

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

                                    @Christoph-Hart

                                    Seconded. I didn't post about it bc I assumed I was doing it wrong, but it worked for me uncompiled (previous version of hise) and not compiled.

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

                                      Ah yes, it was in fact not working in the compiled plugin - I somehow missed to call the connection call after compiling the plugin. Should be fixed now.

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

                                      10

                                      Online

                                      1.7k

                                      Users

                                      11.8k

                                      Topics

                                      102.7k

                                      Posts