1
0
Fork 0
mirror of https://github.com/noerw/node-midisrv synced 2025-03-12 16:01:07 +01:00
send MIDI over the network
Find a file
2018-03-11 19:40:11 +01:00
.gitignore add npm package.json 2015-12-01 11:34:49 +01:00
LICENSE Initial commit 2013-07-30 15:02:05 -07:00
mididump.js add mididump.js for midi debug stuff 2018-03-11 19:40:11 +01:00
midisrv.js v0.4.0 2016-06-06 19:33:31 +02:00
package.json add mididump.js for midi debug stuff 2018-03-11 19:40:11 +01:00
README.md update readme 2016-06-06 19:42:10 +02:00
yarn.lock upgrade deps, add yarn.lock 2017-08-15 23:06:57 +02:00

node-midisrv

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.

Installation

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.

Usage

  • display help:

    midisrv

  • 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>]