question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publish MIDI.js as npm module

See original GitHub issue

Wouldn’t be nice to be able to do npm install midi-js?

I had a fork of the repo and I will do it myself as I will need it for a project of mine, I can send a pull request afterwards, unless the owners have a different idea about this.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:14
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
mscuthbertcommented, Jul 22, 2019

I have published as an npm module an ES6 modular version of the system as midicube: https://www.npmjs.com/package/midicube (as noted, midijs was already taken as a name, so took midicube as an homage to our great mudcube).

This is my first npm module, so happy to take comments/suggestions/improvements at https://github.com/mscuthbert/midicube

To run from that version directly in a script run:

npm install
npm run build

and then point your <script> tag to build/midicube.js. This will expose the global MIDI which is necessary to load soundfonts. If used within another script, be sure to monkeypatch window.MIDI in order to load soundfonts.

3reactions
amypellegrinicommented, Aug 2, 2019

My apologies! I assumed given the previous conversation that there was no intent to take any further action in this repository. Issue re-opened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

midi - npm
A node.js wrapper for the RtMidi C++ library that provides realtime MIDI I/O. RtMidi supports Linux (ALSA & Jack), Macintosh OS X (CoreMidi) ......
Read more >
jptv-midi-js - npm Package Health Analysis | Snyk
Learn more about jptv-midi-js: package health score, popularity, security, maintenance, ... Latest version published 5 years ago. License: MIT. NPM.
Read more >
midi-json-parser - NPM Package Overview - Socket - Socket.dev
This module is parsing midi files into a human-readable JSON object. Version: 8.1.15 was published by chrisguttandin. Start using Socket to analyze ...
Read more >
Use native node modules midi / easymidi with electron
that you can compare with your current version of Node.js. I solved that exactly same error with the use of electron-rebuild: npm install...
Read more >
Html-midi-player - npm.io
add the node_modules/html-midi-player/dist/midi-player.min.js bundle directly to your page, along with the dependencies ( node_modules/tone/build/Tone.js , ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found