scripts / norns

_16n

norns lib for integration w/ 16n

undisclosed Imported automatically; the author has not disclosed AI use yet

install

In maiden's REPL (the >> prompt at the bottom of the editor), run:

;install https://github.com/p3r7/_16n

Or add the splines catalog to maiden and install it from the project manager. Restart norns if the script ships a new engine.

readme from p3r7/_16n

_16n

norns lib for easy integration w/ 16n.

automatically retrieves a plugged 16n configuration at init (via sysex) and bind a callback to slider changes.

example usage

_16n = include("lib/_16n")

function init()
  _16n.init(_16n_slider_callback)
end

function _16n_slider_callback(midi_msg)
  local slider_id = _16n.cc_2_slider_id(midi_msg.cc)
  local v = midi_msg.val

  print("slider #"..slider_id.." just got its value changed to "..v)
end

discussion