> Le 13 mai 2017 à 08:35, Till Bovermann <lf...@lfsaw.de> a écrit : > > Dear list, > > I just explored faust2juce and it "just works"! Awesome!
Yes sure ((-; why not !? > Now that I have the audioeffect of my dreams available on all my machines and > DAWs, I'd like to give it a more professional look and feel (GUI). Is this > possible without fiddling in the massive (and autogenerated) > FaustPluginProcessor.cpp? Because, if I do, I will loose the ability to > finetune the plugin's audio processing via re-running faust, right? The way this FaustPluginProcessor.cpp file is generated is the following, (as with any architecture file BTW…): - we write a generic architecture file for a given GUI/audio combination. Fo JUCE the generic file are : architecture/juce-standalone.cpp to create a JUCE standalone application, and architecture/juce-plugin.cpp to create a plugin - the generic files are then given as the -a parameter to the Faust compiler, so that the actual DSP code is « inlined » in the generic architecture, to create a specialized FaustPluginProcessor.cpp file - the this file in embedded in the .jucer project If you want to change the GUI, then I would advice to « hack » the JUCE architecture file themselves (juce-standalone.cpp and/or /juce-plugin.cpp depending of your need) and adapt the GUI creation part, that is comment or remove the code that defines and uses this « JuceGUI juceGUI; » object (addAndMakeVisible(juceGUI); fDSP->buildUserInterface(&juceGUI);… and so on). I would advice to start like that, and at some point we can also add a new "-gui MyGUI.h » parameter (or something like that) in the « faust2juce » script so that it would not automatically add the JuceGUI code, and would let the developer add its own GUI code. Stéphane ------------------------------------------------------------------------------ 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