1.0.5 • Published 5 months ago

jazz-midi-vscode v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

jazz-midi-vscode

npm npm jsDelivr build Coverage Status

MIDI for VSCode

Enable MIDI in your VSCode extensions.

( see also: jazz-midi-electron ... )

npm.io

Install

npm install jazz-midi-vscode --save

Usage

( see the Demo Project above... )

Backend

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

<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() // ...
// 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 and jzz-input-kbd).

1.0.5

5 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago

0.1.2

1 year ago

0.0.3

1 year ago

0.1.1

1 year ago

0.0.2

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.0

1 year ago