Deluge Firmware 1.3.0
Build date: 2026.11.28
Loading...
Searching...
No Matches
deluge::accidentals::NoteDestination Struct Reference

Where a scale change puts a note. More...

#include <accidentals.h>

Collaboration diagram for deluge::accidentals::NoteDestination:

Public Member Functions

AnchorMarker markerUnder (const SpelledKey &finalKey, int32_t pendingTranspose=0) const

Public Attributes

int32_t pitch
int32_t anchor
 The note's lineage anchor after the change.
AnchorMarker forcedMarker = AnchorMarker::derived()

Detailed Description

Where a scale change puts a note.

Member Function Documentation

◆ markerUnder()

AnchorMarker deluge::accidentals::NoteDestination::markerUnder ( const SpelledKey & finalKey,
int32_t pendingTranspose = 0 ) const
inlinenodiscard

The marker to store on the note. pendingTranspose is a uniform shift in semitones which the caller is still to apply to every note and to the key's root after the change (in-key transposition does this), and finalKey the key as it will be once that is done.

Member Data Documentation

◆ forcedMarker

AnchorMarker deluge::accidentals::NoteDestination::forcedMarker = AnchorMarker::derived()

If not derived, the note must be given this marker (a tagged one, which markerFor() can't work out as it doesn't know the letter) instead of markerFor()'s


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