C++ in Hise, general question
-
Hi all,
thanxs to your great help , i am growing more and more on HISE. Still there are quite a few questions that i have. One BIG question is, where to start if i want to script my own compressor like in JUCE? I know this is a very general question , call me stupid, but i simply dont get where to code my dsp in HISE? I can script things like buttons, automations of effects and so on, but i dont get it where i can code in c++ ? Can you guys please point me in the right direction? Maybe you could give me a simple example ?
Thank you soooo much
cheers
-
-
If you just want to write a custom DSP module, your best bet is to create a C++ template for a node and then hotload the DLL with your custom C++ code into HISE. This will create a dummy template file with all callbacks that you then can use to implement your actual code.
- File -> Create C++ Third party node template
- Export -> Compile DSP networks (make sure it includes the node you've created in step 1 in the list)
- Open the DLL IDE project found in
DspNetworks/Binaries/Builds
, and run HISE in the debugger - Add a hardcoded FX module where you load your DSP module
Once you've set it up it becomes a pretty lean development workflow where you can attach your IDE to HISE.
Besides this there are other ways to use C++ in HISE (or HISE in C++), you can create a custom C++ UI object within a HISE interface or create the entire project in C++ and use HISE as a C++ addition to JUCE. There are examples in the HISE tutorial repositories for both use cases, but chances are great that they don't work anymore :)