|
VST 3 Examples
VST 3.7
SDK for developing VST plug-in
|
#include <mdaPianoProcessor.h>
Inheritance diagram for PianoProcessor:Classes | |
| struct | KGRP |
| struct | VOICE |
Public Types | |
| enum | { NPARAMS =12, WAVELEN =586348 } |
| using | Base = BaseProcessor |
Public Member Functions | |
| PianoProcessor () | |
| ~PianoProcessor () | |
| int32 | getVst2UniqueId () const SMTG_OVERRIDE |
| tresult | initialize (FUnknown *context) SMTG_OVERRIDE |
| tresult | terminate () SMTG_OVERRIDE |
| tresult | setActive (TBool state) SMTG_OVERRIDE |
| void | doProcessing (ProcessData &data) SMTG_OVERRIDE |
| bool | hasProgram () const SMTG_OVERRIDE |
| Steinberg::uint32 | getCurrentProgram () const SMTG_OVERRIDE |
| Steinberg::uint32 | getNumPrograms () const SMTG_OVERRIDE |
| void | setCurrentProgram (Steinberg::uint32 val) SMTG_OVERRIDE |
| void | setCurrentProgramNormalized (ParamValue val) SMTG_OVERRIDE |
Public Member Functions inherited from SampleAccurateBaseProcessor | |
| SampleAccurateBaseProcessor () | |
| void | allocParameters (int32 numParams) final |
| tresult | process (ProcessData &data) final |
| bool | processParameterChanges (IParameterChanges *changes) final |
Static Public Member Functions | |
| static FUnknown * | createInstance (void *) |
| static | DECLARE_UID (uid, 0xA77EA27C, 0x1F184322, 0xBBD2AD93, 0x73A2B7A0) |
Static Public Attributes | |
| static const int32 | kNumPrograms = 8 |
| static float | programParams [][NPARAMS] |
Protected Types | |
| using | SynthDataT = SynthData< VOICE, kEventBufferSize, kNumVoices > |
Protected Member Functions | |
| void | setParameter (ParamID index, ParamValue newValue, int32 sampleOffset) SMTG_OVERRIDE |
| void | preProcess () SMTG_OVERRIDE |
| void | processEvent (const Event &event) SMTG_OVERRIDE |
| void | noteEvent (const Event &event) |
| void | recalculate () SMTG_OVERRIDE |
| void | allNotesOff () |
Protected Attributes | |
| float | Fs |
| float | iFs |
| SynthDataT | synthData |
| KGRP | kgrp [16] |
| global internal variables | |
| int32 | poly |
| int32 | cpos |
| short * | waves |
| int32 | cmax |
| float * | comb |
| float | cdep |
| float | width |
| float | trim |
| int32 | size |
| float | tune |
| float | fine |
| float | random |
| float | stretch |
| float | muff |
| float | muffvel |
| float | sizevel |
| float | velsens |
| float | volume |
| Steinberg::uint32 | currentProgram |
Static Protected Attributes | |
| static constexpr int32 | kNumVoices = 32 |
| static constexpr int32 | kEventBufferSize = 64 |
Additional Inherited Members | |
Public Attributes inherited from AudioEffect | |
| OBJ_METHODS(AudioEffect, Component) DEFINE_INTERFACES DEF_INTERFACE(IAudioProcessor) DEF_INTERFACE(IProcessContextRequirements) END_DEFINE_INTERFACES(Component) REFCOUNT_METHODS(Component) protected ProcessContextRequirements | processContextRequirements |
| 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 IPtr < IConnectionPoint > | peerConnection |
| using Base = BaseProcessor |
|
protected |
| PianoProcessor | ( | ) |
| ~PianoProcessor | ( | ) |
Reimplemented from AudioEffect.
|
virtual |
Reimplemented from AudioEffect.
|
virtual |
Implements Processor.
|
inlinevirtual |
Reimplemented from Processor.
|
inlinevirtual |
Reimplemented from Processor.
|
inlinevirtual |
Reimplemented from Processor.
|
virtual |
Reimplemented from Processor.
|
virtual |
Reimplemented from Processor.
|
inlinestatic |
|
inlinestatic |
|
protectedvirtual |
Reimplemented from Processor.
|
protectedvirtual |
Reimplemented from Processor.
|
protected |
|
protectedvirtual |
Reimplemented from Processor.
|
protected |
|
static |
|
static |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
global internal variables
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |