send MIDI over the network
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
noerw a2d27260a9 add mididump.js for midi debug stuff il y a 1 an
.gitignore add npm package.json il y a 4 ans
LICENSE Initial commit il y a 6 ans update readme il y a 3 ans
mididump.js add mididump.js for midi debug stuff il y a 1 an
midisrv.js v0.4.0 il y a 3 ans
package.json add mididump.js for midi debug stuff il y a 1 an
yarn.lock upgrade deps, add yarn.lock il y a 2 ans


MIDI websocket client & server, running on node.js

Allows broadcasting of MIDI messages over the network/web.

May also function as a MIDI router on a single machine.


Requires node >=v0.12 and some additional tools for MIDI-IO:

On linux the packages alsa-base, libasound2-dev, build-essential, python are required. Windows and OSX need Python 2.7 & a C++ Compiler. For more information see here.

Once the dependencies are installed, run npm install midisrv -g. Now midisrv is in your path and callable anywhere in from the terminal.


  • display help:


  • list MIDI inputs/outputs. the index is then used for the -i and -o arguments

    midisrv -l

  • run the server, which then broadcasts MIDI messages from the selected MIDI input:

    midisrv -i <midiInputNumber> [-p <portNumber]

  • run the client, which connects to a server instance, and sends the recieved messages to the selected MIDI output:

    midisrv -o <midiOutputNumber> [-u <serverAddress> -p <portNumber>]

  • route messages on a single machine from one midi device to another:

    midisrv -i <midiInputNumber> -o <midiOutputNumber> [-p <portNumber>]