Re: Re: progress on Faust and SC
| Newsgroups | gmane.comp.audio.supercollider.devel |
|---|---|
| Message-ID | <CAB_zQYvSyyfAnrALPHH-+QncnyTQJSHs8fSWqxrieC2HbH45Yw@mail.gmail.com> |
Bravo, thanks Nicolas and Florian! Brian On Feb 5, 2018 9:53 PM, <[email protected]> wrote: Just wanted to add that the point was to comply with the SC3plugins naming convention, In case you wondered about the flags: -ks keep sources -sn supernova -noprefix explains itself ;-) www.grond.at On Mon, Feb 5, 2018 at 9:49 PM, Florian Grond <[email protected]> wrote: > 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 >