3rd party Header Files in Hise?
- 
 When writing a c++ Scriptnode, 
 You often end up with functions that get reused in various nodes, the common solution is of course to create a header file and use #includeIs there an ideal place I can put header files, such that the compiler will pick up on them? 
 I've had a hard time working this one out.- Thanks @Christoph-Hart ; )
 
- 
 @griffinboy 
 Bump.Womp womp. I would also be interested in #including external libraries (such as eigen for matrix maths) for example. 
 Is this more complex?
- 
 G griffinboy marked this topic as a question on G griffinboy marked this topic as a question on
- 
 @griffinboy Just include them in every file you need. Use include guards to prevent them being included multiple times, that's standard C++ practice: src/MySpecialFramework.h #pragma once // this directive tells the compiler to only include this file once void commonFunction() { exit 0; }DspNode1.h // put the 3rd party header file in the src folder to prevent it from being picked up as "node file" itself #include "src/MySpecialFramework.h" void f() { commonFunction(); }DspNode2.h // put the 3rd party header file in the src folder to prevent it from being picked up as "node file" itself #include "src/MySpecialFramework.h" void f2() { commonFunction(); }
- 
 G griffinboy has marked this topic as solved on G griffinboy has marked this topic as solved on
- 
 This post is deleted!
- 
 Thank you I've been waiting for clarification this is great! Just one thing, I couldn't find an src folder by default so I created it in thirdparty nodes. I shall see whether that works 
- 
 There are many dsp libraries available for use. For example Airwindows...etc. Would you be able to make a sample project (picked from any dsp library) or a screen video to explain the Third Party stuff to newbies like us? If not, no problem. Distortion, Saturation would be great. 
- 
 @harris-rosendahl Haha, distortion: Some of the most complex dsp out there. This is on the to do list, I plan to release a video and some templates for this stuff, but I am currently tied to this very tiring dsp project which has a short deadline. 
 Once I am free of it, I shall create the video and release the resources.If you want it sooner than later I can make a rough guide and put it out there 
- 
 @griffinboy Much appreciated, thank you so much!  
- 
 @griffinboy some guides on this kind of stuff would be amazing. I'd love to have a crack at some of this too. When you have the time it would be awesome. 
