Skip to content

thetarpit/14b-mod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

14b-mod

norns mod for mapping 14-bit midi to params

usage: takes up to 14 bits of midi (2 channels) and maps them to general and script specific parameters

setup:

in script

change function/table generating MSB - LSB list to match your midi device currently hardcoded from bleached alternate firmware, hosted at https://github.com/Thomasbru/bleached table is generated in code as

local midi_channels = {
	{102, 103},
	{104, 105},
	{106, 107},
	{108, 109},
	{110, 111},
	{112, 113},
	{114, 115}
}

bit reduction can also be changed, to reflect the true resolution from device, not upscaled one this is done in

local BIT_RESOLUTION = 12 -- 7 to 14 should be valid.

(Teensy LC can for instance only poll 12 bit values from encoder)

Script expects midi messages being sent in the order of MSB, then LSB

control:

from mod menu,
E3 changes parameter
E2 changes midi input
currently all addresses are mapped from same device

K2 exits mod menu
K3 makes parameter mappable (*)
	midi input maps parameter,
	K2 deletes map
	K3 exits
K1 + K3 saves mappings
K1 + K2 loads mappings

midi device is saved on exit mod menu, mappings are saved on a per script basis in the folder /data/14b-mod/

About

norns mod for mapping 14b midi to params

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%