What you mean you place them into .h? As Faust gives .cpp (and .h)?

Also, what would be a good workflow in developing a VST that uses external C++ libraries and Faust?

How can I e.g. build this kind of project, when some of the stuff does not exist in Faust, but rather needs to be added
into the Faust generated C++ files?

Perhaps I can use a conventional IDE e.g. Visual Studio and make it compile the Faust project in tandem with the other files?

On 2017-07-09 06:57, Julius Smith wrote:
Yes, by the way, I believe the top tool for making VST plugins from
Faust nowadays is the faust2faustvst script that comes with the Faust
distribution.

I generally place each Faust compilation product in its own .h file
(C++), and include that in my higher-level C++.  Here is my Make rule
for that:

# Options recommended by faustbench for iPad Pro (single) running iOS
# 10.3.1 and iPad 3 (single) running iOS 9.3:

FAUST = faust -vec -lv 0 -vs 16 -g

# In general, the Faust class name is the file name:
%.cpp : %.dsp
 $(FAUST) -cn $(@:.cpp=) -a $(ARCH) $< -o $@

- Julius

On Sat, Jul 8, 2017 at 6:50 AM, mviljamaa <mvilja...@kapsi.fi> wrote:

Using C++ libraries alongside Faust? How?

Should I specify the DSP specification first, then have Faust
compile to C++ and then modify the generated C++?

Yes

(https://ccrma.stanford.edu/~jos/faust/Generating_VST_Plugin_Faust.html
[1])?


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users [2]

--

Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/ [3]

Links:
------
[1] https://ccrma.stanford.edu/~jos/faust/Generating_VST_Plugin_Faust.html
[2] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
[3] http://ccrma.stanford.edu/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to