At first I downloaded the Launchpad programmers reference but found it too advanced for my initial purposes. This controller is able to send and receive MIDI data in order to light up the LEDs that are in the matrix. So my initial guess was to just use some sort of matrix interface in Max and map it to the MIDI notes that make them light up. The decimal equivalent for the Launchpad LEDs is this:
From the reference manual |
What this means is that if you send a MIDI note with note number 0 and a velocity number as indicated in the following table:
Also from the manual |
MIDI Note = column + 16*row
So that the LED corresponding to the sixth row and third column then is 2 + 16*5 = 82 (since the first row and column number is 0,0). For the velocity a simple selector between the values 12, 15, 62, 63 and 60 was mapped to the circular buttons on the right of the launchpad, so the color is selected only from those buttons.
The patch has a few bugs still, like you have to go into edit mode and manually select the Launchpad input and output ports. However, you can download it here. I will edit this post later to include some images and videos from the patch working, so that is not so abstract.
The patch has a few bugs still, like you have to go into edit mode and manually select the Launchpad input and output ports. However, you can download it here. I will edit this post later to include some images and videos from the patch working, so that is not so abstract.
No hay comentarios:
Publicar un comentario