VST 3 Interfaces VST 3.7 SDK for developing VST plug-in

Public Attributes | List of all members
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: twelve-tone equal temperament) 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

## ◆ channel

int16 channel

channel index in event bus

## ◆ pitch

int16 pitch

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

## ◆ tuning

float tuning

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

## ◆ velocity

float velocity

range [0.0, 1.0]

## ◆ length

int32 length

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

## ◆ noteId

int32 noteId

note identifier (if not available then -1)

Empty

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