Flanger in scriptnode
-
Does anybody have any bright ideas on a way to avoid or get around this issue?
I've been trying numerous configurations all day but to no avail.Guess I'll just have to wait patiently for a fix....
Thanks
-
@LeeC
Yeah, There Is A Nasty Artifact In There :/ Did You Find Any Solution? -
@Natanr I'm pretty sure that I avoided using the core.tempo_sync node all together...
I ended up calculating the 'tempo to frequency' values using scripting and then linked them up to a parameter in scriptnode.The following thread helped to script the tempo sync'd values:
https://forum.hise.audio/topic/1978/feature-request-extra-tempo-synced-speeds-for-modulation/2
-
@LeeC Thanks Lee, I'll Take A Look At That Thread :)
-
@Christoph-Hart
Hey ChristophI Exported The Below Code, Recompiled Hise, But The Custom Created Node Causes HIse To Get Crash.
Can You Tell Me What Is Wrong With This?HiseSnippet 2378.3oc6assabjTFtZOtryL1IDVEsjKashKbPICcO1NIKHgchsmHKhSr73jMbUTkdJOtk6SzcM1d1EtBDhWA3c.3ZdHVIj3EX4RDbg4I.9qt5d5p5tmdNj3Dytw2joN00W8++8enNj8C8snQQ9gHs5GNHfhzVF2YfG63sNlX6g1caj1swGRcC7gZsnceZ6muy4D2.GZKziGDPhhncQZZ0dBu2Z0mGE+2Ea7XhCA5eVUHzK8ssnO010lkU69a9yscbZS5ROz1Up2qs4tV9da4632GPVMrAJfXcBoG8YDd2lCizVXmt1L+vNLBiFgzl+w9cGz4X+y7D8+k1Q1uwgxKXh5.eHQ0s8c5xQLuVzVGa6zc+TIPDBog2OSdTSHOtEdO6t1CqOStby3FzyFgr7Patpfm4rAOjD5lWfN.D9c66PXpHiqNRZv12SAY65wndQ1rAxpqo.tFuyg62GuuMy53xw6bkfWPQcYi2Dk+0w6bzQTKVFXmG29UypldxghlVQYWCbGqP6.FL+bfrbRQ81u5AJ.RTMR6Og2wqmsGsoUHEf11QAOixNyO7jU9rsor9dz1u5ytyOUW+n9dVbotdPHMfDROzeeGxfUhhsxO.F4c0eiiu0Icr+R5cZ7UMp23W2PdPw37w7drh0wDOOpSTwtwMl8Xg9Nq3028Mzv6peJwoe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YgjDoW1rp1kvylCx038+yf03J3yfs1jA2w79MqmhwN172h1Nf0qCXWfDA81ldDA1IcZsp758787CN12ie56YJ8CnrP6d8npWeRYKnGwXDqSjCCd.0gRjIv+vMeJP7Hg6I1HwrHKLmbYQU5qaiEvUmaLp+simubsuS97ky+tawk9tam6s5c2999s8lNxReauoirz21a5HK8s8lNxr21qKwJz+0VhmKM294Zw0.xZu3+yOTGuGurtI5zrD2MPtfW3WaYwUw2CzIkOlVyvXVcFFyZyvXVeFFy8mgw7fYXLOrxwvC.9n9LeWg4OTw96DmIjlV16iqF5+wxzOSA
-
@Natanr said in Flanger in scriptnode:
@Christoph-Hart
Hey ChristophI Exported The Below Code, Recompiled Hise, But The Custom Created Node Causes HIse To Get Crash.
Can You Tell Me What Is Wrong With This?HiseSnippet 2378.3oc6assabjTFtZOtryL1IDVEsjKashKbPICcO1NIKHgchsmHKhSr73jMbUTkdJOtk6SzcM1d1EtBDhWA3c.3ZdHVIj3EX4RDbg4I.9qt5d5p5tmdNj3Dytw2joN00W8++8enNj8C8snQQ9gHs5GNHfhzVF2YfG63sNlX6g1caj1swGRcC7gZsnceZ6muy4D2.GZKziGDPhhncQZZ0dBu2Z0mGE+2Ea7XhCA5eVUHzK8ssnO010lkU69a9yscbZS5ROz1Up2qs4tV9da4632GPVMrAJfXcBoG8YDd2lCizVXmt1L+vNLBiFgzl+w9cGz4X+y7D8+k1Q1uwgxKXh5.eHQ0s8c5xQLuVzVGa6zc+TIPDBog2OSdTSHOtEdO6t1CqOStby3FzyFgr7Patpfm4rAOjD5lWfN.D9c66PXpHiqNRZv12SAY65wndQ1rAxpqo.tFuyg62GuuMy53xw6bkfWPQcYi2Dk+0w6bzQTKVFXmG29UypldxghlVQYWCbGqP6.FL+bfrbRQ81u5AJ.RTMR6Og2wqmsGsoUHEf11QAOixNyO7jU9rsor9dz1u5ytyOUW+n9dVbotdPHMfDROzeeGxfUhhsxO.F4c0eiiu0Icr+R5cZ7UMp23W2PdPw37w7drh0wD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hhEGjsT8a4SBKsoK1nMrHKcLcHr9gwYgjDoW1rp1kvylCx038+yf03J3yfs1jA2w79MqmhwN172h1Nf0qCXWfDA81ldDA1IcZsp758787CN12ie56YJ8CnrP6d8npWeRYKnGwXDqSjCCd.0gRjIv+vMeJP7Hg6I1HwrHKLmbYQU5qaiEvUmaLp+simubsuS97ky+tawk9tam6s5c2999s8lNxReauoirz21a5HK8s8lNxr21qKwJz+0VhmKM294Zw0.xZu3+yOTGuGurtI5zrD2MPtfW3WaYwUw2CzIkOlVyvXVcFFyZyvXVeFFy8mgw7fYXLOrxwvC.9n9LeWg4OTw96DmIjlV16iqF5+wxzOSA
Skip On This @Christoph-Hart , I Managed To Make It Work :) Yeeeees
-
@Natanr are you not finding projects created in Scriptnode to be painfully CPU hungry?
I just loaded the snippet you posted and seems to use up a lot of resources (both in HISE on compiled). -
@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.... -
@Natanr how do use an exported CPP custom node after recompiling HISE?
I'm trying to give this a try... -
@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
-
@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? -
@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
-
@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 -
@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?
-
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)
-
In the waiting for a fix, it might work if you unfreeze the custom node before exporting, I haven't tested myself thoughβ¦
-
@ustk Really??? No Way
I'll Try This Right Now -
-
-
@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