I’m thrilled to announce that a couple of us from the Novation engineering team are coming to Music Hackday Barcelona at Sónar+D! We’re bringing along some Launchpad S hardware to hack, and we’ll be on hand to help get the most out of the hardware and software, as well as participating in the event ourselves.
This post will serve as a place for us to share some of the content that we’ll bring on the day, but of course it’s not just for Music Hackday participants.
Two Ways to Play
The Launchpad Programmers Reference documents the MIDI messages you can send to the Launchpad to set the LEDs, and the messages that Launchpad will send you. This allows you to do almost anything with a Launchpad, given source-level access to the software you want to control (or if you’re willing to write an intermediate translation service app). But sometimes, you might want something a little more immediate!
To do that, what you really need to to is get inside the Launchpad…
Yes, that’s right – you can now modify the firmware of your Launchpad S! To do so, you will need several things:
- Raisonance Ride7 development environment and RKit-ARM (Windows only)
- The source code (we’ve exposed the fun parts so you can get straight to the action)
- The libraries (some bits of Launchpad S are not that interesting, so we’ve packaged them up)
- A MIDI sysex uploader (try MIDI-OX on Windows or Sysex Librarian on OS X)
- Some guts! The bootloader is protected so you’d have to try really really hard to brick one, but I’m sure it’s possible.
- Optional – an RLink hardware debugger. We’ll have a couple on hand at Music Hackday Barcelona, they can be really helpful if you’ve got nothing else to help you debug!
We’ve put the firmware on GitHub so you can make use of it. We decided to release it under the 3-clause BSD license, which is very permissive – mainly because the code is not useful for anything other than a Launchpad S!
Those of you around on the day will be able to ask us questions, but until then we’ll try to document at least partly – we expect the documentation to improve based on your feedback. It can’t get any worse, as at the moment, this is it:
Ummmm…. this page. Yup, that’s it. We’ll be adding documentation to the source code as it matures, so expect to find some useful comments and example code, particularly in sonar.c where we’ll include commented code for some of the key features.
Building the Firmware
Double clicking on build.bat in the root of the project should spit out a .syx file that you can upload to your Launchpad S. The process is as follows:
- Disconnect the Launchpad S
- Hold down the “session”, “user 1”, “user 2” and “mixer” buttons
- Connect the hardware while holding them down – the device should enter the bootloader screen
- Send your .syx file to the device using a MIDI sysex utlilty (the device will scroll “Updating …” across the LEDs)
- When the pads return to the bootloader screen, press the bottom right green pad to exit to the main firmware
Note that if you modify the .rprj file, you must ensure you leave the “Standard Configuration” selected, as otherwise your build won’t work without the RLink debugger connected.
- Ride7 tools – there’s a helpful thirty day evaluation period, after which you can upgrade to a software-only solution for 79€
- GitHub firmware repo
- Launchpad Programmers Reference