UNPKG

@typedin/music-utilities

Version:

A set of resources and modules I use to develop music applications.

10 lines (9 loc) 406 B
import type { Note } from "../types/index.js"; export type IntervalTable = { type: "unison" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "octave"; quality: "diminished" | "minor" | "major" | "augmented" | "perfect"; halfsteps: number; callback: (note: Note, direction?: "up" | "down") => Note; }; declare const intervalTable: IntervalTable[]; export { intervalTable };