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

The result of scoring one candidate chord. More...

#include <src/dsp/chord_suggestion.h>

Collaboration diagram for zrythm::dsp::chords::ChordSuggestion:

Data Fields

ChordKey chord_key {}
CandidateType candidate_type = CandidateType::DiatonicTriad
float overall_score = 0.0f
float functional_score = 0.0f
float root_motion_score = 0.0f
float voice_leading_score = 0.0f
int scale_degree = -1
HarmonicFunction function = HarmonicFunction::Other
int rank = 0

Detailed Description

The result of scoring one candidate chord.

Definition at line 99 of file chord_suggestion.h.

Field Documentation

◆ candidate_type

CandidateType zrythm::dsp::chords::ChordSuggestion::candidate_type = CandidateType::DiatonicTriad

Definition at line 102 of file chord_suggestion.h.

◆ chord_key

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

Definition at line 101 of file chord_suggestion.h.

◆ function

HarmonicFunction zrythm::dsp::chords::ChordSuggestion::function = HarmonicFunction::Other

Definition at line 108 of file chord_suggestion.h.

◆ functional_score

float zrythm::dsp::chords::ChordSuggestion::functional_score = 0.0f

Definition at line 104 of file chord_suggestion.h.

◆ overall_score

float zrythm::dsp::chords::ChordSuggestion::overall_score = 0.0f

Definition at line 103 of file chord_suggestion.h.

◆ rank

int zrythm::dsp::chords::ChordSuggestion::rank = 0

Definition at line 109 of file chord_suggestion.h.

◆ root_motion_score

float zrythm::dsp::chords::ChordSuggestion::root_motion_score = 0.0f

Definition at line 105 of file chord_suggestion.h.

◆ scale_degree

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

Definition at line 107 of file chord_suggestion.h.

◆ voice_leading_score

float zrythm::dsp::chords::ChordSuggestion::voice_leading_score = 0.0f

Definition at line 106 of file chord_suggestion.h.


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