Midi output from singular knob to full mouse wheel control

the realist

2020-05-05 16:29:50

Hello, I have seen the video tutorial on YT and would like to replicate it in a project. However, my implementation is crude at best as my knobs on my Akai midimix can only display midi values from 127 and has a locked rotation. My question is it possible to create a translator that can detect when the knob is scrolling up, the mouse wheel scrolls up and vice versa for the downwards movement?

 


Attachments:

midi translator.png

Steve-Bome Forum Moderator

2020-05-05 18:04:31

Hi,

I'm not sure which YouTube tutorial you watched, however with your question, I suggest you look at the below tutorial.  It shows how to convert absolute incoming value to a relative value. In itself, it does not move the mouse but the calculations are there to show you how to tell when a knob is moving up or down. The difference would be in the outgoing action. Instead of a CC with relative value, it instead should be the value you want the mouse to move.

https://www.youtube.com/watch?v=VCvxPZawJyE

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

the realist

2020-05-05 22:36:45

comment

Hello Steve, I've followed the tutorial and tried to modify the solution to better fit my use case, but the scrolling is completely random and the calibrator doesn't work. Attached is the project file, it would much appreciated if you could take a look and potentially point out some faults. https://we.tl/t-tsO9RuZGTK

Steve-Bome Forum Moderator

2020-05-06 01:21:12

Hi Try this.

There were quite a few calculation errors which threw things off and no bound checking.

I changed the value of the incoming CC for the knob and different note number for centering based on the controller I have.

I also assigned a generic name "My Controller" as an alias to whatever controller you are using.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz


Attachments:

Midi knob to mouse wheel-sjc.bmtp