2015-07-25 14:16:07 -04:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Working With Encoders in Ardour
|
|
|
|
menu_title: Working With Encoders
|
|
|
|
---
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Encoders are showing up more frequently on controllers. However, they use
|
|
|
|
the same MIDI events as Continuous Controllers and they have no standard
|
2016-01-11 12:21:43 -05:00
|
|
|
way of sending that information as MIDI events. Ardour 4.2 has implemented
|
|
|
|
4 of the more common ways of sending encoder information.
|
2015-07-25 14:16:07 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Encoders that send the same continuous values as a pot would are not
|
2015-08-04 20:06:04 -04:00
|
|
|
discussed here as they are already supported by <code>ctl</code>.
|
2015-07-25 14:16:07 -04:00
|
|
|
</p>
|
|
|
|
<P>
|
|
|
|
Encoders as this page talks about them send direction and offset that the
|
|
|
|
DAW will add to or subtract from the current value.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
The 4 kinds of encoder supported are:
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2015-08-04 20:06:04 -04:00
|
|
|
enc-r: On the bcr/bcf2000 this is called "Relative Signed Bit". The most
|
2015-07-25 14:16:07 -04:00
|
|
|
significant bit sets positive and the lower 6 signifcant bits are the
|
|
|
|
offset.
|
|
|
|
</li>
|
|
|
|
<li>
|
2015-08-04 20:06:04 -04:00
|
|
|
enc-l: The bcr2000 calls this "Relative Signed Bit 2". The most
|
2015-07-25 14:16:07 -04:00
|
|
|
significant bit sets negative and the lower 6 signifcant bits are the
|
|
|
|
offset. If you are using one of these two and the values are right but
|
|
|
|
reversed, use the other. This one is the one the Mackie Control Protocol
|
|
|
|
uses.
|
|
|
|
</li>
|
|
|
|
<li>
|
2015-08-04 20:06:04 -04:00
|
|
|
enc-2: The bcr2000 calls this one "Relative 2s Complement". Positive
|
2015-07-25 14:16:07 -04:00
|
|
|
offsets are sent as normal from 1 to 64 and negative offsets are sent as
|
|
|
|
2s complement negative numbers.
|
|
|
|
</li>
|
|
|
|
<li>
|
2015-08-04 20:06:04 -04:00
|
|
|
enc-b: The bcr2000 calls this one "Relative Binary Offset". Positive
|
2015-07-25 14:16:07 -04:00
|
|
|
offsets are sent as offset plus 64 and negative offsets are sent as 64
|
|
|
|
minus offset.
|
|
|
|
</li>
|
2015-08-04 20:06:04 -04:00
|
|
|
</ul>
|
2015-07-25 14:16:07 -04:00
|
|
|
<p>
|
|
|
|
If the wrong one is chosen, either the positive or negative side will act
|
|
|
|
incorrectly. It is not really possible to auto detect which one the
|
|
|
|
controller is using. Trial and error is the only way if the specification
|
|
|
|
of the controller is not known.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Many controllers have more than one choice as well, check the manual for
|
|
|
|
the surface.
|
|
|
|
</p>
|