ALARM ALARM - I have big problem I think....
-
@Lindon ...and.....I think @Hisenberb may be correct..its the non linear distortion effect in Faust.
I deleted all reference to distortion from my main project - removing code headers in two places as well as cpp files and removed the script node from the compiled DLL and the project builds and loads in pluginval....
Now to invent a non linear distortion .... to replace the one in Faust
@sletz I think this is now over to you.....
-
@Lindon what is the Faust DSP code ?
-
@sletz very simple I'm afraid:
// Faust Source File: FaustDistCode // Created with HISE on 2023-05-03 import("stdfaust.lib"); //drive drive = hslider("Drive", 0.2, 0, 1, 0.01); //offset offset = hslider("Offset", 0.2, 0, 1, 0.01); process = _,_ : ef.cubicnl_nodc(drive,offset),ef.cubicnl_nodc(drive,offset) : _,_;
-
pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.
The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.
-
@Christoph-Hart said in ALARM ALARM - I have big problem I think....:
pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.
The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.
well download the snippet I posted and you will see Im not doing that - ..or I dont think I am....
-
@Lindon heres a screen shot - no code no widgets nothing except these HardcodedFX
-
@Lindon Print that on your T-Shirt:
:)
-
@Christoph-Hart said in ALARM ALARM - I have big problem I think....:
@Lindon Print that on your T-Shirt:
:)
hmm, thers enough on my t-shirt already - but hey ho one more thing wont harm...
-
@Christoph-Hart said in ALARM ALARM - I have big problem I think....:
@Lindon Print that on your T-Shirt:
:)
So just so we are clear - the bypassed ScriptFX is this Faust NLDist thing, so are you saying:
- its this NLDist thing - which generally is my finding..
or
- I cant have a bypassed scriptNode version of something if I have also got a compiled version running in a HardCodedFX
-
@Lindon Having a non-compiled faust node in a compiled plugin is a nononononononono even if you have bypassed it (which doesn't change anything except for skipping the rendering).
- Develop the faust code
- Export it to a hardcoded FX
- Remove the scriptnode network that you've used for developing the faust code and kill every person that saw you do it.
- Export and enjoy a working plugin.
-
@Christoph-Hart said in ALARM ALARM - I have big problem I think....:
Having a non-compiled faust node in a compiled plugin is a nononononononono
Maybe it would be good to add this to the export sanity checks
-
@Christoph-Hart said in ALARM ALARM - I have big problem I think....:
@Lindon Having a non-compiled faust node in a compiled plugin is a nononononononono even if you have bypassed it (which doesn't change anything except for skipping the rendering).
- Develop the faust code
- Export it to a hardcoded FX
- Remove the scriptnode network that you've used for developing the faust code and kill every person that saw you do it.
- Export and enjoy a working plugin.
Okay after quite a bit of cleaning up - this advice certainly helped got to a consistent and reliable compile that also passes pluginval, and after some fiddling, auval so thanks for this
and
@sletz - you can ignore me about the non linear distortion(thankfully) as it seems to be working fine now...
-
@Lindon So in the end were you able to compile your project successfully with the Faust Distortion's Offset control? I wouldn't mind seeing how you did this. If not I found another solution where I created a separate Faust node for phase offset that, once I find it, I can share with you.
-
@Hisenberb said in ALARM ALARM - I have big problem I think....:
@Lindon So in the end were you able to compile your project successfully with the Faust Distortion's Offset control? I wouldn't mind seeing how you did this. If not I found another solution where I created a separate Faust node for phase offset that, once I find it, I can share with you.
yes I used the cubicnl_nodc in my compile.... the requirement was to remove all refences to this - rebuild it and make sure there was no scriptFX node left in my product hierarchy - replacing all of them with HardCodedFX modules...
-
@Lindon Fantastic thanks for sharing!