Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Owner

DatanoiseTV commented Apr 23, 2015

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