Skip to content

Instantly share code, notes, and snippets.

@andr-ew
Created September 21, 2021 19:24
Show Gist options
  • Save andr-ew/f0e08144695ce05dc16f566920aa266e to your computer and use it in GitHub Desktop.
Save andr-ew/f0e08144695ce05dc16f566920aa266e to your computer and use it in GitHub Desktop.
nest_ fingers demo
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