optimize chords

This commit is contained in:
2026-03-10 00:23:04 +01:00
parent 7170e4a08e
commit 2ac1156e20
5 changed files with 514 additions and 66 deletions

View File

@@ -1,7 +1,18 @@
export interface ChordAddDescriptor {
raw: string;
quality: 'major' | 'minor' | 'diminished' | 'augmented' | null;
extensions: string[];
additions: string[];
suspensions: string[];
alterations: string[];
modifiers: string[];
}
export interface Chord {
chord: string;
length: number;
position: number;
slashChord: string | null;
add: string | null;
addDescriptor?: ChordAddDescriptor | null;
}