VST 3 Interfaces VST 3.7
SDK for developing VST plug-in
|
Description of a chord. More...
#include <ivstprocesscontext.h>
Public Types | |
enum | Masks { kChordMask = 0x0FFF , kReservedMask = 0xF000 } |
Public Attributes | |
uint8 | keyNote |
key note in chord More... | |
uint8 | rootNote |
lowest note in chord More... | |
int16 | chordMask |
Bitmask of a chord. More... | |
Description of a chord.
A chord is described with a key note, a root note and the Bitmask of a chord.
1st bit set: minor second; 2nd bit set: major second, and so on.
There is no bit for the keynote (root of the chord) because it is inherently always present.
Examples:
enum Masks |
uint8 keyNote |
key note in chord
uint8 rootNote |
lowest note in chord
int16 chordMask |
Bitmask of a chord.
1st bit set: minor second; 2nd bit set: major second, and so on.
There is no bit for the keynote (root of the chord) because it is inherently always present.
Examples: