VST 3 Examples  VST 3.6.7
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
JX10Processor Class Reference

#include <mdaJX10Processor.h>

+ Inheritance diagram for JX10Processor:

Data Structures

struct  VOICE
 

Public Types

enum  { kNumPrograms = 52 }
 

Public Member Functions

 JX10Processor ()
 
 ~JX10Processor ()
 
tresult initialize (FUnknown *context) SMTG_OVERRIDE
 
tresult terminate () SMTG_OVERRIDE
 
tresult setActive (TBool state) SMTG_OVERRIDE
 
void doProcessing (ProcessData &data) SMTG_OVERRIDE
 
virtual bool hasProgram () const SMTG_OVERRIDE
 
virtual Steinberg::uint32 getCurrentProgram () const SMTG_OVERRIDE
 
virtual void setCurrentProgram (Steinberg::uint32 val) SMTG_OVERRIDE
 
virtual void setCurrentProgramNormalized (ParamValue val) SMTG_OVERRIDE
 
- Public Member Functions inherited from AudioEffect
 AudioEffect ()
 
AudioBusaddAudioInput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
 
AudioBusaddAudioOutput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
 
AudioBusgetAudioInput (int32 index)
 
AudioBusgetAudioOutput (int32 index)
 
EventBusaddEventInput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
 
EventBusaddEventOutput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
 
EventBusgetEventInput (int32 index)
 
EventBusgetEventOutput (int32 index)
 
tresult getBusArrangement (BusDirection dir, int32 busIndex, SpeakerArrangement &arr) SMTG_OVERRIDE
 
tresult canProcessSampleSize (int32 symbolicSampleSize) SMTG_OVERRIDE
 
uint32 getLatencySamples () SMTG_OVERRIDE
 
tresult setProcessing (TBool state) SMTG_OVERRIDE
 
uint32 getTailSamples () SMTG_OVERRIDE
 
 OBJ_METHODS (AudioEffect, Component) DEFINE_INTERFACES DEF_INTERFACE(IAudioProcessor) END_DEFINE_INTERFACES(Component) REFCOUNT_METHODS(Component) void **getChannelBuffersPointer(const AudioBusBuffers &bufs) const
 
uint32 getSampleFramesSizeInBytes (int32 numSamples)
 
 Component ()
 
void setControllerClass (const FUID &cid)
 
tresult removeAudioBusses ()
 
tresult removeEventBusses ()
 
tresult renameBus (MediaType type, BusDirection dir, int32 index, const String128 newName)
 
tresult getControllerClassId (TUID classID) SMTG_OVERRIDE
 
tresult setIoMode (IoMode mode) SMTG_OVERRIDE
 
int32 getBusCount (MediaType type, BusDirection dir) SMTG_OVERRIDE
 
tresult getBusInfo (MediaType type, BusDirection dir, int32 index, BusInfo &info) SMTG_OVERRIDE
 
tresult getRoutingInfo (RoutingInfo &inInfo, RoutingInfo &outInfo) SMTG_OVERRIDE
 
tresult activateBus (MediaType type, BusDirection dir, int32 index, TBool state) SMTG_OVERRIDE
 
BusListgetBusList (MediaType type, BusDirection dir)
 
tresult removeAllBusses ()
 
 ComponentBase ()
 
virtual ~ComponentBase ()
 
FUnknowngetHostContext ()
 
IConnectionPointgetPeer ()
 
IMessageallocateMessage ()
 
tresult sendMessage (IMessage *message)
 
tresult sendTextMessage (const char8 *text)
 
virtual tresult receiveText (const char8 *text)
 
tresult connect (IConnectionPoint *other) SMTG_OVERRIDE
 
tresult disconnect (IConnectionPoint *other) SMTG_OVERRIDE
 
tresult notify (IMessage *message) SMTG_OVERRIDE
 
- Public Member Functions inherited from FUnknown
virtual tresult queryInterface (const TUID _iid, void **obj)=0
 
virtual uint32 addRef ()=0
 
virtual uint32 release ()=0
 

Static Public Member Functions

static FUnknowncreateInstance (void *)
 

Static Public Attributes

static float programParams [kNumPrograms][24]
 
static FUID uid
 
- Static Public Attributes inherited from IPluginBase
static const FUID iid
 
- Static Public Attributes inherited from FUnknown
static const FUID iid
 
- Static Public Attributes inherited from IConnectionPoint
static const FUID iid
 
- Static Public Attributes inherited from IComponent
static const FUID iid
 
- Static Public Attributes inherited from IAudioProcessor
static const FUID iid
 

Protected Types

enum  {
  EVENTBUFFER = 160, EVENTS_DONE = 99999999, KMAX = 32, SUSTAIN = -1,
  NVOICES = 8
}
 

Protected Member Functions

void processEvents (IEventList *events) SMTG_OVERRIDE
 
void recalculate () SMTG_OVERRIDE
 
void noteOn (int32 note, int32 velocity, int32 noteID)
 
void setParameter (ParamID index, ParamValue newValue, int32 sampleOffset) SMTG_OVERRIDE
 
- Protected Member Functions inherited from BaseProcessor
 BaseProcessor ()
 
 ~BaseProcessor ()
 
virtual bool bypassProcessing (ProcessData &data)
 
virtual void checkSilence (ProcessData &data)
 
virtual void setBypass (bool state, int32 sampleOffset)
 
virtual bool processParameterChanges (IParameterChanges *changes)
 
virtual void allocParameters (int32 numParams)
 
bool isBypassed () const
 
double getSampleRate () const
 
tresult process (ProcessData &data) SMTG_OVERRIDE
 
tresult setupProcessing (ProcessSetup &setup) SMTG_OVERRIDE
 
tresult setBusArrangements (SpeakerArrangement *inputs, int32 numIns, SpeakerArrangement *outputs, int32 numOuts) SMTG_OVERRIDE
 
tresult setState (IBStream *state) SMTG_OVERRIDE
 
tresult getState (IBStream *state) SMTG_OVERRIDE
 

Protected Attributes

int32 notes [EVENTBUFFER+8]
 
int32 sustain
 global internal variables More...
 
int32 activevoices
 
VOICE voice [NVOICES]
 
float semi
 
float cent
 
float tune
 
float detune
 
float filtf
 
float fzip
 
float filtq
 
float filtlfo
 
float filtenv
 
float filtvel
 
float filtwhl
 
float oscmix
 
float noisemix
 
float att
 
float dec
 
float sus
 
float rel
 
float fatt
 
float fdec
 
float fsus
 
float frel
 
float lfo
 
float dlfo
 
float modwhl
 
float press
 
float pbend
 
float ipbend
 
float rezwhl
 
float velsens
 
float volume
 
float voltrim
 
float vibrato
 
float pwmdep
 
float lfoHz
 
float glide
 
float glidedisp
 
int32 K
 
int32 lastnote
 
int32 veloff
 
int32 mode
 
Steinberg::uint32 noise
 
Steinberg::uint32 currentProgram
 
- Protected Attributes inherited from BaseProcessor
ParamValueparams
 
uint32 numParams
 
int32 bypassRamp
 
float * bypassBuffer0
 
float * bypassBuffer1
 
bool bypassState
 
- Protected Attributes inherited from AudioEffect
ProcessSetup processSetup
 

Additional Inherited Members

- Data Fields inherited from AudioEffect
OBJ_METHODS(Component,
ComponentBase)
DEFINE_INTERFACES
DEF_INTERFACE(IComponent)
END_DEFINE_INTERFACES(ComponentBase)
REFCOUNT_METHODS(ComponentBase)
protected BusList 
audioInputs
 
BusList audioOutputs
 
BusList eventInputs
 
BusList eventOutputs
 
OBJ_METHODS(ComponentBase,
FObject) DEFINE_INTERFACES
DEF_INTERFACE(IPluginBase)
DEF_INTERFACE(IConnectionPoint)
END_DEFINE_INTERFACES(FObject)
REFCOUNT_METHODS(FObject)
protected IConnectionPoint
peerConnection
 

Member Enumeration Documentation

anonymous enum
Enumerator
kNumPrograms 
anonymous enum
protected
Enumerator
EVENTBUFFER 
EVENTS_DONE 
KMAX 
SUSTAIN 
NVOICES 

Constructor & Destructor Documentation

Member Function Documentation

tresult initialize ( FUnknown context)
virtual

Reimplemented from AudioEffect.

tresult terminate ( )
virtual

Reimplemented from AudioEffect.

tresult setActive ( TBool  state)
virtual

Reimplemented from BaseProcessor.

void doProcessing ( ProcessData data)
virtual

Implements BaseProcessor.

virtual bool hasProgram ( ) const
inlinevirtual

Reimplemented from BaseProcessor.

virtual Steinberg::uint32 getCurrentProgram ( ) const
inlinevirtual

Reimplemented from BaseProcessor.

void setCurrentProgram ( Steinberg::uint32  val)
virtual

Reimplemented from BaseProcessor.

void setCurrentProgramNormalized ( ParamValue  val)
virtual

Reimplemented from BaseProcessor.

static FUnknown* createInstance ( void *  )
inlinestatic
void processEvents ( IEventList events)
protectedvirtual

Reimplemented from BaseProcessor.

void recalculate ( )
protectedvirtual

Reimplemented from BaseProcessor.

void noteOn ( int32  note,
int32  velocity,
int32  noteID 
)
protected
void setParameter ( ParamID  index,
ParamValue  newValue,
int32  sampleOffset 
)
protectedvirtual

Reimplemented from BaseProcessor.

Field Documentation

float programParams
static
FUID uid
static
int32 notes[EVENTBUFFER+8]
protected
int32 sustain
protected

global internal variables

int32 activevoices
protected
VOICE voice[NVOICES]
protected
float semi
protected
float cent
protected
float tune
protected
float detune
protected
float filtf
protected
float fzip
protected
float filtq
protected
float filtlfo
protected
float filtenv
protected
float filtvel
protected
float filtwhl
protected
float oscmix
protected
float noisemix
protected
float att
protected
float dec
protected
float sus
protected
float rel
protected
float fatt
protected
float fdec
protected
float fsus
protected
float frel
protected
float lfo
protected
float dlfo
protected
float modwhl
protected
float press
protected
float pbend
protected
float ipbend
protected
float rezwhl
protected
float velsens
protected
float volume
protected
float voltrim
protected
float vibrato
protected
float pwmdep
protected
float lfoHz
protected
float glide
protected
float glidedisp
protected
int32 K
protected
int32 lastnote
protected
int32 veloff
protected
int32 mode
protected
Steinberg::uint32 noise
protected
Steinberg::uint32 currentProgram
protected
Empty

Copyright ©2017 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.