3.1 Steps to add source code for external audio objects

  • Place the source code for the new audio object under external\src\
  • Place the header file under external\inc\
  • The audio object header file name should be similar to the audio object class name. For example, if the audio object name is CTemplate, the header file name should be Template.h
  • Update external\inc\AudioIds.h with the pre-processor macro definition for the new audio object. As shown below
    Figure 3 .1 – AudioIds.h

     

  • Name of the pre-processor definition should be OBJ_“header file name“. For example if the name of the class is CGain, the header file name should be Gain.h and the pre-processor definition in AudioIds.h should be #define OBJ_GAIN 9002
  • Once the steps above are complete, proceed to generate the VST3 plugin following the steps in the next section

_________________

Rate this post!