Faust is here...
-
Could not reproduce the crash at export time. The C++ file is properly generated, even if I get a 'ipp.h' file not found" related issue later on in the export step.
-
Just FYI: I've added polyphony & MIDI support for Faust, so if you've been holding off because you want to play around with the physical modeling library in Faust there's no reason anymore :)
With this feature, we can consider the Faust integration to be feature-complete for now (the complex data interface has to wait a few months, but I don't think that's a critical feature) so I can now go back to fixing the bugs, yay...
-
@Christoph-Hart awesome! is there any way we can get information out of Faust nodes.. eg using analyser modules?
Ah and btw could get any information regarding the generateAuxFilesFromFile crash? -
@ps If you declare a
hbargraph
primitive in your faust code it will use it as modulation source so you can connect it to any target in script node and propagate it to the UI using a peak node or whatever.It currently works only with a single modulation source, but maybe I'll add multiple modulation outputs.
The crash is super annoying to debug, we're working on it and I can reproduce it with a Debug build, but @sletz cannot get this patch to crash, so we're stuck now trying to find the root of the issue (a vanilla test project with libfaust doesn't crash with the example code but the crash happens inside libfaust so we don't know where the error occurred).
-
@Christoph-Hart awesome stuff with the hbargraph and very unfortunate with the crash - fingers crossed that you will find the root of evil here :)
Just tried to compile the latest develop to give the midi a try - build fails on my m1using vSIMDType = typename NativeOps::vSIMDType; Implicit instantiation of undefined template 'juce::dsp::SIMDNativeOps<unsigned long>'
-
@ps Yes I'm crawling through the macOS compile errors at the moment - it always messes up macOS when I start doing template stuff :)
-
@Christoph-Hart ah no worries - let me know when it's building on your end :)
-
@ps Now it should build and export on macOS.
-
@Christoph-Hart works like a charm - playing around with the midi stuff works great too!
Now the reverb example crashes already on compiling the Faust node in the script fx - the only reverb I could get to works far is the freeverb -
@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.