Haven’t tried it myself, but might have a look at this Pure Data file from the old forum.
http://elektron-users.com/images/fbfiles/files/controlmonomachine.zip