Custom C++ Juce Integration
-
Hi!
So a small question about the C++ custom module. I can get juce modules working within the class through some hacky workarounds. However, I was wondering if there was a better way to create a wrapper for things like the juce process specs, since they can't be easily converted to the process specs HISE uses.
Thank you!
-
@KimiA Do you mean embedding classes as scriptnode nodes that follow the
juce::dsp::Processor
API? Take a look at the JuceNodes.h file, that's where I'm embedding a bunch of the JUCE Dsp classes:https://github.com/christophhart/HISE/blob/develop/hi_dsp_library/dsp_nodes/JuceNodes.h
If you want to embed your own classes, just use that
jwrapper
template as base class, implement the parameter callbacks and you should be good. -
@Christoph-Hart This is exactly what I was looking for! Thank you so much.