KeyLearnKnob is a patch/clip that can be used to quickly map a key(s) to control your patch.


  • one click to learn a new key
  • button, toggle or  increment/decrement modes
  • output range 0-127 or 0.0-1.0
  • ramp output values over 0-1000ms
  • mute button to prevent unwanted output
  • automatically saves/loads key mappings when saved in a patch.

Basic usage:

  1. Drop “keyLearnKnobClip.maxpat” into your patch.
  2. Click “L” to learn a new key.
  3. Press any printable key.
  4. If you would like to use increment/decrement mode don’t let up the first key; Press another key and it will be mapped to decrement.
  5. Release the key(s) to finish learning.
  6. The left outlet sends the value of the knob (dial).



Put the files “learnKnob.js”, “keyLearnKnob.maxpat” and “keyLearnKnobClip.maxpat” in a folder max knows about.

December 7, 2011 | 2:35 pm

I dont see a link to the actual java script and patchers. Is there a link other than the graphical explanation I dont see?

the png provided is a great teaser.

December 9, 2011 | 11:13 am

That’s odd it seems to have disappeared. I just re-posted the files.

Viewing 2 posts - 1 through 2 (of 2 total)

Explore More