Faust synth instant crash
-
On Linux. Added a scriptnode synth, added a faust node, created a file, kaboom.
This is all I get in my console output. No stack trace unfortunately.
Faust: Resizing buffers: nChannels=0, blockSize=0 Combobox changed, new text: testFile Faust DSP file to load:/home/dave/Desktop/faustTest/DspNetworks/CodeLibrary/faust/testFile.dsp Faust jit compilation successful Segmentation fault
-
@d-healey Works on macOS, please debug.
the hello world synth would be this:
// Faust Source File: dudel // Created with HISE on 2023-03-19 import("stdfaust.lib"); freq = hslider("freq", 220.0, 20.0, 20000.0, 0.01); process = os.oscsin(freq) , _;
-
Good to see @d-healey is working on FAUST synth. Hope we will learn some new FAUST technics from him. (y)
-
I think I'm getting somewhere...
This is the line where the failure occurs: https://github.com/christophhart/HISE/blob/develop/hi_faust_jit/FaustWrapper.h#L137
Do I need to be using a particular version of faust or clang?
-
@d-healey Did you try the FAUST version on Windows ?
What is your FAUST synth code ?
-
Did you try the FAUST version on Windows ?
Nope, I don't care if it works on Windows or Mac :)
What is your FAUST synth code ?
Nothing, it crashes as soon as I create a file.
Here's a video:
https://e.pcloud.link/publink/show?code=XZfIAhZ3m989lgYTbVFCt2Mjbt2MSiH4VE7 -
@d-healey OK.. Got it... did you try to create FAUST as ScriptFX ? Did it work ?
Your video shows this is a bug of HISE, unable to create DSPnetworks Files.
-
-
@d-healey What FAUST version are you using ? please use 2.50.6
-
@DabDab 2.54.9
-
@d-healey I tried 2.54 on my mac. It didn't work. 2.50.6 has no issue so far (This kind of crashing)
-
@DabDab Building now, I'll report back
-
@DabDab Thanks, that solved it. @Christoph-Hart Faust version was the issue. I had to compile it manually because the version in my distro is too new.
-
Have a happy Synth design.