NeuralAmpModelerPlugin

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

config.h (3389B)


      1 #define PLUG_NAME "NeuralAmpModeler"
      2 #define PLUG_MFR "Steven Atkinson"
      3 #define PLUG_VERSION_HEX 0x0000070d
      4 #define PLUG_VERSION_STR "0.7.13"
      5 #define PLUG_UNIQUE_ID '1YEo'
      6 #define PLUG_MFR_ID 'SDAa'
      7 #define PLUG_URL_STR "https://github.com/sdatkinson/NeuralAmpModelerPlugin"
      8 #define PLUG_EMAIL_STR "[email protected]"
      9 #define PLUG_COPYRIGHT_STR "Copyright 2022 Steven Atkinson"
     10 #define PLUG_CLASS_NAME NeuralAmpModeler
     11 #define BUNDLE_NAME "NeuralAmpModeler"
     12 #define BUNDLE_MFR "StevenAtkinson"
     13 #define BUNDLE_DOMAIN "com"
     14 
     15 #define SHARED_RESOURCES_SUBPATH "NeuralAmpModeler"
     16 
     17 #ifdef APP_API
     18   #define PLUG_CHANNEL_IO "1-2"
     19 #else
     20   #define PLUG_CHANNEL_IO "1-1 1-2 2-2"
     21 #endif
     22 
     23 #define PLUG_LATENCY 0
     24 #define PLUG_TYPE 0
     25 #define PLUG_DOES_MIDI_IN 0
     26 #define PLUG_DOES_MIDI_OUT 0
     27 #define PLUG_DOES_MPE 0
     28 #define PLUG_DOES_STATE_CHUNKS 0
     29 #define PLUG_HAS_UI 1
     30 #define PLUG_WIDTH 600
     31 #define PLUG_HEIGHT 400
     32 #define PLUG_FPS 60
     33 #define PLUG_SHARED_RESOURCES 0
     34 #define PLUG_HOST_RESIZE 0
     35 #define PLUG_MAX_WIDTH PLUG_WIDTH * 4
     36 #define PLUG_MAX_HEIGHT PLUG_HEIGHT * 4
     37 
     38 #define AUV2_ENTRY NeuralAmpModeler_Entry
     39 #define AUV2_ENTRY_STR "NeuralAmpModeler_Entry"
     40 #define AUV2_FACTORY NeuralAmpModeler_Factory
     41 #define AUV2_VIEW_CLASS NeuralAmpModeler_View
     42 #define AUV2_VIEW_CLASS_STR "NeuralAmpModeler_View"
     43 
     44 #define AAX_TYPE_IDS 'ITP1'
     45 #define AAX_TYPE_IDS_AUDIOSUITE 'ITA1'
     46 #define AAX_PLUG_MFR_STR "Acme"
     47 #define AAX_PLUG_NAME_STR "NeuralAmpModeler\nIPEF"
     48 #define AAX_PLUG_CATEGORY_STR "Effect"
     49 #define AAX_DOES_AUDIOSUITE 1
     50 
     51 #define VST3_SUBCATEGORY "Fx"
     52 
     53 #define APP_NUM_CHANNELS 2
     54 #define APP_N_VECTOR_WAIT 0
     55 #define APP_MULT 1
     56 #define APP_COPY_AUV3 0
     57 #define APP_SIGNAL_VECTOR_SIZE 64
     58 
     59 #define ROBOTO_FN "Roboto-Regular.ttf"
     60 #define MICHROMA_FN "Michroma-Regular.ttf"
     61 
     62 #define GEAR_FN "Gear.svg"
     63 #define FILE_FN "File.svg"
     64 #define CLOSE_BUTTON_FN "Cross.svg"
     65 #define LEFT_ARROW_FN "ArrowLeft.svg"
     66 #define RIGHT_ARROW_FN "ArrowRight.svg"
     67 #define MODEL_ICON_FN "ModelIcon.svg"
     68 #define IR_ICON_ON_FN "IRIconOn.svg"
     69 #define IR_ICON_OFF_FN "IRIconOff.svg"
     70 
     71 #define BACKGROUND_FN "Background.jpg"
     72 #define BACKGROUND2X_FN "[email protected]"
     73 #define BACKGROUND3X_FN "[email protected]"
     74 #define KNOBBACKGROUND_FN "KnobBackground.png"
     75 #define KNOBBACKGROUND2X_FN "[email protected]"
     76 #define KNOBBACKGROUND3X_FN "[email protected]"
     77 #define FILEBACKGROUND_FN "FileBackground.png"
     78 #define FILEBACKGROUND2X_FN "[email protected]"
     79 #define FILEBACKGROUND3X_FN "[email protected]"
     80 #define INPUTLEVELBACKGROUND_FN "InputLevelBackground.png"
     81 #define INPUTLEVELBACKGROUND2X_FN "[email protected]"
     82 #define INPUTLEVELBACKGROUND3X_FN "[email protected]"
     83 #define LINES_FN "Lines.png"
     84 #define LINES2X_FN "[email protected]"
     85 #define LINES3X_FN "[email protected]"
     86 #define SLIDESWITCHHANDLE_FN "SlideSwitchHandle.png"
     87 #define SLIDESWITCHHANDLE2X_FN "[email protected]"
     88 #define SLIDESWITCHHANDLE3X_FN "[email protected]"
     89 
     90 #define METERBACKGROUND_FN "MeterBackground.png"
     91 #define METERBACKGROUND2X_FN "[email protected]"
     92 #define METERBACKGROUND3X_FN "[email protected]"
     93 
     94 // Issue 291
     95 // On the macOS standalone, we might not have permissions to traverse the file directory, so we have the app ask the
     96 // user to pick a directory instead of the file in the directory.
     97 // Everyone else is fine though.
     98 #if defined(APP_API) && defined(__APPLE__)
     99   #define NAM_PICK_DIRECTORY
    100 #endif