Faust is here...
-
@ps Yes, that's actually the first clue that leads somewhere - I've changed the compilation to happen on a background thread a few days ago and it appears that any call to the Faust library must happen on the UI thread on macOS or it will crash.
-
We solved it! It was definitely one of the more annoying bugs but the default stack size on macOS is 512kb with the only exception of the main UI thread which is 8MB which is why the faust compiler crashed whenever it was called on another thread with a bigger faust code (as a matter of fact this example crashes with less than 2MB of stack space)
@sletz is currently updating the libfaust code to fix the problem at the source but I‘ll add a temporary fix on the HISE side because it might take a while until the next faust release.
-
@Christoph-Hart works! awesome!
-
Anyone had familiar problem with building hise with faust? I have something like that.
-
On which platform?
-
@sletz m1 with new Xcode
-
@parabuh And how is Faust compiled ?
-
Hello Everyone!
I am facing issues when working with Faust in the scriptnode.
In this instance, I was trying to compile the example re.jprev library (by Christoph), however, nothing happened when I compiled it.
Secondly, when I try to click the show SVG popup, the alert window (in the picture) comes out saying that no application can open the .dsp file.
Thirdly, before having this issue, I was also trying to try other libraries. But when compiled nothing happens. Only the jprev was working until the current problem happened, I still do not know what have I done to not make it work anymore.
How can I solve this issue?
Thanks.
-
@Sawer looks like you’ve not installed it properly. Have you followed the Mac install instructions?
-
@Brian
This part is solved, I've enabled the external editor in my settings.Now I have to figure out why other libraries aren't being processed.
-
@Sawer I'm not on Mac, but if you have enabled the external editor option you have to assign the .dsp files to be opened by default with your editor app of choice.
I'm sure, if you click "choose apllication..." you'll be able to choose an editor application.
jprev is not a library, it's a function of the library "reverbs.lib".
if you just useimport("stdfaust.lib");
all standard libraries available will be included.
-
@Sawer any editor will do then, even just the basic text app works just fine.
-
-
@Sawer
When I use the demos from faust IDE, everything works fine(2x2 channels).
As soon as I try implementing my own parameters, I always get this odd channel mismatch errors.
Same for libraries with 8x8 (it will ask 9x8).Am I missing something?
-
@Sawer Can you post your faust code?
-
Here you go, thanks.
-
@Sawer indeed, i can't see, where the third input channel comes from. But where did you change the code, respectivly added your parameters?
-
import("stdfaust.lib"); process = dm.dattorro_rev_demo;
This code works.
import("stdfaust.lib"); bw = hslider("BAndWidth",0.5 ,0 , 1,0.1); inputDiff1 = hslider("Diffusor1",0.5 ,0 ,1 ,0.1); inputDiff2 = hslider("Diffusor2",0.5 ,0 ,1 ,0.1); decay = hslider("Decay", 0.5,0 ,1 , 0.1); decDiff1 = hslider("dDiffusor1",0.5 ,0 ,1 ,0.1); decDiff2 = hslider("dDiffusor2",0.5 ,0 ,1 ,0.1); damping = hslider("damping",0.5 ,0 ,1 ,0.1); process = re.dattorro_rev(bw, inputDiff1, inputDiff2, decay, decDiff1, decDiff2, damping);
This code(with my parameter) doesn't.
-
@Sawer i'm actually at work, i'll have a look at it later. Did you already check the SVG diagram (the Button with the eye on the faust node)?
-
@toxonic
3x2 Also on the svg.