NeuralAmpModelerPlugin

Plugin for Neural Amp Modeler
Log | Files | Refs | Submodules | README | LICENSE

TemplateProject.h (679B)


      1 #pragma once
      2 
      3 #include "IPlug_include_in_plug_hdr.h"
      4 
      5 const int kNumPresets = 1;
      6 
      7 enum EParams
      8 {
      9   kParamGain = 0,
     10   kNumParams
     11 };
     12 
     13 enum ECtrlTags
     14 {
     15   kCtrlTagVersionNumber = 0,
     16   kCtrlTagSlider,
     17   kCtrlTagTitle
     18 };
     19 
     20 using namespace iplug;
     21 using namespace igraphics;
     22 
     23 class TemplateProject final : public Plugin
     24 {
     25 public:
     26   TemplateProject(const InstanceInfo& info);
     27 
     28 #if IPLUG_EDITOR
     29   void OnParentWindowResize(int width, int height) override;
     30   bool OnHostRequestingSupportedViewConfiguration(int width, int height) override { return true; }
     31 #endif
     32 
     33 #if IPLUG_DSP // http://bit.ly/2S64BDd
     34   void ProcessBlock(sample** inputs, sample** outputs, int nFrames) override;
     35 #endif
     36 };