# jazz-midi-vscode

> MIDI for VSCode

Latest version **1.0.7** (published 2025-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install jazz-midi-vscode
pnpm add jazz-midi-vscode
yarn add jazz-midi-vscode
bun add jazz-midi-vscode
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2025-03-28 |
| First published | 2022-12-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | jazz-soft |
| Maintainers | jazz-soft |
| Keywords | midi, midi2, web-midi, vscode |

## Links

- npm: https://www.npmjs.com/package/jazz-midi-vscode
- Repository: https://github.com/jazz-soft/jazz-midi-vscode
- Homepage: https://github.com/jazz-soft/jazz-midi-vscode#readme
- Issues: https://github.com/jazz-soft/jazz-midi-vscode/issues
- npm.io page: https://npm.io/package/jazz-midi-vscode

## Dependencies (1)

- [jzz](https://npm.io/package/jzz.md) ^1.9.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2025-03-28
- 1.0.6 — 2024-05-28
- 1.0.5 — 2023-11-25
- 1.0.4 — 2023-03-16
- 1.0.3 — 2023-03-04
- 1.0.2 — 2023-03-04
- 1.0.1 — 2023-02-23
- 1.0.0 — 2023-02-05
- 0.1.2 — 2023-01-31
- 0.1.1 — 2023-01-30
- 0.1.0 — 2023-01-29
- 0.0.9 — 2023-01-28
- 0.0.8 — 2023-01-27
- 0.0.7 — 2023-01-25
- 0.0.6 — 2023-01-24
- … 6 more at https://npm.io/package/jazz-midi-vscode/versions

## README

# jazz-midi-vscode

[![npm](https://img.shields.io/npm/v/jazz-midi-vscode.svg)](https://www.npmjs.com/package/jazz-midi-vscode)
[![npm](https://img.shields.io/npm/dt/jazz-midi-vscode.svg)](https://www.npmjs.com/package/jazz-midi-vscode)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/jzz-synth-osc/badge)](https://www.jsdelivr.com/package/npm/jazz-midi-vscode)
[![build](https://github.com/jazz-soft/jazz-midi-vscode/actions/workflows/build.yml/badge.svg)](https://github.com/jazz-soft/jazz-midi-vscode/actions)
[![Coverage Status](https://coveralls.io/repos/github/jazz-soft/jazz-midi-vscode/badge.svg?branch=main)](https://coveralls.io/github/jazz-soft/jazz-midi-vscode?branch=main)

## MIDI for VSCode

Enable MIDI in your [VSCode](https://code.visualstudio.com) extensions.

( see also: [jazz-midi-electron](https://github.com/jazz-soft/jazz-midi-electron) ... )

[![](https://raw.githubusercontent.com/jazz-soft/jazz-midi-vscode/main/demo/demo.png)](https://github.com/jazz-soft/jazz-midi-vscode/tree/main/demo)

## Install
`npm install jazz-midi-vscode --save`

## Usage
( see the [Demo Project](https://github.com/jazz-soft/jazz-midi-vscode/tree/main/demo) above... )

### Backend

```js
const JZZ = require('jzz');
// jazz-midi-vscode is not required for the Backend
// ...
JZZ().openMidiOut() // ...
```
Backend sees all MIDI ports that would be available in normal node application.  
It can also create virtual MIDI ports.

### WebView

```html
<script src="path/to/node_modules/jazz-midi-vscode/main.js"></script>
<script src="path/to/node_modules/jzz/javascript/JZZ.js"></script>
// ...
JZZ().openMidiOut() // ...
```
```js
// when creating the WebView:
const JMVSC = require('jazz-midi-vscode');
// ...
panel = vscode.window.createWebviewPanel( ..., { enableScripts: true });
JMVSC.init(panel);
panel.webview.html = `...`;
// ...
```
WebView will see all MIDI ports (including virtual) available to the backend.  
It can create additional Web Audio and HTML-based MIDI ports
(see [jzz-synth-tiny](https://github.com/jazz-soft/JZZ-synth-Tiny) and [jzz-input-kbd](https://github.com/jazz-soft/JZZ-input-Kbd)).

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