progress on Faust and SC

[email protected]
Newsgroups gmane.comp.audio.supercollider.devel
Message-ID <CAFRs851QkZhNhA=JZMhAANQvB=ahbN5B19E7YRAm27TFXK2m2A@mail.gmail.com>
Hi devs,

Nicolas Bouillot and I just recently got 2 PRs merged into Faust that will
make life easier for the integration of Faust and SC. I wanted to just
quickly summarize where we are.

With the most recent Faust master dev branch, if you want to compile a
faust.dsp script for scsynth, supernova (thanks Carlo), and you want to
contribute to the SC3plugin repo you can simply write:

faust2supercollider -ks -sn -noprefix faust.dsp

you'll get the binary Ugens for scsynth and supernova, the SuperCollider
Class file and the C++ sources. The Unit generator's name will be without
the Faust prefix and will, as usual, be derived from the statement "declare
name" in the dsp File.

This will also apply if you compile the Ugens from the generated C++ source
plus the SuperCollider class file. The class file has no prefix and the C++
sources compile to a binary also without Prefix using the orthodox
SC3plugins compile instructions.

Also, the NDEBUG statement in the C++ file has been renamed and does not
interfere with the SC3plugins compile chain anymore.

Faust leaves its traces now with an info method in the SuperCollider class
file which returns a string reading "Generated with Faust". This info could
be populated with additional content e.g. the author of the DSP file Faust
version it was compiled with, License etc. If anyone is up for diving
deeper into the faus2sc file.

Thanks to everyone who participated in the discussions on that matter, I
think it was worth it!

Florian






www.grond.at
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.