Max/MSP patch for use with Novation Launchpad controller

 

I've put together a Max 5 patcher for using the new Novation Launchpad controller. Basically, it just needs MIDI in & out ports setting and then uses Max messages for communication to/from your app. No need to look up the MIDI details in the Novation Launchpad Programmers Reference.

 

Image of Launchpad patcher

 

No instructions beyond this page, no guarantees…

The main patcher is launchpad.maxpat, other patchers being used to give the necessary square & round button functionality.

 

Messages understood by the patcher are:

 

config auto on : Switch color automatically when button pressed

config auto off : Don't switch color automatically when button pressed

config on j k : Set on color for automatic changes

config off j k : Set off color for automatic changes

 

rhs r color j k : Set right-hand button in row r to color j k

live c color j k : Set live button c (top row) to color j k

grid r c color j k : Set grid button r c to color j k (rows 1-8, col's 1-8)

 

Color values j k are given as a red green pair each with value 0-3

 

hold : defer updates until next update message (update hidden buffer)

update : display deferred updates (switch buffers)

immediate : set update buffer to display buffer (messages are acted on immediately)

reset : reset the Launchpad - all buttons off in both buffers and set to immediate display mode

 

Messages output from the patcher are:

live c on : live button c pressed (top row)

live c off : live button c released

rhs r on : right-hand button in row r pressed

rhs c off : right-hand button in row r released

grid r c on : grid button in row r, column c pressed

grid r c off : grid button in row r, column c released

 

Download (version 0.3)

Updates:

0.3 : 16/11/2009 : Corrections to initialization

0.2 : Tweaked graphics

0.1 : Initial Version

 

To Do:

Speed up buffered updates for display grid (NB: only on screen, no problem w. Launchpad)

 

Contact: mailto:steve@corybantic.co.uk