Created
September 21, 2021 19:24
-
-
Save andr-ew/f0e08144695ce05dc16f566920aa266e to your computer and use it in GitHub Desktop.
nest_ fingers demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include 'nest_/lib/nest/core' | |
include 'nest_/lib/nest/norns' | |
include 'nest_/lib/nest/grid' | |
n = nest_ { | |
range = _grid.range { | |
x = { 1, 16 }, | |
z = -1, --range shows up below tog | |
lvl = 4 | |
}, | |
tog = _grid.toggle { | |
x = { 1, 16 }, | |
fingers = 1, --pressing two keys at once will have to affect, and input will be passed to range | |
edge = 'falling', --note that edge must be set to falling for fingers to work (AKA, action on key release) | |
} | |
} :connect { g = grid.connect() } | |
n:init() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment