Doepfer R2M keyboard mapper
Allows ribbon controller to be used alongside keyboard
This patch was created to overcome the problem of having a visual note reference when using a ribbon controller. Usually you either have to work by ear or create your own custom stickers/ marking system.
This patch allows the controller to be placed above or below any keyboard (assuming there is space) and use the keyboard’s physical keys as a visual guide to which pitch is being touched on the ribbon controller.
This is trickier than it sounds. While the octave spacing on a keyboard is linear, the note spacing (physical space assigned to each note) is not and varies depending on where it is in the scale. So B, C, E and F have much more space assigned per note than G# for example. And of course different keyboards have different sized keys.
Though the R2M can be set to output note data, those notes are spread across the ribbon in a linear fashion so will not line up with any keyboard without this patch or similar processing.
This patch takes pitch bend data from the R2M and works out which pitch note to output, along with pitch bend relative to that particular note’s range. It applies different weightings customised to each note, which should ensure compatibility with most keyboards. It also provides visual feedback on which note is being output, along with how much relative pitch bend.
It was created to work with the v1 R2M and has not been tested with later versions or other ribbon controllers. However, it should work well with any ribbon controller which can be made to fire out pitch bend data across it’s full length in a linear fashion.