Skip to content

Instantly share code, notes, and snippets.

@DatanoiseTV
Created December 29, 2014 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DatanoiseTV/6a59fc66517fbd923ed9 to your computer and use it in GitHub Desktop.
Save DatanoiseTV/6a59fc66517fbd923ed9 to your computer and use it in GitHub Desktop.
rtpmidi = require('rtpmidi'),
session = rtpmidi.manager.createSession({ localName: 'Axoloti', bonjourName: 'Axoloti RTP-MIDI Bridge (syso)', port: 5006 });
sp = require("serialport");
s = new sp.SerialPort("/dev/tty.usbmodem261", { baudrate: 115200 });
b = new Buffer(7);
session.on('message', function(deltaTime, message) {
new Buffer("AxoM").copy(b); new Buffer(message).copy(b,4); s.write(b);
});
session.connect({ address: '127.0.0.1', port: 5004 });
@DatanoiseTV
Copy link
Author

Axoloti RTP-MIDI Bridge

This little node.js application allows you to use RTP-MIDI compliant Software
to control your Axoloti.

Prerequisites

  • nodejs
  • npm package manager

Installation

  • npm install serialport rtpmidi
  • clone this git repository to some working directory
  • Adjust /dev/tty.usbmodem261 in daemon.js to match your Axoloti's Serial Port Name (you can find it out using the Axoloti Editor)
  • run it: node daemon.js
  • connect to it using your favorite RTP-MIDI compatible software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment