Godtone (talk | contribs)
Godtone (talk | contribs)
Novation Launchpad Pro MK3 isomorphic keyboard code: added missing note about firmware and programmer mode being required for the code to work
Line 1,129: Line 1,129:
ALSO: I am unsure if/concerned that pressing the pressure-sensitive pads hard can cause wear; it's hard not to when you treat the pads and the buttons the same to get a bigger isomorphic keyboard grid.
ALSO: I am unsure if/concerned that pressing the pressure-sensitive pads hard can cause wear; it's hard not to when you treat the pads and the buttons the same to get a bigger isomorphic keyboard grid.


IMPORTANT: for the Python 3 code to work, it requires the launchpad to be plugged in with updated firmware and be in programmer mode!
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
# this code is licensed under the AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
# this code is licensed under the AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
import mido # pip install python-rtmidi && pip install mido
import mido # pip install mido
# IMPORTANT: requires the launchpad to be plugged in with updated firmware and be in programmer mode!
def basic_iso(vel=100): # y=10, x=1
def basic_iso(vel=100): # y=10, x=1
midi_inputs = mido.get_output_names()
midi_inputs = mido.get_output_names()