Tutorial: Use a MIDI controller as a Mouse using Bome MIDI Translator Pro

Hi,

can you please send me the project file of the turorial, so I can adapt it for my needs?

In my solution, the mouse moves just in one direction, if I turn the midi controller to both sides... so your project looks like the better solution ;-)

thanks

klaus

Hi Klaus,

 

Check the attachments on the following posting:

 

https://www.bome.com/support/kb/mouse-movement-tutorial-now-available

 

Hi Steve,

one more question:
I want to program a midi controller (maybe MCU/BCF2000) to control a 6band EQ in MIO Console (Metric Halo).
This would require 16 knobs, 7 switches, 1 fader.
All are usually accessed bei pointing the mouse to one of them, press and hold left mousekey, and then moving the mouse up or right for increase, down or left to decrease.
Is this in theory possible with Midi translator? (Obviously it will not be possible to access more then one at the same time…)
Any tutorials around to get me started?

That would be awesome!

regards
Klaus

Hi Steve,

one more question:
I want to program a midi controller (maybe MCU/BCF2000) to control a 6band EQ in MIO Console (Metric Halo).
This would require 16 knobs, 7 switches, 1 fader.
All are usually accessed bei pointing the mouse to one of them, press and hold left mousekey, and then moving the mouse up or right for increase, down or left to decrease.
Is this in theory possible with Midi translator? (Obviously it will not be possible to access more then one at the same time…)
Any tutorials around to get me started?

That would be awesome!

regards
Klaus

Hi Klaus,

It would certainly be possible, however since mouse coordinates move around on a screen pretty often, it would be better if we found another way such as mapping to keystrokes since they are not as vulnerable to screen coordinates.

For instance if you can assign hotkeys to up and down movements of each knob then we could do that pretty easily.

So I usually set things in the following priorities

If application understands MIDI, use that.

If not check if there are keystrokes.

Finally mouse movements.

Also on Windows sometimes you can inject a keystroke or mouse event to a particular control on a screen but not applications allow that.

Within MT Pro you have to find the control name and capture that parameter at which point it will remember, however not all controls are “capturable”.

 

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

 

 

 

Looking at MIO Console, it may be better to directly control the hardware via MIDI than to try and manipulate your computer screen if the console implementation allows you to control EQ knobs via MIDI. Then with the connection the hardware has to the software, it would probably also update your computer screen.

Klaus,

I’ve attached an example of how this could happen with a relative encoder.

In this case I used an encoder that puts out 0x41 when turned 1 click right and 0x39 which turned one click left.

The action for the encoder includes 5 tanslators.

1 ) Move mouse to the knob center position (no click)

2) Click and hold mouse down after 20 ms

3) Start a timer to release the mouse after 1 second

4)Drag the mouse depending on which way you turned the knob

5) Timer to release the mouse after the timeout

Of course this requires the knob always be on the same position on the screen.

I use the variable ga to determine if we are in click down or click up state (some translators should only fire in one of the 2 states).

I use variable gb to determine the mouse movement amount (up or down).

Again it is not bulletproof so you have to sometimes move the knob slowly and never change the position of the knob on your screen. It would certainly be more reliable to have each knob with a hotkey (up) and hotkey (down) and have the encoder trigger one of those two actions.

 

 


Attachments:
1541467682280_Encoder-Mouse-Drag-Example-2018-11-05.bmtp

Hi Steve,

thanks, great! I modified your file and programmed it for a two channel EQ with gain/frequency/bandwith/onoff/eq-type. Works flawless with endless encoder/switch combination.

Next I would like to try the same with “fixed” encoders like a fader. I would need help to change the mouse movement programming from plus/minus a certain amount like in endless encoder, to plus/minus a certain value. Didnt find out howto do that…#My file is attached.

Thanks a lot

Klaus


Attachments:
1541516287572_2channel-EQ-control.bmtp

Hi Klaus,

You might want to check out the tutorial on how to map a fixed encoder to a relative encoder. It can be found at the link below:

https://www.youtube.com/edit?o=U&video_id=VCvxPZawJyE

If you want me to write your project for you, I’m available for a fee. Just drop me an email for an estimate. I assume your application could not handle this with either MIDI or keystroke shortcuts.

https://www.youtube.com/edit?o=U&video_id=VCvxPZawJyE

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

Yes, unfortunately the support for external controllers is the only weak point of the Metric Halo stuff, otherwise it would be great also for live mixing. There is no keystroke or Midi control for the fx section. But with MT Pro it´s a big jump forward. I try to find a solution by myself, and if I get lost, I´m glad to handle the project over to you.
Thanks for yout help so far! MT rocks.
Klaus

I have use your project file as reference and it work like charm! I’m just curious which part define the “ga” variation?

TIA!

Hi, @madsterfilm and welcome to the forum.

I’m not following your question. Could you post your complete question as well as the related project file in a new thread?

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Thank you for a quick reply. My issue is solve. I just overlook something but I understand it now.

Thanks again!