We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 272bf8e + 72ca22b commit f5528a9Copy full SHA for f5528a9
Macropad_Ableton/code.py
@@ -2,6 +2,7 @@
2
# SPDX-License-Identifier: MIT
3
# Ableton Live Macropad Launcher
4
# In Ableton, choose "Launchpad Mini Mk3" as controller with MacroPad 2040 as in and out
5
+# Use empty fifth scene to allow "unlaunching" of tracks with encoder modifier
6
import board
7
from digitalio import DigitalInOut, Pull
8
import keypad
@@ -156,7 +157,7 @@
156
157
"\n"
158
)
159
# send neopixel lightup code to key, text to display
- if msg_in.note < 84 and msg_in.note > 50:
160
+ if msg_in.note in LP_PADS:
161
pixels[LP_PADS[msg_in.note]] = LP_COLORS[msg_in.velocity]
162
pixels.show()
163
if msg_in.velocity == 21: # active pad is indicated by Live as vel 21
0 commit comments