NoteOnEvent Struct Reference

Note-on event specific data. More...

#include <ivstevents.h>

Data Fields

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 (if not available then -1)

Detailed Description

Note-on event specific data.

Used in Event (union)


Field Documentation

channel index in event bus

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]

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

note identifier (if not available then -1)

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.