# @tonaljs/pitch

> Pitch in (western) music theory

Latest version **5.0.3** (published 2026-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tonaljs/pitch
pnpm add @tonaljs/pitch
yarn add @tonaljs/pitch
bun add @tonaljs/pitch
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2026-10-14 |
| First published | 2023-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | danigb@gmail.com |
| Maintainers | danigb |
| Keywords | pitch, music, theory |

## Links

- npm: https://www.npmjs.com/package/@tonaljs/pitch
- npm.io page: https://npm.io/package/@tonaljs/pitch

## Recent versions

- 5.0.3 (latest) — 2026-10-14
- 5.0.2 — 2024-02-03
- 5.0.1 — 2024-01-04
- 5.0.0 — 2023-11-29

## README

# @tonaljs/pitch ![tonal](https://img.shields.io/badge/@tonaljs-pitch-yellow.svg?style=flat-square) [![npm version](https://img.shields.io/npm/v/@tonaljs/pitch.svg?style=flat-square)](https://www.npmjs.com/package/@tonaljs/pitch)

> A notation agnostic representation of pitch

## Usage

You probably don't need this package: is only required if you're planning to add support for more pitch notations.

---
_Source: https://npm.io/package/@tonaljs/pitch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
