Hi, has anyone got any experience of using JUCE with MAX to make writing cross-platform externals for Windows and Mac easier? Does it reduce effort? Is it worth it etc?
Any insight appreciated, thx
In short, you can’t use our version of Juce to build your externals. You need to use jgraphics as demonstrated in the SDK’s examples. If you want to build externals with juice component you’ll have to link it and include your Juce version.
I was more interested in trying to use JUCE to build my own VST external.
@Emmanuel, yes – wasn’t thinking about using your version. What I was wondering was whether I can write all my stuff on Windows using Visual Studio, link in your libraries and a version of Juce and then just transport that onto a Mac and build the complete job lot on Xcode.
Obv this is possible, but wanted to know whether anyone had tried this and had experience of it? On the surface this seems a good solution for developing cross-platform externals, but there doesn’t seem to be any noise about it so maybe I’ve got something wrong…
It’s definitely possible to use juce to create your own gui components and insert them into Max.
I do that a lot (developing many Ircam external objects, cross-platform).
This is relatively easy.
Basically, you render your juce component into a juce::Graphics
Then you retrieve the raw bitmap data from the graphics context
You create a Max image surface from the bitmap data
Then you paint the image surface into the patcher
This approach is not very efficient (you do all the job twice), but there are some alternatives.
This works for VST too.
I have most of those IRCAM externals, they’re quite excellent.
Is there any chance you could provide a trivial working example for a vst?
I’m not looking to write gui components – I just want to be able to write some externals in C++ and build them for Windows and Mac in the easiest way from the same source code…
Forums > Dev