{"id":20796401,"url":"https://github.com/jazz-soft/jazz-midi-vscode","last_synced_at":"2025-05-06T07:47:58.858Z","repository":{"id":65128427,"uuid":"581941306","full_name":"jazz-soft/jazz-midi-vscode","owner":"jazz-soft","description":"MIDI for VSCode","archived":false,"fork":false,"pushed_at":"2025-03-29T16:44:14.000Z","size":133,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T10:53:04.530Z","etag":null,"topics":["midi","midi2","vscode","web-midi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jazz-soft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jazz-soft","custom":"https://paypal.me/jazzsoft"}},"created_at":"2022-12-25T00:48:10.000Z","updated_at":"2025-03-29T16:44:17.000Z","dependencies_parsed_at":"2024-05-28T05:42:17.946Z","dependency_job_id":null,"html_url":"https://github.com/jazz-soft/jazz-midi-vscode","commit_stats":{"total_commits":65,"total_committers":1,"mean_commits":65.0,"dds":0.0,"last_synced_commit":"0be0a2e544a8b02c39daf06ee5adf8905e646296"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2Fjazz-midi-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2Fjazz-midi-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2Fjazz-midi-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2Fjazz-midi-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jazz-soft","download_url":"https://codeload.github.com/jazz-soft/jazz-midi-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252642338,"owners_count":21781302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["midi","midi2","vscode","web-midi"],"created_at":"2024-11-17T16:27:05.301Z","updated_at":"2025-05-06T07:47:58.805Z","avatar_url":"https://github.com/jazz-soft.png","language":"JavaScript","funding_links":["https://github.com/sponsors/jazz-soft","https://paypal.me/jazzsoft"],"categories":[],"sub_categories":[],"readme":"# jazz-midi-vscode\n\n[![npm](https://img.shields.io/npm/v/jazz-midi-vscode.svg)](https://www.npmjs.com/package/jazz-midi-vscode)\n[![npm](https://img.shields.io/npm/dt/jazz-midi-vscode.svg)](https://www.npmjs.com/package/jazz-midi-vscode)\n[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/jzz-synth-osc/badge)](https://www.jsdelivr.com/package/npm/jazz-midi-vscode)\n[![build](https://github.com/jazz-soft/jazz-midi-vscode/actions/workflows/build.yml/badge.svg)](https://github.com/jazz-soft/jazz-midi-vscode/actions)\n[![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)\n\n## MIDI for VSCode\n\nEnable MIDI in your [VSCode](https://code.visualstudio.com) extensions.\n\n( see also: [jazz-midi-electron](https://github.com/jazz-soft/jazz-midi-electron) ... )\n\n[![](https://raw.githubusercontent.com/jazz-soft/jazz-midi-vscode/main/demo/demo.png)](https://github.com/jazz-soft/jazz-midi-vscode/tree/main/demo)\n\n## Install\n`npm install jazz-midi-vscode --save`\n\n## Usage\n( see the [Demo Project](https://github.com/jazz-soft/jazz-midi-vscode/tree/main/demo) above... )\n\n### Backend\n\n```js\nconst JZZ = require('jzz');\n// jazz-midi-vscode is not required for the Backend\n// ...\nJZZ().openMidiOut() // ...\n```\nBackend sees all MIDI ports that would be available in normal node application.  \nIt can also create virtual MIDI ports.\n\n### WebView\n\n```html\n\u003cscript src=\"path/to/node_modules/jazz-midi-vscode/main.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/node_modules/jzz/javascript/JZZ.js\"\u003e\u003c/script\u003e\n// ...\nJZZ().openMidiOut() // ...\n```\n```js\n// when creating the WebView:\nconst JMVSC = require('jazz-midi-vscode');\n// ...\npanel = vscode.window.createWebviewPanel( ..., { enableScripts: true });\nJMVSC.init(panel);\npanel.webview.html = `...`;\n// ...\n```\nWebView will see all MIDI ports (including virtual) available to the backend.  \nIt can create additional Web Audio and HTML-based MIDI ports\n(see [jzz-synth-tiny](https://github.com/jazz-soft/JZZ-synth-Tiny) and [jzz-input-kbd](https://github.com/jazz-soft/JZZ-input-Kbd)).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazz-soft%2Fjazz-midi-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjazz-soft%2Fjazz-midi-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazz-soft%2Fjazz-midi-vscode/lists"}