Device Details


Name | Version: Node-MIDI-Ports 1.0
Author: xanadu
Device Type: MIDI Effect
Description: Node MIDI Ports

As we all know, Ableton has its own ideas of handling MIDI signals. As a result we don’t get all messages and we only get one channel at a time. We can only get one MIDI controller for each track. We have no access to the MIDI system of Max itself.

For my current project a need full access to several MIDI controllers, together with a Stream-Deck device they form a meta controller.

I use this utility to capture all MIDI controllers that I need. I hereby share it with you.

It is a wrapper for the NPM library Midi for Node.JS. At the center of the device is a NodeForMax object with a script that acts as a wrapper for the NPM Midi library. The rest of the code is a demo to get you going. Its not a standalone thing, it is always a part of the project that uses it.

The central part is the node_midiports patcher. It spits out the short midievents, sysex messages and clock signals of MIDI devices. The last 2 outlets can be connected to umenus that will be filled with the MIDI in and out devices. Only MIDI devices that are disabled in both Ableton Live and MaxForLive will become active. For MIDI out the node_midiports patcher will accept a seuqnece of MIDI bytes preceded by the axact name of the MIDI device.

Before the first use you have to click the NPM button which will popup a window with three commands to install NPM and the Midi library. Whenever needed you click the ‘Init MidiPorts’ button.

I believe studying the patcher will show how it can be used in detail.


Live Version Used: 11.3.11
Max Version Used: 8.5.5
Date Added: Oct 08 2023 16:58:36
Date Last Updated: No Updates
Downloads: 164
License: None
Average Rating

Log in to rate this device



Device File:


hi,thanks for sharing this, very usefull ! Cheers

Login to comment on this device.

Browse the full library