JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
Steinberg::Vst::Chord Struct Reference

Description of a chord. More...

#include "ivstprocesscontext.h"

Public Types

enum  Masks { kChordMask , kReservedMask }
 

Public Attributes

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

Detailed Description

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:

Definition at line 64 of file ivstprocesscontext.h.

Member Enumeration Documentation

◆ Masks

Enumerator
kChordMask 

mask for chordMask

kReservedMask 

reserved for future use

Definition at line 79 of file ivstprocesscontext.h.

Member Data Documentation

◆ chordMask

int16 Steinberg::Vst::Chord::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:

  • 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.

◆ keyNote

uint8 Steinberg::Vst::Chord::keyNote

key note in chord

Definition at line 67 of file ivstprocesscontext.h.

◆ rootNote

uint8 Steinberg::Vst::Chord::rootNote

lowest note in chord

Definition at line 68 of file ivstprocesscontext.h.


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