view resource.h @ 2:33aaa48d4d16 tip

changed "meter type" to "sonification type"
author Fiore Martin <f.martin@qmul.ac.uk>
date Sat, 13 Jun 2015 15:14:20 +0100
parents c0ead20bda4d
children
line wrap: on
line source
// 
// resource.h 
//
// Author: Fiore Martin 
// Started from IPlugMultiTargets example in WDL-OL, by Oli Larkin - https://github.com/olilarkin/wdl-ol
//
// Licensed under the Cockos WDL License, see README.txt
//

#define PLUG_MFR "QueenMaryUniversityOfLondon"
#define PLUG_NAME "AccessiblePeakMeter"

#define PLUG_CLASS_NAME AccessiblePeakMeter

#define BUNDLE_MFR "QueenMaryUniversityOfLondon"
#define BUNDLE_NAME "AccessiblePeakMeter"

#define PLUG_ENTRY AccessiblePeakMeter_Entry
#define PLUG_VIEW_ENTRY AccessiblePeakMeter_ViewEntry

#define PLUG_ENTRY_STR "AccessiblePeakMeter_Entry"
#define PLUG_VIEW_ENTRY_STR "AccessiblePeakMeter_ViewEntry"

#define VIEW_CLASS AccessiblePeakMeter_View
#define VIEW_CLASS_STR "AccessiblePeakMeter_View"

// Format        0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105
#define PLUG_VER 0x00010000
#define VST3_VER_STR "1.0.0"

// http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
// 4 chars, single quotes. At least one capital letter
#define PLUG_UNIQUE_ID 'f5sm'
// make sure this is not the same as BUNDLE_MFR
#define PLUG_MFR_ID 'Qmul'

// ProTools stuff
#if (defined(AAX_API) || defined(RTAS_API)) && !defined(_PIDS_)
  #define _PIDS_
  const int PLUG_TYPE_IDS[2] = {'MAN1', 'MAN2'};
#endif
#define PLUG_MFR_PT "QueenMaryUniversityOfLondon\nQueenMaryUniversityOfLondon\nQmul"
#define PLUG_NAME_PT "AccessiblePeakMeter\nAccessiblePeakMeter"
#define PLUG_TYPE_PT "Effect"
#define PLUG_DOES_AUDIOSUITE 0

/* PLUG_TYPE_PT can be "None", "EQ", "Dynamics", "PitchShift", "Reverb", "Delay", "Modulation", 
"Harmonic" "NoiseReduction" "Dither" "SoundField" "Effect" 
instrument determined by PLUG _IS _INST
*/

#define PLUG_CHANNEL_IO "1-1 2-2"

#define PLUG_LATENCY 0
#define PLUG_IS_INST 0

// if this is 0 RTAS can't get tempo info
#define PLUG_DOES_MIDI 0

#define PLUG_DOES_STATE_CHUNKS 0

// Unique IDs for each image resource.

#define BG_ID         100
#define KNOB_ID       101
#define FADER_ID      102
#define SWITCH_ID     103


// Image resource locations for this plug.
#define KNOB_FN       "resources/img/knob.png"
#define BG_FN         "resources/img/bg.png"
#define FADER_FN      "resources/img/fader.png"
#define SWITCH_FN      "resources/img/switch.png"

// GUI default dimensions
#define GUI_WIDTH   315
#define GUI_HEIGHT  249

// on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones
#ifdef SA_API
#ifndef OS_IOS
#include "app_wrapper/app_resource.h"
#endif
#endif

// vst3 stuff
#define MFR_URL ""
#define MFR_EMAIL ""
#define EFFECT_TYPE_VST3 "Fx"

/* "Fx|Analyzer"", "Fx|Delay", "Fx|Distortion", "Fx|Dynamics", "Fx|EQ", "Fx|Filter",
"Fx", "Fx|Instrument", "Fx|InstrumentExternal", "Fx|Spatial", "Fx|Generator",
"Fx|Mastering", "Fx|Modulation", "Fx|PitchShift", "Fx|Restoration", "Fx|Reverb",
"Fx|Surround", "Fx|Tools", "Instrument", "Instrument|Drum", "Instrument|Sampler",
"Instrument|Synth", "Instrument|Synth|Sampler", "Instrument|External", "Spatial",
"Spatial|Fx", "OnlyRT", "OnlyOfflineProcess", "Mono", "Stereo",
"Surround"
*/