@typedin/music-utilities
Version:
A set of resources and modules I use to develop music applications.
12 lines (11 loc) • 361 B
TypeScript
import type { IReference, Note } from "../types/index.js";
type interval = {
direction: string;
name: string;
};
export declare function frequencyRatio(frequency: any, interval: interval, temperament: any): number;
export declare function frequencyAsPercentage(reference: IReference, { from, to }: {
from: Note;
to: Note;
}): number;
export {};