LMMS
Loading...
Searching...
No Matches
Steinberg::Vst::Event Struct Reference

#include <ivstevents.h>

Public Types

enum  EventFlags { kIsLive = 1 << 0 , kUserReserved1 = 1 << 14 , kUserReserved2 = 1 << 15 }
enum  EventTypes {
  kNoteOnEvent = 0 , kNoteOffEvent = 1 , kDataEvent = 2 , kPolyPressureEvent = 3 ,
  kNoteExpressionValueEvent = 4 , kNoteExpressionTextEvent = 5 , kChordEvent = 6 , kScaleEvent = 7 ,
  kLegacyMIDICCOutEvent = 65535
}

Public Attributes

int32 busIndex
 event bus index
int32 sampleOffset
 sample frames related to the current block start sample position
TQuarterNotes ppqPosition
 position in project
uint16 flags
 combination of EventFlags
uint16 type
 a value from EventTypes
union { 
   NoteOnEvent   noteOn 
 type == kNoteOnEvent More...
   NoteOffEvent   noteOff 
 type == kNoteOffEvent More...
   DataEvent   data 
 type == kDataEvent More...
   PolyPressureEvent   polyPressure 
 type == kPolyPressureEvent More...
   NoteExpressionValueEvent   noteExpressionValue 
 type == kNoteExpressionValueEvent More...
   NoteExpressionTextEvent   noteExpressionText 
 type == kNoteExpressionTextEvent More...
   ChordEvent   chord 
 type == kChordEvent More...
   ScaleEvent   scale 
 type == kScaleEvent More...
   LegacyMIDICCOutEvent   midiCCOut 
 type == kLegacyMIDICCOutEvent More...
}; 

Detailed Description

Event

Structure representing a single Event of different types associated to a specific event (kEvent) bus.

Member Enumeration Documentation

◆ EventFlags

Event Flags - used for Event::flags

Enumerator
kIsLive 

indicates that the event is played live (directly from keyboard)

kUserReserved1 

reserved for user (for internal use)

kUserReserved2 

reserved for user (for internal use)

◆ EventTypes

Event Types - used for Event::type

Enumerator
kNoteOnEvent 

is NoteOnEvent

kNoteOffEvent 

is NoteOffEvent

kDataEvent 

is DataEvent

kPolyPressureEvent 

is PolyPressureEvent

kNoteExpressionValueEvent 

is NoteExpressionValueEvent

kNoteExpressionTextEvent 

is NoteExpressionTextEvent

kChordEvent 

is ChordEvent

kScaleEvent 

is ScaleEvent

kLegacyMIDICCOutEvent 

is LegacyMIDICCOutEvent

Member Data Documentation

◆ [union]

union { ... } Steinberg::Vst::Event

◆ busIndex

int32 Steinberg::Vst::Event::busIndex

event bus index

◆ chord

ChordEvent Steinberg::Vst::Event::chord

type == kChordEvent

◆ data

DataEvent Steinberg::Vst::Event::data

type == kDataEvent

◆ flags

uint16 Steinberg::Vst::Event::flags

combination of EventFlags

◆ midiCCOut

LegacyMIDICCOutEvent Steinberg::Vst::Event::midiCCOut

type == kLegacyMIDICCOutEvent

◆ noteExpressionText

NoteExpressionTextEvent Steinberg::Vst::Event::noteExpressionText

type == kNoteExpressionTextEvent

◆ noteExpressionValue

NoteExpressionValueEvent Steinberg::Vst::Event::noteExpressionValue

type == kNoteExpressionValueEvent

◆ noteOff

NoteOffEvent Steinberg::Vst::Event::noteOff

type == kNoteOffEvent

◆ noteOn

NoteOnEvent Steinberg::Vst::Event::noteOn

type == kNoteOnEvent

◆ polyPressure

PolyPressureEvent Steinberg::Vst::Event::polyPressure

type == kPolyPressureEvent

◆ ppqPosition

TQuarterNotes Steinberg::Vst::Event::ppqPosition

position in project

◆ sampleOffset

int32 Steinberg::Vst::Event::sampleOffset

sample frames related to the current block start sample position

◆ scale

ScaleEvent Steinberg::Vst::Event::scale

type == kScaleEvent

◆ type

uint16 Steinberg::Vst::Event::type

a value from EventTypes


The documentation for this struct was generated from the following file: