@madskjeldgaard Great initiative, but do I understand correctly that you are proposing to rewrite the faust2supercollider script? wouldn’t be better to just bring these ideas forward to the Faust team for example in a PR? Isn’t it a good moment to move the discussion to the Faust lists/channels?
Another cool Faust/SC integration could be to embed the Faust compiler + LLVM JIT compiler in a dynamically programmable UGen (see Embedding the Compiler - Faust Documentation). This has been discussed in the SC community in the past, but never achieved
Wow!! trying to get my head around this one.
What excactly means? a sort of generic uGen that can be livecoded? or would the integration still produce a new uGen and therefore the SuperCollider Library has to be compiled anyway?
My personal preference would be for the prefix not to be there, since it isn’t there when compiling for other platforms. It makes the UGen names overly verbose, and, if one desires, one can still always name the UGen that way manually by just naming the file accordingly.
Sam
On May 21, 2021, at 12:48 PM, Stéphane Letz letz@grame.fr wrote:
The Faust Web IDE interact with the « faustservice » (GitHub - grame-cncm/faustservice), a set of predefined Makefiles that trigger the faust2xx tools installed on the remove compilation machines. So this system is not fully flexible yet.
Thanks Julius. Yes, I have that working correctly. But the online IDE also compiles directly to SC, and for that I don’t know if there is a way to set the options to get rid of the prefix. The max and pd compilers don’t add the prefix. Just the SC one.
When I last used it, faust2supercollider had a -noprefix option.
Julius
On Mon, May 17, 2021 at 1:32 PM Sam Pluta spluta@gmail.com wrote:
Is there a way to use the faustIDE to export to supercollider without adding the word Faust in front of the UGen? I imagine this is going with the default of faust2supercollider, but it would be great to be able to turn it off (as you can in the Ruby script). The online IDE is amazing, btw. Thanks for that work.
@Stephane_Letz the optimizations you did to the supercollider backend recently has made a big (positive) difference in performance. I see it hasn’t been released yet. Any idea on when it will be put into a release? Thanks!
I am running faust compiled from source so I get all the benefits of this now but I guess others might not have gotten these yet.
It doesn’t work yet, but it’s got the depencies sorted and I am able to create dsp factories but the actual processing doesn’t work yet, but hopefully I’ll figure this out. If anyone wants to help out, let me know