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

Public Member Functions

void apply_to (dsp::ChordDescriptor &d) const
bool operator== (const ChordPadState &other) const =default

Static Public Member Functions

static ChordPadState from_descriptor (const dsp::ChordDescriptor &d)

Data Fields

dsp::MusicalNote rootNote = dsp::MusicalNote::C
dsp::ChordType type = dsp::ChordType::None
dsp::ChordAccent accent = dsp::ChordAccent::None
int inversion = 0
std::optional< dsp::MusicalNote > bass = std::nullopt

Detailed Description

Definition at line 14 of file chord_pad_commands.h.

Member Function Documentation

◆ apply_to()

void zrythm::commands::ChordPadState::apply_to ( dsp::ChordDescriptor & d) const
inline

Definition at line 30 of file chord_pad_commands.h.

◆ from_descriptor()

ChordPadState zrythm::commands::ChordPadState::from_descriptor ( const dsp::ChordDescriptor & d)
inlinestatic

Definition at line 22 of file chord_pad_commands.h.

Field Documentation

◆ accent

dsp::ChordAccent zrythm::commands::ChordPadState::accent = dsp::ChordAccent::None

Definition at line 18 of file chord_pad_commands.h.

◆ bass

std::optional<dsp::MusicalNote> zrythm::commands::ChordPadState::bass = std::nullopt

Definition at line 20 of file chord_pad_commands.h.

◆ inversion

int zrythm::commands::ChordPadState::inversion = 0

Definition at line 19 of file chord_pad_commands.h.

◆ rootNote

dsp::MusicalNote zrythm::commands::ChordPadState::rootNote = dsp::MusicalNote::C

Definition at line 16 of file chord_pad_commands.h.

◆ type

dsp::ChordType zrythm::commands::ChordPadState::type = dsp::ChordType::None

Definition at line 17 of file chord_pad_commands.h.


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