HISE Logo Forum
    • Categories
    • Register
    • Login

    Flanger in scriptnode

    Scheduled Pinned Locked Moved General Questions
    45 Posts 6 Posters 3.0k 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.
    • NatanN
      Natan @LeeC
      last edited by Natan

      @LeeC @Christoph-Hart Already Mentioned This That Scriptnode Can Go Crazy On CPU, And Also Provided The Idea Of Exporting The Nodes As CPP Custom Modules To Reduce The CPU Usage.

      If You Export The Above Example To CPP It'll Drop to Around 3/4 Percent Cpu Usage Instead Of 12/18 Percent.

      But Now By Exporting My Fx Plugin, The Custom Node CPP Stop Working Or Somehow Is Inaudible.
      It's Like Its On Bypass But It's Not....

      1 Reply Last reply Reply Quote 1
      • L
        LeeC @LeeC
        last edited by LeeC

        @Natanr how do use an exported CPP custom node after recompiling HISE?
        I'm trying to give this a try...

        NatanN 1 Reply Last reply Reply Quote 0
        • NatanN
          Natan @LeeC
          last edited by

          @LeeC It's Simple And Reduces The CPU Usage,
          But Somehow The Custom node Doesn't Integrate Into The Final FX Plugin Export.

          In Hise Back End It Works, But No Glory When You Export The Project, Kinda It Gets Bypassed Or Mutes The Module.

          @Christoph-Hart Still Waiting For Answer To This, Because My Project Is Now Useless 😩

          L 1 Reply Last reply Reply Quote 1
          • L
            LeeC @Natan
            last edited by

            @Natanr shame.
            So is the idea behind exporting a CPP custom node to reduce CPU both in HISE and the final compiled plugin (in a DAW)?
            Or does it just reduce the CPU in HISE?

            NatanN 1 Reply Last reply Reply Quote 0
            • NatanN
              Natan @LeeC
              last edited by

              @LeeC I Guess It Should Work With Final Export In Your DAW, Or The Process Come Up A Little Unnecessary.

              Some Of Available Nodes"Meta Nodes" Made By Same Export As CPP Trick, And They Work Just Fine With The End Product.

              But The Custom Ones Won't Go Anywhere πŸ€”

              L 1 Reply Last reply Reply Quote 1
              • L
                LeeC @Natan
                last edited by LeeC

                @Natanr you're right.
                I've just tried using a plugin that makes use of a custom (exported) node and it is effectively bypassed when used in a DAW.
                I tried using your Flanger snippet as well as Transient Designer project I've been working on and got the same result ☹

                1 Reply Last reply Reply Quote 1
                • L
                  LeeC
                  last edited by

                  @Natanr ok so I've just realised that although I recompiled HISE and enabled 'Custom Node Location' it wasn't enabled in the 'AutogeneratedProject.jucer' within the 'Binaries' folder of the project. Not to muddy the waters but, could this be related?

                  alt text

                  NatanN 1 Reply Last reply Reply Quote 1
                  • L
                    LeeC
                    last edited by LeeC

                    Attempting this results in a failed build.

                    "scriptnode::project::Factory::getInstance(scriptnode::DspNetwork*)", referenced from:
                          scriptnode::DspNetwork::DspNetwork(hise::ProcessorWithScriptingContent*, juce::ValueTree, bool) in TransShaper Debug.a(include_hi_scripting_03.o)
                    ld: symbol(s) not found for architecture x86_64
                    clang: error: linker command failed with exit code 1 (use -v to see invocation)
                    
                    1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk
                      last edited by

                      In the waiting for a fix, it might work if you unfreeze the custom node before exporting, I haven't tested myself though…

                      Can't help pressing F5 in the forum...

                      NatanN 1 Reply Last reply Reply Quote 2
                      • NatanN
                        Natan @ustk
                        last edited by

                        @ustk Really??? No Way
                        I'll Try This Right Now πŸƒπŸƒπŸƒπŸƒ

                        1 Reply Last reply Reply Quote 0
                        • NatanN
                          Natan @LeeC
                          last edited by

                          @LeeC Mate, I'm Not That Expert To Go Into The HIse Binaries,
                          Going To Try What @ustk Said, And Come Back In A Few Minutes

                          1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan
                            last edited by

                            @ustk @LeeC
                            The IDea To Unfreeze And Export Works But It's Acts Like How It Was, CPU Jumps To Around 20% Here :(
                            Another Hisebreaking Bug, Like LFO's On Simple Gain

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              LeeC @Natan
                              last edited by LeeC

                              @Natanr @ustk yes CPU usage ramps right back up when unfreezing and then exporting.
                              So to summarise, there's currently no way to use custom node configurations without the high CPU usage (Both in HISE and when exported to DAWs).
                              The 'Export Node to Location' approach ultimately ends up with said nodes effectively being bypassed when used as AUs/VSTs etc ☹

                              NatanN ustkU ? 3 Replies Last reply Reply Quote 1
                              • NatanN
                                Natan @LeeC
                                last edited by

                                @LeeC And @Christoph-Hart Brings No Lights Here 😩

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

                                  @LeeC @Natanr What about standalone export?

                                  Can't help pressing F5 in the forum...

                                  NatanN 1 Reply Last reply Reply Quote 1
                                  • NatanN
                                    Natan @ustk
                                    last edited by

                                    @ustk I Tried The Instrument, With No Luck
                                    Since It's A Fx Plugin, Standalone Is Somehow Didn't Come To My Attention...

                                    Sir, You Think It's A Bug Or A Integration Issue?

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @LeeC
                                      last edited by

                                      @LeeC @Natan Did you guys get any further with this? I can't even build HISE with custom node location enabled

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • L
                                        LeeC
                                        last edited by

                                        @iamlamprey no unfortunately not.

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

                                          @iamlamprey
                                          https://forum.hise.audio/topic/3011/scriptnode-cpu/8

                                          Can't help pressing F5 in the forum...

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

                                            @ustk So It Doesn't Work, Right?

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

                                            29

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts