Function noteNumberToName
- noteNumberToName(note, options?): string | {
noteName: string;
octave: number;
} Parameters
note: any
options: {
asObject?: boolean;
octaveOffset?: number;
sharp?: boolean;
} = {}
Optional
asObject?: boolean
Optional
octaveOffset?: number
Optional
sharp?: boolean
Returns string | {
noteName: string;
octave: number;
}
Note number (0~127) to name + octave (like "C4")
Middle C is 60 = C4