Skip to main content
Home
This release is 3 versions behind 8.2.1 — the latest version of @musodojo/enharmonic-note-selector. Jump to latest

Built and signed on GitHub Actions

A web component for selecting common spellings of enharmonic notes and dispatching an event with the selected note's name and integer.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (8.1.0)
interface EnharmonicNoteSelectedEventDetail

The detail object dispatched with the enharmonic-note-selected event.

Properties

The string name of the selected note (e.g., "C♯", "D♭").

The integer representation of the note's pitch (0-11), where C=0.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@musodojo/enharmonic-note-selector

Import symbol

import { type EnharmonicNoteSelectedEventDetail } from "@musodojo/enharmonic-note-selector";
or

Import directly with a jsr specifier

import { type EnharmonicNoteSelectedEventDetail } from "jsr:@musodojo/enharmonic-note-selector";

Add Package

pnpm i jsr:@musodojo/enharmonic-note-selector
or (using pnpm 10.8 or older)
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
or (using Yarn 4.8 or older)
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";