'unable to open file stdfaust.lib'
-
@DabDab it the button with the two arrows on the core.faust node itself
-
@toxonic Great got it. now please help me to convert any FAUST Example code to HISE friendly so that it work inside it.
-
@DabDab Add parameters to the DSP network container and connect them to the faust node. Then you can enable compilation in the DSP network properties and compile the network via Export menu in hise -》Export DSP network as DLL. After compilation and restarting hise, you can load the Network into a hardcoded master fx module.
-
@toxonic Ok.
Actually my point was How to get FAUST code that will work in HISE. I have go a code from build simple UI from a FAUST Tutorials.import("stdfaust.lib"); ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01) : si.smoo; q = hslider("[1]q",5,1,30,0.1) : si.smoo; gain = hslider("[2]gain",1,0,1,0.01) : si.smoo; t = button("[3]gate") : si.smoo; process = no.noise : fi.resonlp(ctFreq,q,gain)*t <: dm.zita_rev1;
But this is showing this error.
-
Take a look at the error message. Your Faust code is assuming monophonic signal but the node expects a stereo signal.
-
@Christoph-Hart
In my case, I'm not receiving any errors, but nothing is happening.
Still wondering what is the case... the faust path is correct, I'm coding on the Faust editor, and the compilation works but without any form of graphical output change in the scriptnode.Please do not mind the file name, just copy and paste the code on this thread to actually see if the error was also happening on my end. Which is not.
-
- Recompile HISE, I've added a compile toolbar at the bottom of the faust editor in the last commits
- Remove the
[0]
stuff from the parameter, this might mess with the detection of parameters (I'm not too deep into Faust, but I think this syntax applies some metadata to the parameter which might not be processed correctly by HISE). - Try "Rebuild Faust parameters" from the context menu of the faust node.
-
@Christoph-Hart Ok thanks. Another note:
When I paste the desired code in the editor and I click the button shown below in the image, everything resets to importing the library and processing... Am I not saving in the correct way?
-
Yes, if you don't press F5 (or click on the Compile button in the new HISE version), the changes will not be saved to disk.
-
@DabDab and @Christoph-Hart This is strange though, bacause the code has stereo out (indicated by the signal split "<:" to the zita reverb in the "process" line.
I tried the code on my machine and it works without issues.
PS: I prefer to use an external editor, so don't care about strange look... -
@toxonic Oh.. But not working here on my PC.