User Library

Rotary Encoder

  • Posted by: High Mountain
  • Version: 1
  • Upload Date: 2 January 2012
  • Downloads: 725

This knob uses a small script to send encoder-style CC messages (+1/-1). All of the configuration options have been turned into variables so that you do not even need to look at the script to configure it, though the script is very simple.

The primary options are _CC, _CHANNEL, and _TARGET which should be set to whatever you would normally choose in the MIDI Mapping tab. Additionally, _UP and _DOWN determine which values are sent to mean +1 and -1 respectively. It uses 127 and 0 right now, which I believe works in most cases, but if you need something different you can change it there.

The knob uses the grid options in the object Behavior tab to limit the number of clicks per revolution to 32. If you want less, you can put a smaller number here. It does not go much higher, however.

Finally, there is a bug in the current version of Lemur for iPad: endless knobs always reset to 0 when you touch them. This would make the knob send spurious CC messages, so there is a workaround, which is that values of 0 are ignored. As a result, the knob will not send anything when it is pointing straight down. Once the Lemur bug is fixed, this workaround can be removed from the script (and I will try to remember to update this template).

Subscribe

Stay informed about the latest news at Liine, including product news, tips and tricks, artist stories, events and more.