HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust not working inside compiled scriptnode

    Scheduled Pinned Locked Moved ScriptNode
    10 Posts 3 Posters 429 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.
    • whoopsydoodleW
      whoopsydoodle
      last edited by whoopsydoodle

      I'm trying to make a scriptnode that uses nodes and Faust modules chained together.

      I've set the compile flag for the whole script and the compile dialog shows both my entire script and the faust module itself as compilable.

      After the compile, I try to add my script back as a hardcoded script. I see both the faust section and my full script listed as binaries. If I select the faust script it works fine but only has that faust section. If I select the full script, the rest of it works but the faust part that was inside it seems to be bypassed.

      Am I doing something wrong or can a whole scriptnode with faust inside it not be compiled?

      I'm trying to do somewhat convoluted routing with lfo in the scriptnode controlling parameters of the faust node. So I can't just have multiple scripts in the module tree and process the faust section in serial, I need the script to control the faust.

      A LindonL 2 Replies Last reply Reply Quote 0
      • A
        aaronventure @whoopsydoodle
        last edited by

        @whoopsydoodle pull and compile the latest develop commit that passes the CI test (check github), then update Faust to the latest version.

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

          @whoopsydoodle said in Faust not working inside compiled scriptnode:

          After the compile, I try to add my script back as a hardcoded script. I see both the faust section and my full script listed as binaries. If I select the faust script it works fine but only has that faust section. If I select the full script, the rest of it works but the faust part that was inside it seems to be bypassed.

          Ok so you only ever need to select the "full script" - if you select the "Faust file" it will only show you the controls the core.faust node is exposing (I'm guessing these are the controls you are modulating in your "Full script") - if its all compiling it would usually work Ok - make sure you havent bypassed the core.faust node, and that you are modulating faust params using the exposed controls from core.faust node.

          HISE Development for hire.
          www.channelrobot.com

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

            heres a simple wavefolder done in Faust as an example;

            d3c60233-ec72-4ce9-a00b-c803bafafd8f-image.png

            Here's what it looks like compiled and loaded into a hardcoded master fx

            a68c8c03-a9bd-48fa-9a9d-6a7644e15179-image.png

            if I select just the Faust nodes file it looks like this:
            4053fa25-13ec-44c8-ba14-c75f9ecfa7c6-image.png

            HISE Development for hire.
            www.channelrobot.com

            whoopsydoodleW 1 Reply Last reply Reply Quote 0
            • whoopsydoodleW
              whoopsydoodle @aaronventure
              last edited by

              @aaronventure I did this about a week ago. Is this a newly fixed bug?

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

                @Lindon yep. This closely describes what I’m getting. Except that when I load the full script version as a hardcoded fx the audio passes like the Faust section has been disabled. Anything changing the audio in scriptnode modules only acts as expected and all of my parameter knobs are shown.

                1 Reply Last reply Reply Quote 0
                • whoopsydoodleW
                  whoopsydoodle
                  last edited by

                  I just made a new more simple scriptnode with the same faust module and it compiled fine.

                  So there is something about the specific scriptnode I am working with that's causing it's faust to not function when it compiles. It functions properly when doing the live preview but for some reason when I compile it to DLL it breaks the faust part.

                  I'm going through my script now and one by one deleting things to try to figure out what is causing the issue.

                  Are there any previously known circumstances that cause faust to stop working when compiled to dll? It was my assumption that if it works in the live script node it'll be the same just more optimized when compiled and then used as a hardcoded fx. Apparently that's not the case.

                  1 Reply Last reply Reply Quote 0
                  • whoopsydoodleW
                    whoopsydoodle
                    last edited by

                    I found a culprit.

                    I'm still doing testing in case it's an interaction between 2 different nodes causing the issue but right now it looks like if you have your parameter knob sending to a control.blend node and then the output of that blend going to a faust node it causes the issue. After being compiled to DLL the parameter control does not reach the faust node.

                    LindonL A 2 Replies Last reply Reply Quote 0
                    • LindonL
                      Lindon @whoopsydoodle
                      last edited by

                      @whoopsydoodle good catch.

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 0
                      • A
                        aaronventure @whoopsydoodle
                        last edited by aaronventure

                        @whoopsydoodle Post an issue on Github, provide as much data as possible (snippet, compiled VST, LICEcap gifs etc.) and add a link to this thread as well.

                        Link Preview Image
                        Issues · christophhart/HISE

                        The open source framework for sample based instruments - Issues · christophhart/HISE

                        favicon

                        GitHub (github.com)

                        Lest it gets lost in the flood.

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

                        37

                        Online

                        1.7k

                        Users

                        11.9k

                        Topics

                        103.5k

                        Posts