The detail object dispatched with the enharmonic-note-selected event.
The integer representation of the note's pitch (0-11), where C=0.
A web component for selecting common spellings of enharmonic notes and dispatching an event with the selected note's name and integer.
The detail object dispatched with the enharmonic-note-selected event.
The integer representation of the note's pitch (0-11), where C=0.
Add Package
deno add jsr:@musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
Import directly with a jsr specifier
import { type EnharmonicNoteSelectedEventDetail } from "jsr:@musodojo/enharmonic-note-selector";
Add Package
pnpm i jsr:@musodojo/enharmonic-note-selector
pnpm dlx jsr add @musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
Add Package
yarn add jsr:@musodojo/enharmonic-note-selector
yarn dlx jsr add @musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
Add Package
vlt install jsr:@musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
Add Package
npx jsr add @musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
Add Package
bunx jsr add @musodojo/enharmonic-note-selector
Import symbol
import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";