Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::chords::CandidateChord Struct Reference

A candidate chord with metadata about how it was generated. More...

#include <src/dsp/chord_suggestion.h>

Collaboration diagram for zrythm::dsp::chords::CandidateChord:

Data Fields

ChordKey chord_key {}
CandidateType type = CandidateType::DiatonicTriad
int scale_degree = -1
std::optional< int > secondary_dominant_target_degree {}

Detailed Description

A candidate chord with metadata about how it was generated.

Definition at line 97 of file chord_suggestion.h.

Field Documentation

◆ chord_key

ChordKey zrythm::dsp::chords::CandidateChord::chord_key {}

Definition at line 99 of file chord_suggestion.h.

◆ scale_degree

int zrythm::dsp::chords::CandidateChord::scale_degree = -1

Definition at line 101 of file chord_suggestion.h.

◆ secondary_dominant_target_degree

std::optional<int> zrythm::dsp::chords::CandidateChord::secondary_dominant_target_degree {}

Definition at line 102 of file chord_suggestion.h.

◆ type

CandidateType zrythm::dsp::chords::CandidateChord::type = CandidateType::DiatonicTriad

Definition at line 100 of file chord_suggestion.h.


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