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

#include <ivstevents.h>

Public Attributes

int16 channel
 channel index in event bus
int16 pitch
 range [0, 127] = [C-2, G8] with A3=440Hz (12-TET: twelve-tone equal temperament)
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 (if not available then -1)

Detailed Description

Note-on event specific data. Used in Event (union)

Pitch uses the twelve-tone equal temperament tuning (12-TET).

Member Data Documentation

◆ channel

int16 Steinberg::Vst::NoteOnEvent::channel

channel index in event bus

◆ length

int32 Steinberg::Vst::NoteOnEvent::length

in sample frames (optional, Note Off has to follow in any case!)

◆ noteId

int32 Steinberg::Vst::NoteOnEvent::noteId

note identifier (if not available then -1)

◆ pitch

int16 Steinberg::Vst::NoteOnEvent::pitch

range [0, 127] = [C-2, G8] with A3=440Hz (12-TET: twelve-tone equal temperament)

◆ tuning

float Steinberg::Vst::NoteOnEvent::tuning

1.f = +1 cent, -1.f = -1 cent

◆ velocity

float Steinberg::Vst::NoteOnEvent::velocity

range [0.0, 1.0]


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