VST 3 Interfaces  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
NoteOnEvent Struct Reference

Note-on event specific data. More...

#include <ivstevents.h>

Public Attributes

int16 channel
 channel index in event bus More...
 
int16 pitch
 range [0, 127] = [C-2, G8] with A3=440Hz (12-TET) More...
 
float tuning
 1.f = +1 cent, -1.f = -1 cent More...
 
float velocity
 range [0.0, 1.0] More...
 
int32 length
 in sample frames (optional, Note Off has to follow in any case!) More...
 
int32 noteId
 note identifier (if not available then -1) More...
 

Detailed Description

Note-on event specific data.

Used in Event (union) Pitch uses the twelve-tone equal temperament tuning (12-TET).

Member Data Documentation

int16 channel

channel index in event bus

int16 pitch

range [0, 127] = [C-2, G8] with A3=440Hz (12-TET)

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)

Empty

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