Deluge Firmware 1.3.0
Build date: 2025.08.10
Loading...
Searching...
No Matches
deluge::gui::ui::keyboard::ChordList Class Reference

A collection of chords. More...

#include <chords.h>

Collaboration diagram for deluge::gui::ui::keyboard::ChordList:

Public Member Functions

Voicing getChordVoicing (int8_t chordNo)
 Get a voicing for a chord with a given index. If the voicingOffset for that Chord is out of bounds, return the max or min voicing depending on the direction.
void adjustChordRowOffset (int8_t offset)
void adjustVoicingOffset (int8_t chordNo, int8_t offset)

Public Attributes

Chord chords [kUniqueChords]
int8_t voicingOffset [kUniqueChords] = {0}
uint8_t chordRowOffset = 0

Private Member Functions

int8_t validateChordNo (int8_t chordNo)

Detailed Description

A collection of chords.

Member Function Documentation

◆ getChordVoicing()

Voicing deluge::gui::ui::keyboard::ChordList::getChordVoicing ( int8_t chordNo)

Get a voicing for a chord with a given index. If the voicingOffset for that Chord is out of bounds, return the max or min voicing depending on the direction.

Parameters
chordNoThe index of the chord
Returns
The voicing

The documentation for this class was generated from the following files:
  • src/deluge/gui/ui/keyboard/chords.h
  • src/deluge/gui/ui/keyboard/chords.cpp