|
VST 3 Interfaces
VST 3.6.6
SDK for developing VST Plug-in
|
#include <ivstevents.h>
Public Types | |
| enum | EventFlags { kIsLive = 1 << 0, kUserReserved1 = 1 << 14, kUserReserved2 = 1 << 15 } |
| Event Flags - used for Event::flags. More... | |
| enum | EventTypes { kNoteOnEvent = 0, kNoteOffEvent, kDataEvent, kPolyPressureEvent, kNoteExpressionValueEvent, kNoteExpressionTextEvent, kChordEvent, kScaleEvent } |
| Event Types - used for Event::type. More... | |
Data Fields | |
| int32 | busIndex |
| event bus index More... | |
| int32 | sampleOffset |
| sample frames related to the current block start sample position More... | |
| TQuarterNotes | ppqPosition |
| position in project More... | |
| uint16 | flags |
| combination of EventFlags More... | |
| uint16 | type |
| a value from EventTypes More... | |
| 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... | |
| }; | |
| enum 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) |
| enum EventTypes |
Event Types - used for Event::type.
| Enumerator | |
|---|---|
| kNoteOnEvent |
is NoteOnEvent |
| kNoteOffEvent |
is NoteOffEvent |
| kDataEvent |
is DataEvent |
| kPolyPressureEvent | |
| kNoteExpressionValueEvent | |
| kNoteExpressionTextEvent | |
| kChordEvent |
is ChordEvent |
| kScaleEvent |
is ScaleEvent |
| 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
| NoteOnEvent noteOn |
type == kNoteOnEvent
| NoteOffEvent noteOff |
type == kNoteOffEvent
| DataEvent data |
type == kDataEvent
| PolyPressureEvent polyPressure |
type == kPolyPressureEvent
| NoteExpressionValueEvent noteExpressionValue |
type == kNoteExpressionValueEvent
| NoteExpressionTextEvent noteExpressionText |
type == kNoteExpressionTextEvent
| ChordEvent chord |
type == kChordEvent
| ScaleEvent scale |
type == kScaleEvent
| union { ... } |