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

Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SynthData< VoiceT, kEventBufferSize, kNumVoices > Struct Template Reference

`#include <mdaBaseProcessor.h>`

## Public Types
using | VOICE = VoiceT
using | EventArray = std::array< Event, kEventBufferSize >
using | EventPos = typename EventArray::size_type
using | VoiceArray = std::array< VOICE, kNumVoices >

## Public Member Functions
void | init () noexcept
bool | hasEvents () const noexcept
void | clearEvents () noexcept
void | processEvent (const Event &e) noexcept

## Public Attributes
EventArray | events
EventPos | eventPos {0}
VoiceArray | voice
int32 | activevoices {0}
int32 | sustain {0}

## Static Public Attributes
static constexpr int32 | eventBufferSize = kEventBufferSize
static constexpr int32 | numVoices = kNumVoices
static constexpr int32 | eventsDoneID = 99999999

## Member Typedef Documentation

## ◆ VOICE

using VOICE = VoiceT

## ◆ EventArray

using EventArray = std::array<Event, kEventBufferSize>

## ◆ EventPos

using EventPos = typename EventArray::size_type

## ◆ VoiceArray

using VoiceArray = std::array<VOICE, kNumVoices>

## Member Function Documentation

## ◆ init()

void init | ( |  | ) |
| inline noexcept

## ◆ hasEvents()

bool hasEvents | ( |  | ) | const
| inline noexcept

## ◆ clearEvents()

void clearEvents | ( |  | ) |
| inline noexcept

## ◆ processEvent()

void processEvent | ( | const Event & | e | ) |
| inline noexcept

## Member Data Documentation

## ◆ eventBufferSize

constexpr int32 eventBufferSize = kEventBufferSize
| static constexpr

## ◆ numVoices

constexpr int32 numVoices = kNumVoices
| static constexpr

## ◆ eventsDoneID

constexpr int32 eventsDoneID = 99999999
| static constexpr

## ◆ events

EventArray events

## ◆ eventPos

EventPos eventPos {0}

## ◆ voice

VoiceArray voice

## ◆ activevoices

int32 activevoices {0}

## ◆ sustain

int32 sustain {0}

Empty

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