sydlawrence / node-midi-launchpad

A simple node module for the Novation Launchpad
MIT License
54 stars 16 forks source link

Update MIDI messages for new Launchpad #4

Open tjhorner opened 8 years ago

tjhorner commented 8 years ago

Now, I have no idea how it sends RGB. Nor do I have a new Launchpad. I just want to keep this open until it's added.

I will probably get a new one soon so I'll fork this and add it when I figure it out.

chuckfletcherIV commented 8 years ago

http://global.novationmusic.com/sites/default/files/novation/downloads/10529/launchpad-mk2-programmers-reference-guide_0.pdf has the new byte stucture for the RGB Launchpad.

RGB Mode The brightness of the individual red, green and blue elements of the LED can be controlled to create any colour. Each element has a brightness value from 00h – 3Fh (0 – 63), where 0 is off and 3Fh is full brightness. ! Light LED using SysEx (RGB mode) Host >> Launchpad MK2: F0h 00h 20h 29h 02h 18h 0Bh , F7h (240, 0, 32, 41, 2, 24, 10, , 247)

chuckfletcherIV commented 8 years ago

I have the new one and an eager to take advantage of RGB too.

tjhorner commented 8 years ago

Launchpad MK2 has a colour palette of 128 colours shown in figure 2. Colour 0 turns the LED off.

Interesting. I'll see if I can implement some of this when I get home.

tjhorner commented 8 years ago

Update: Just bought a Launchpad Pro, should come tomorrow (hooray, Sunday delivery!). I'll see what I can do and send a PR once I get it working.

EDIT: God damn it, Novation's website is completely down.

EDIT 2: Okay, I got the Launchpad Pro. It won't turn on.

EDIT 3: Okay, this is turning into twitter or something, but I ordered my new Launchpad Pro. Again.

Apparently, Novation/Focusrite released a version of the firmware for the Pro: https://github.com/dvhdr/launchpad-pro

tjhorner commented 8 years ago

Alright, I created my own module here since it was easier to rewrite it then to extend this module. Maybe merge these two later? https://www.npmjs.com/package/launchpad-mk2