Launchpad translator: Difference between revisions

From Helpful
Jump to navigation Jump to search
mNo edit summary
Tag: New redirect
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
#redirect [[DIY_MIDI_controllers#Launchpad_translator]]
[[File:padcode.jpg|thumb|550px|right|]]
As a product, this pad {{comment|(Launchpad Mini mk2 - you now probably want at least the mk3)}} is aimed at triggering samples in a DAW.
 
 
It speaks MIDI, but the note layout is not musical at all.
If you want to use it for that {{comment|(note: no velocity; you may want a Pro or X for that - but by then, also compare to things like Push)}}, you want a different layout.
 
 
As it speaks MIDI, I've previously abused it in other ways, such as triggering a slew of keyboard combos via [https://midikey2key.de/ MidiKey2Key].
 
 
But you can go further than that.
 
Pictured is an Arduino with a {{search|USB 2.0 Host shield}}.
 
Acting as a translator (USB-midi to the pad, and as of this writing serial MIDI on the other end) lets us create a isometric keyboard layout, and add features we can think of, such as a step sequencer. And control the LEDs.
 
And because USB-MIDI is defined in USB itself, the USB code is not particularly scary.
 
 
The code is duct tape between:
* Arduino MIDI library [http://playground.arduino.cc/Main/MIDILibrary]so that it can easily put out serial MIDI (on 5-pin DIN)
 
* [https://github.com/felis/USB_Host_Shield_2.0 USB Host Shield 2.0 library]
 
* my code also uses the [https://github.com/YuuichiAkagawa/USBH_MIDI USB MIDI library] though this seems to have been merged into the host shield code in current versions.
 
 
 
See also:
* {{search|launchpad-programmers-reference.pdf}} (note there are differend pdfs for different revisions)
 
 
[[Category:Audio]] [[Category:Hardware]] [[Category:DIY projects]]

Latest revision as of 18:44, 22 April 2024