VST 3 Interfaces: NoteOnEvent Struct Reference
Author: Steinberg

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

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
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
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

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)

Empty

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