#include <ivstevents.h>
Public Types | |
| kIsLive = 1 << 0 | |
| indicates that the event is played live (direct from keyboard) | |
| kNoteOnEvent = 0 | |
| Note On Event. | |
| kNoteOffEvent | |
| Note Off Event. | |
| kDataEvent | |
| Data Event. | |
| kMidiSysEx = 0 | |
| for MIDI system exclusif message | |
| enum | EventFlags { kIsLive = 1 << 0 } |
| enum | EventTypes { kNoteOnEvent = 0, kNoteOffEvent, kDataEvent } |
| enum | DataTypes { kMidiSysEx = 0 } |
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 |
| event Flags | |
| uint16 | type |
| union { | |
| struct { | |
| int16 channel | |
| channel index in event bus | |
| int16 pitch | |
| range [0, 127] = [C-2, G8] with A3=440Hz | |
| float tuning | |
| 1.f = +1 cent, -1.f = -1 cent | |
| float velocity | |
| range [0.0, 1.0] | |
| int32 length | |
| in sample frames (optional, Note Off has to follow in any case!) | |
| int32 noteId | |
| note identifier | |
| } noteOn | |
| struct { | |
| int16 channel | |
| channel index in event bus | |
| int16 pitch | |
| range [0, 127] = [C-2, G8] with A3=440Hz | |
| float velocity | |
| range [0.0, 1.0] | |
| int32 noteId | |
| note identifier | |
| } noteOff | |
| struct { | |
| uint32 size | |
| size of the bytes | |
| uint32 type | |
| type of this data block ( | |
| const uint8 * bytes | |
| pointer to the data block | |
| } data | |
| }; | |
| data Types for kDataEvent | |
Definition at line 52 of file ivstevents.h.
Definition at line 115 of file ivstevents.h.
Definition at line 61 of file ivstevents.h.
Definition at line 67 of file ivstevents.h.
| union { ... } |
data Types for kDataEvent
| struct { ... } Steinberg::Vst::Event::data |
type == kDataEvent
in sample frames (optional, Note Off has to follow in any case!)
Definition at line 86 of file ivstevents.h.
| struct { ... } Steinberg::Vst::Event::noteOff |
type == kNoteOffEvent
| struct { ... } Steinberg::Vst::Event::noteOn |
type == kNoteOnEvent
sample frames related to the current block start sample position
Definition at line 56 of file ivstevents.h.