@ioris/core
Version:
This package provides the core functionality for the [@ioris](https://www.npmjs.com/search?q=%40ioris) ecosystem for managing music lyrics with time synchronization.
19 lines (18 loc) • 501 B
TypeScript
export declare const CHAR_TYPES: {
readonly WHITESPACE: "whitespace";
readonly ALPHABET: "alphabet";
readonly NUMBER: "number";
readonly KANJI: "kanji";
readonly HIRAGANA: "hiragana";
readonly KATAKANA: "katakana";
readonly OTHER: "other";
};
export type CharType = (typeof CHAR_TYPES)[keyof typeof CHAR_TYPES];
export type WordTimeline = {
wordID: string;
text: string;
begin: number;
end: number;
hasWhitespace?: boolean;
hasNewLine?: boolean;
};