VST 3 Examples: BeatBoxProcessor Class Reference
Author: Steinberg

VST 3 Examples VST 3.7 SDK for developing VST plug-in

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BeatBoxProcessor Class Reference

`#include <mdaBeatBoxProcessor.h>`

Inheritance diagram for BeatBoxProcessor:

## Public Member Functions
| BeatBoxProcessor ()
int32 | getVst2UniqueId () const SMTG_OVERRIDE
tresult | initialize (FUnknown *context) SMTG_OVERRIDE
tresult | setActive (TBool state) SMTG_OVERRIDE
tresult | setProcessing (TBool state) SMTG_OVERRIDE
void | doProcessing (ProcessData &data) SMTG_OVERRIDE
Public Member Functions inherited from SampleAccurateBaseProcessor
| SampleAccurateBaseProcessor ()
void | allocParameters (int32 numParams) final
tresult | process (ProcessData &data) final
bool | processParameterChanges (IParameterChanges *changes) final
Public Member Functions inherited from AudioEffect
| AudioEffect ()
AudioBus * | addAudioInput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
AudioBus * | addAudioOutput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
AudioBus * | getAudioInput (int32 index)
AudioBus * | getAudioOutput (int32 index)
EventBus * | addEventInput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
EventBus * | addEventOutput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive)
EventBus * | getEventInput (int32 index)
EventBus * | getEventOutput (int32 index)
tresult | getBusArrangement (BusDirection dir, int32 busIndex, SpeakerArrangement &arr) SMTG_OVERRIDE
tresult | canProcessSampleSize (int32 symbolicSampleSize) SMTG_OVERRIDE
uint32 | getLatencySamples () SMTG_OVERRIDE
uint32 | getTailSamples () SMTG_OVERRIDE
uint32 | getProcessContextRequirements () SMTG_OVERRIDE
Public Member Functions inherited from Component
| Component ()
void | setControllerClass (const FUID &cid)
void | setControllerClass (const TUID &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
tresult | initialize (FUnknown *context) SMTG_OVERRIDE
tresult | terminate () SMTG_OVERRIDE
BusList * | getBusList (MediaType type, BusDirection dir)
tresult | removeAllBusses ()
Public Member Functions inherited from ComponentBase
| ComponentBase ()
| ~ComponentBase () override
FUnknown * | getHostContext () const
IConnectionPoint * | getPeer () const
IMessage * | allocateMessage () const
tresult | sendMessage (IMessage *message) const
tresult | sendTextMessage (const char8 *text) const
tresult | sendMessageID (const char8 *messageID) const
virtual tresult | receiveText (const char8 *text)
tresult | initialize (FUnknown *context) SMTG_OVERRIDE
tresult | terminate () SMTG_OVERRIDE
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 FUnknown * | createInstance (void *)
static | DECLARE_UID (uid, 0x9E6A6E95, 0x9B734440, 0x97D787BE, 0xBBDDD831)

## Protected Member Functions
void | recalculate () SMTG_OVERRIDE
Protected Member Functions inherited from Processor
| Processor ()
| ~Processor () override
virtual void | preProcess ()
virtual bool | bypassProcessing (ProcessData &data)
virtual void | processEvent (const Event &)
virtual void | checkSilence (ProcessData &data)
virtual void | setBypass (bool state, int32 sampleOffset)
virtual void | setParameter (ParamID index, ParamValue newValue, int32 sampleOffset)
virtual bool | hasProgram () const
virtual uint32 | getCurrentProgram () const
virtual uint32 | getNumPrograms () const
virtual void | setCurrentProgram (uint32)
virtual void | setCurrentProgramNormalized (ParamValue)
void | processEvents (IEventList *events)
bool | isBypassed () const
double | getSampleRate () const
tresult | setupProcessing (ProcessSetup &setup) SMTG_OVERRIDE
tresult | setActive (TBool state) SMTG_OVERRIDE
tresult | setBusArrangements (SpeakerArrangement *inputs, int32 numIns, SpeakerArrangement *outputs, int32 numOuts) SMTG_OVERRIDE
tresult | setState (IBStream *state) final
tresult | getState (IBStream *state) final
bool | checkStateTransfer ()

## Protected Attributes
float | hthr
float | hfil
float | sthr
float | kthr
float | kfil1
float | kfil2
float | mix
float | klev
float | hlev
float | slev
float | ww
float | wwx
float | sb1
float | sb2
float | sf1
float | sf2
float | sf3
float | kww
float | kwwx
float | ksb1
float | ksb2
float | ksf1
float | ksf2
float | dyne
float | dyna
float | dynr
float | dynm
float * | hbuf
float * | kbuf
float * | sbuf
float * | sbuf2
int32 | hbuflen
int32 | hbufpos
int32 | hdel
int32 | sbuflen
int32 | sbufpos
int32 | sdel
int32 | sfx
int32 | kbuflen
int32 | kbufpos
int32 | kdel
int32 | ksfx
int32 | rec
int32 | recx
int32 | recpos
Protected Attributes inherited from Processor
ParamValue * | params
uint32 | numParams
int32 | bypassRamp
float * | bypassBuffer0
float * | bypassBuffer1
bool | bypassState
RTTransferT< StateT > | stateTransfer

## Additional Inherited Members
Public Types inherited from IProcessContextRequirements
enum | Flags
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
Public Attributes inherited from Component
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
Public Attributes inherited from ComponentBase
OBJ_METHODS(ComponentBase, FObject) DEFINE_INTERFACES DEF_INTERFACE(IPluginBase) DEF_INTERFACE(IConnectionPoint) END_DEFINE_INTERFACES(FObject) REFCOUNT_METHODS(FObject) protected IPtr< IConnectionPoint > | peerConnection
Public Attributes inherited from IProcessContextRequirements
| kNeedSystemTime
| kNeedContinousTimeSamples
| kNeedProjectTimeMusic
| kNeedBarPositionMusic
| kNeedCycleMusic
| kNeedSamplesToNextClock
| kNeedTempo
| kNeedTimeSignature
| kNeedChord
| kNeedFrameRate
| kNeedTransportState
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
Static Public Attributes inherited from IProcessContextRequirements
static const FUID | iid
Protected Types inherited from Processor
using | StateT = std::vector<ParamValue>

## Constructor & Destructor Documentation

## ◆ BeatBoxProcessor()

BeatBoxProcessor | ( |  | ) |

## Member Function Documentation

## ◆ getVst2UniqueId()

int32 getVst2UniqueId | ( |  | ) | const
| inlinevirtual

Implements Processor.

## ◆ initialize()

tresult initialize | ( | FUnknown * | context | ) |
| virtual

Implements IPluginBase.

## ◆ setActive()

tresult setActive | ( | TBool | state | ) |
| virtual

Implements IComponent.

## ◆ setProcessing()

tresult setProcessing | ( | TBool | state | ) |
| virtual

Reimplemented from AudioEffect.

## ◆ doProcessing()

void doProcessing | ( | ProcessData & | data | ) |
| virtual

Implements Processor.

## ◆ createInstance()

static FUnknown * createInstance | ( | void * |  | ) |
| inlinestatic

## ◆ DECLARE_UID()

static DECLARE_UID | ( | uid | ,
|  | 0x9E6A6E95 | ,
|  | 0x9B734440 | ,
|  | 0x97D787BE | ,
|  | 0xBBDDD831 | )
| inlinestatic

## ◆ recalculate()

void recalculate | ( |  | ) |
| protectedvirtual

Reimplemented from Processor.

## Member Data Documentation

## ◆ hthr

float hthr
| protected

## ◆ hfil

float hfil
| protected

## ◆ sthr

float sthr
| protected

## ◆ kthr

float kthr
| protected

## ◆ kfil1

float kfil1
| protected

## ◆ kfil2

float kfil2
| protected

## ◆ mix

float mix
| protected

## ◆ klev

float klev
| protected

## ◆ hlev

float hlev
| protected

## ◆ slev

float slev
| protected

## ◆ ww

float ww
| protected

## ◆ wwx

float wwx
| protected

## ◆ sb1

float sb1
| protected

## ◆ sb2

float sb2
| protected

## ◆ sf1

float sf1
| protected

## ◆ sf2

float sf2
| protected

## ◆ sf3

float sf3
| protected

## ◆ kww

float kww
| protected

## ◆ kwwx

float kwwx
| protected

## ◆ ksb1

float ksb1
| protected

## ◆ ksb2

float ksb2
| protected

## ◆ ksf1

float ksf1
| protected

## ◆ ksf2

float ksf2
| protected

## ◆ dyne

float dyne
| protected

## ◆ dyna

float dyna
| protected

## ◆ dynr

float dynr
| protected

## ◆ dynm

float dynm
| protected

## ◆ hbuf

float* hbuf
| protected

## ◆ kbuf

float* kbuf
| protected

## ◆ sbuf

float* sbuf
| protected

## ◆ sbuf2

float * sbuf2
| protected

## ◆ hbuflen

int32 hbuflen
| protected

## ◆ hbufpos

int32 hbufpos
| protected

## ◆ hdel

int32 hdel
| protected

## ◆ sbuflen

int32 sbuflen
| protected

## ◆ sbufpos

int32 sbufpos
| protected

## ◆ sdel

int32 sdel
| protected

## ◆ sfx

int32 sfx
| protected

## ◆ kbuflen

int32 kbuflen
| protected

## ◆ kbufpos

int32 kbufpos
| protected

## ◆ kdel

int32 kdel
| protected

## ◆ ksfx

int32 ksfx
| protected

## ◆ rec

int32 rec
| protected

## ◆ recx

int32 recx
| protected

## ◆ recpos

int32 recpos
| protected

Empty

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