Steinberg::Vst::Chord Struct Reference

#include <ivstprocesscontext.h>

List of all members.

Public Types

 kChordMask = 0x0FFF
 mask for chordMask
 kReservedMask = 0xF000
 reserved for future used
enum  Mask { kChordMask = 0x0FFF, kReservedMask = 0xF000 }

Public Attributes

uint8 keyNote
 key note in chord
uint8 rootNote
 lowest note in chord
int16 chordMask
 bitmask of a chord


Detailed Description

Musical info Notes on chordMask:
1st bit set: minor second; 2nd bit set: major second, and so on. There is *no* bit set for the keynote ("bit 0").
Examples:
XXXX 0000 0100 1000 (= 0x0048) -> major chord
XXXX 0000 0100 0100 (= 0x0044) -> minor chord
XXXX 0010 0100 0100 (= 0x0244) -> minor chord with minor seventh

Definition at line 77 of file ivstprocesscontext.h.


Member Enumeration Documentation

enum Steinberg::Vst::Chord::Mask

Enumerator:
kChordMask  mask for chordMask
kReservedMask  reserved for future used

Definition at line 84 of file ivstprocesscontext.h.


Member Data Documentation

int16 Steinberg::Vst::Chord::chordMask

bitmask of a chord

Definition at line 82 of file ivstprocesscontext.h.

uint8 Steinberg::Vst::Chord::keyNote

key note in chord

Definition at line 80 of file ivstprocesscontext.h.

uint8 Steinberg::Vst::Chord::rootNote

lowest note in chord

Definition at line 81 of file ivstprocesscontext.h.


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

Copyright ©2008 Steinberg Media Technologies. All Rights Reserved.