@ozarkoc/chordpro-parser
Version:
A browser-friendly bundled version of chordproject-parser
30 lines (29 loc) • 864 B
TypeScript
import { Chord, Key, ChordDiagram } from ".";
import { IClonable } from "./IClonable";
import { Section } from "./sections";
import { TimeSignature } from "./TimeSignature";
export declare class Song implements IClonable<Song> {
title: string | null;
subtitle: string | null;
albums: string[];
artists: string[];
composers: string[];
arrangers: string[];
lyricists: string[];
year: number | null;
copyright: string | null;
key: Key | null;
capo: number;
duration: number | null;
time: TimeSignature | null;
tempo: number | null;
customMetadatas: [string, string | null][];
userDiagrams: ChordDiagram[];
rawContent: string;
sections: Section[];
getLyrics(): string[];
getAllChords(): Chord[];
getUniqueChords(): Chord[];
getPossibleKey(): Key | undefined;
clone(): Song;
}