{"id":13768093,"url":"https://github.com/jazz-soft/JZZ-midi-Gear","last_synced_at":"2025-05-10T23:31:00.641Z","repository":{"id":44958518,"uuid":"58090813","full_name":"jazz-soft/JZZ-midi-Gear","owner":"jazz-soft","description":"Retrieve your MIDI device model and manufacturer","archived":false,"fork":false,"pushed_at":"2025-02-12T03:42:43.000Z","size":130,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T15:30:23.190Z","etag":null,"topics":["midi","web-midi","web-midi-api","webmidi","webmidiapi"],"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,"zenodo":null},"funding":{"github":"jazz-soft","custom":"https://paypal.me/jazzsoft"}},"created_at":"2016-05-04T23:42:49.000Z","updated_at":"2025-02-12T03:42:47.000Z","dependencies_parsed_at":"2024-09-10T02:58:20.266Z","dependency_job_id":"19878ea1-0a6b-4335-9a17-fb59d56ece52","html_url":"https://github.com/jazz-soft/JZZ-midi-Gear","commit_stats":{"total_commits":76,"total_committers":7,"mean_commits":"10.857142857142858","dds":0.4605263157894737,"last_synced_commit":"3dee453b0ae8932197eae6750b6a542f6f2eb992"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2FJZZ-midi-Gear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2FJZZ-midi-Gear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2FJZZ-midi-Gear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazz-soft%2FJZZ-midi-Gear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jazz-soft","download_url":"https://codeload.github.com/jazz-soft/JZZ-midi-Gear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253497296,"owners_count":21917683,"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","web-midi","web-midi-api","webmidi","webmidiapi"],"created_at":"2024-08-03T16:01:16.453Z","updated_at":"2025-05-10T23:31:00.582Z","avatar_url":"https://github.com/jazz-soft.png","language":"JavaScript","funding_links":["https://github.com/sponsors/jazz-soft","https://paypal.me/jazzsoft"],"categories":["Libraries: Web MIDI API","Packages"],"sub_categories":["Web MIDI API","MIDI"],"readme":"# JZZ-midi-Gear\n\n[![npm](https://img.shields.io/npm/v/jzz-midi-gear.svg)](https://www.npmjs.com/package/jzz-midi-gear)\n[![npm](https://img.shields.io/npm/dt/jzz-midi-gear.svg)](https://www.npmjs.com/package/jzz-midi-gear)\n[![build](https://github.com/jazz-soft/JZZ-midi-Gear/actions/workflows/build.yml/badge.svg)](https://github.com/jazz-soft/JZZ-midi-Gear/actions)\n[![Coverage](https://coveralls.io/repos/github/jazz-soft/JZZ-midi-Gear/badge.svg?branch=master)](https://coveralls.io/github/jazz-soft/JZZ-midi-Gear?branch=master)\n\n## Retrieve your MIDI device model and manufacturer\n\nSee the [**online demo**](https://jazz-soft.github.io/modules/gear/index.html)\n(requires a MIDI insrument connected to your computer).\n\n## Install\n\n`npm install jzz-midi-gear`  \nor `yarn add jzz-midi-gear`  \nor get the full development version and minified scripts from [**GitHub**](https://github.com/jazz-soft/JZZ-midi-Gear)\n\n## Usage\n\n##### Plain HTML\n\n```html\n\u003cscript src=\"JZZ.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"JZZ.midi.Gear.js\"\u003e\u003c/script\u003e\n//...\n```\n\n##### CDN (jsdelivr)\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/jzz\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/jzz-midi-gear\"\u003e\u003c/script\u003e\n//...\n```\n\n##### CDN (unpkg)\n\n```html\n\u003cscript src=\"https://unpkg.com/jzz\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/jzz-midi-gear\"\u003e\u003c/script\u003e\n//...\n```\n\n##### CommonJS\n\n```js\nvar JZZ = require('jzz');\nrequire('jzz-midi-gear')(JZZ);\n//...\n```\n\n##### TypeScript / ES6\n\n```ts\nimport { JZZ } from 'jzz';\nimport { Gear } from 'jzz-midi-gear';\nGear(JZZ);\n//...\n```\n\n##### AMD\n\n```js\nrequire(['JZZ', 'JZZ.midi.Gear'], function(JZZ, gear) {\n  // ...\n});\n```\n\n##### //...\n\n```js\n// start the MIDI engine:\nJZZ({sysex:true}).and(function() {\n  var inputs = this.info().inputs;\n  var outputs = this.info().outputs;\n  // enable message handlers on all MIDI-In ports:\n  for (var i in inputs) this.openMidiIn(i).connect(function(msg) {\n    if (msg.isIdResponse()) {\n      var gear = msg.gearInfo();\n      console.log('ID Response SysEx received:');\n      console.log('   port:    ' + this.name());\n      console.log('   message: ' + msg);\n      console.log('   brand:   ' + gear.brand);\n      console.log('   model:   ' + gear.model);\n      console.log('   device:  ' + gear.descr);\n    }\n  });\n  // send the ID Request SysEx to all MIDI-Out ports:\n  for (var i in outputs) this.openMidiOut(i).sxIdRequest();\n});\n// ...\n// in Node.js - don't forget to stop the engine when done:\nJZZ().wait(500).close();\n```\n\n##### The expected output will look similar to the following:\n\n```\nID Response SysEx received:\n   port:    Roland RD\n   message: f0 7e 10 06 02 41 2b 02 00 00 00 01 00 00 f7\n   brand:   Roland\n   model:   RD-700GX\n   device:  Digital Stage Piano\n```\n\n## Updates\n\nIf **JZZ.midi.Gear** cannot correctly identify your device, please help us fix the script:\n\n### - tell us!\n* Please post your device **model name**, **brief description**, **manufacturer**, and **ID Response SysEx message**\nat the [**GitHub issues page**](https://github.com/jazz-soft/JZZ-midi-Gear/issues)\n\nor,\n\n### - do it yourself!\n* Clone the project repository from [`https://github.com/jazz-soft/JZZ-midi-Gear.git`](https://github.com/jazz-soft/JZZ-midi-Gear)\n* In the project root directory run `npm install`\n* Update the `data/models.txt` and/or `data/vendors.txt`\n* In the project root directory run `grunt`\n* Commit to your branch\n* Create a pull request\n\n## Thanks for your support!\n[![Stargazers for @jazz-soft/JZZ-midi-Gear](https://reporoster.com/stars/jazz-soft/JZZ-midi-Gear)](https://github.com/jazz-soft/JZZ-midi-Gear/stargazers)  \n[![Forkers for @jazz-soft/JZZ-midi-Gear](https://reporoster.com/forks/jazz-soft/JZZ-midi-Gear)](https://github.com/jazz-soft/JZZ-midi-Gear/network/members)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazz-soft%2FJZZ-midi-Gear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjazz-soft%2FJZZ-midi-Gear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazz-soft%2FJZZ-midi-Gear/lists"}